homebrew-core icon indicating copy to clipboard operation
homebrew-core copied to clipboard

deno 2.3.6

Open BrewTestBot opened this issue 8 months ago • 7 comments

Created by brew bump


Created with brew bump-formula-pr.

BrewTestBot avatar Jun 12 '25 16:06 BrewTestBot

   = note: some arguments are omitted. use `--verbose` to show all linker arguments
   = note: /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: in function `tokio::runtime::task::raw::poll':
           /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h81860390ff81c083E+0x438): undefined reference to `ring::pbkdf2::PBKDF2_HMAC_SHA1'
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN4ring6pbkdf216PBKDF2_HMAC_SHA117h381feb7335845f20E' which may bind externally can not be used when making a shared object; recompile with -fPIC
           /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h81860390ff81c083E+0x438): dangerous relocation: unsupported relocation
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h81860390ff81c083E+0x43c): undefined reference to `ring::pbkdf2::PBKDF2_HMAC_SHA1'
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h81860390ff81c083E+0x448): undefined reference to `ring::pbkdf2::PBKDF2_HMAC_SHA1'
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN4ring6pbkdf216PBKDF2_HMAC_SHA117h381feb7335845f20E' which may bind externally can not be used when making a shared object; recompile with -fPIC
           /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h81860390ff81c083E+0x448): dangerous relocation: unsupported relocation
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h81860390ff81c083E+0x44c): undefined reference to `ring::pbkdf2::PBKDF2_HMAC_SHA1'
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: in function `tokio::runtime::task::raw::poll':
           /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17hf9bd8f6f8897a328E+0x430): undefined reference to `ring::pbkdf2::PBKDF2_HMAC_SHA1'
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN4ring6pbkdf216PBKDF2_HMAC_SHA117h381feb7335845f20E' which may bind externally can not be used when making a shared object; recompile with -fPIC
           /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17hf9bd8f6f8897a328E+0x430): dangerous relocation: unsupported relocation
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o:/var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17hf9bd8f6f8897a328E+0x434): more undefined references to `ring::pbkdf2::PBKDF2_HMAC_SHA1' follow
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZN4ring6pbkdf216PBKDF2_HMAC_SHA117h381feb7335845f20E' which may bind externally can not be used when making a shared object; recompile with -fPIC
           /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: in function `tokio::runtime::task::raw::poll':
           /var/tmp/rust-20250515-6214-n87pll/rustc-1.87.0-src/library/core/src/option.rs:(.text._ZN5tokio7runtime4task3raw4poll17h8a8541c1f1c1a85cE+0x4dc): dangerous relocation: unsupported relocation
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: /var/tmp/deno-20250612-6822-52pf21/deno/target/release/deps/deno-cdffd16a80f73982.zip-49343233dee5b2e2.zip.77d66e514300a054-cgu.0.rcgu.o.rcgu.o: unrecognized relocation type 0x13b in section `.rodata..Lswitch.table._ZN5tokio7runtime4task3raw4poll17h88bf12bbeb9b133bE.rel'
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: is this version of the linker - (GNU Binutils) 2.44 - out of date ?
           /home/linuxbrew/.linuxbrew/opt/binutils/bin/ld: final link failed: bad value
           collect2: error: ld returned 1 exit status
           
   = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified
   = note: use the `-l` flag to specify native libraries to link
   = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib)
 
 warning: `deno` (bin "deno") generated 37 warnings
 error: could not compile `deno` (bin "deno") due to 1 previous error; 37 warnings emitted

chenrui333 avatar Jun 13 '25 01:06 chenrui333

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

github-actions[bot] avatar Jun 15 '25 21:06 github-actions[bot]

Which version of Rust is this bump using?

bartlomieju avatar Jun 16 '25 13:06 bartlomieju

The latest version in Homebrew

SMillerDev avatar Jun 16 '25 13:06 SMillerDev

Is it possible to build with Rust 1.86 and clang < 20? Currently Deno has trouble building on latest Rust with clang 20 (https://github.com/denoland/deno/issues/29448).

bartlomieju avatar Jun 16 '25 13:06 bartlomieju

No, we do not ship any older Rust versions

SMillerDev avatar Jun 16 '25 14:06 SMillerDev

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

github-actions[bot] avatar Jun 19 '25 00:06 github-actions[bot]

FYI this appears to be a Rust compiler bug: https://github.com/rust-lang/rust/issues/142752 we are looking into potential solutions here.

bartlomieju avatar Jun 20 '25 09:06 bartlomieju

No, we do not ship any older Rust versions

I'm curious the technical reason it can't use an older Rust build? Ideally these builds would be happening with the exact same versions of build tools that Deno uses otherwise there may be homebrew specific bugs or these build errors that cause the version to lag behind as in this case. It seems that shipping a custom tap for Deno would be more reliable for users and use less collective time?

dsherret avatar Jun 20 '25 17:06 dsherret

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. To keep this pull request open, add a help wanted or in progress label.

github-actions[bot] avatar Jun 22 '25 17:06 github-actions[bot]