Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core-server-kit] net-libs/deno doesn't emerge #157

Open
geaaru opened this issue Oct 10, 2024 · 2 comments
Open

[core-server-kit] net-libs/deno doesn't emerge #157

geaaru opened this issue Oct 10, 2024 · 2 comments
Labels
bug Something isn't working core-server-kit emerge failure Package does not emerge properly help wanted Extra attention is needed MARK Mark Automated Repositories Kit Stack mark-testing Issue for MARK Testing release

Comments

@geaaru
Copy link
Contributor

geaaru commented Oct 10, 2024

  --- stderr
  ninja: error: '../../../../../../../../../../usr/lib/llvm/16/lib/clang/20/lib/x86_64-unknown-linux-gnu/libclang_rt.builtins.a', needed by 'obj/v8/libv8_libbase.a', missing and no known rule to make it
  thread 'main' panicked at /var/tmp/portage/net-libs/deno-1.46.3/work/cargo_home/gentoo/v8-0.105.0/build.rs:974:3:
  assertion failed: ninja(&gn_out_dir, maybe_env).arg(target).status().unwrap().success()
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
 * ERROR: net-libs/deno-1.46.3::core-server-kit failed (compile phase):
 *   cargo build failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 1337:  Called cargo_src_compile
 *   environment, line  480:  Called die
 * The specific snippet of code:
 *       "${@}" || die "cargo build failed"
 * 
 * If you need support, post the output of `emerge --info '=net-libs/deno-1.46.3::core-server-kit'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/deno-1.46.3::core-server-kit'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/deno-1.46.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/deno-1.46.3/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/deno-1.46.3/work/deno-1.46.3'
 * S: '/var/tmp/portage/net-libs/deno-1.46.3/work/deno-1.46.3'

could be related to this:

 * Loading /var/tmp/portage/net-libs/deno-1.46.3/work/funtoo-crates-bundle-deno/zstd-sys-2.0.10+zstd.1.5.6.crate into Cargo registry ...                                                  [ ok ]
tar: /var/tmp/portage/net-libs/deno-1.46.3/work/funtoo-crates-bundle-deno/*.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
/var/tmp/portage/net-libs/deno-1.46.3/temp/environment: line 527: pushd: *: No such file or directory
cat: funtoo_config.toml: No such file or directory
/var/tmp/portage/net-libs/deno-1.46.3/temp/environment: line 531: popd: directory stack empty
>>> Source unpacked in /var/tmp/portage/net-libs/deno-1.46.3/work
>>> Preparing source in /var/tmp/portage/net-libs/deno-1.46.3/work/deno-1.46.3 ...

The crate bundles are not setup correctly.

@geaaru geaaru added bug Something isn't working help wanted Extra attention is needed emerge failure Package does not emerge properly MARK Mark Automated Repositories Kit Stack mark-testing Issue for MARK Testing release core-server-kit labels Oct 10, 2024
@geaaru geaaru changed the title [core-server-kit] net-libs/deno doesnt' emerge [core-server-kit] net-libs/deno doesn't emerge Oct 10, 2024
@org-tekeli-borisp
Copy link

org-tekeli-borisp commented Dec 3, 2024

@geaaru The problem here is likely related to RAM. I have tried compiling net-libs/deno multiple times on a machine with 64 cores, but each attempt fails at different points with exit code 134. I attempted to use memsaver, but it was not successful. Perhaps I didn't configure it correctly. However, when I reduce the number of parallel jobs, for example by setting MAKE_OPTS="-j4", the compilation is going without these errors. Can't say if it will finish successfully at the moment as it takes very long time now and it still compiling
still-compiling.txt

@org-tekeli-borisp
Copy link

org-tekeli-borisp commented Dec 4, 2024

Strange. Today I canceled the job.

254 |       if STORED_FUNCTION.is_none() {
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
    |
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives

warning: creating a shared reference to mutable static is discouraged
   --> tests/ffi/src/lib.rs:268:10
    |
268 |       if STORED_FUNCTION_2.is_none() {
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
    |
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives

warning: `test_ffi` (lib) generated 5 warnings
   Compiling deno_doc v0.161.1
     Running `rustc --crate-name deno_doc --edition=2021 /run/portage/net-libs/deno-2.1.2/work/cargo_home/gentoo/deno_doc-0.161.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type cdylib --crate-type rlib --emit=dep-info,link -C opt-level=z -C codegen-units=1 --cfg 'feature="comrak"' --cfg 'feature="default"' --cfg 'feature="rust"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("comrak", "default", "rust"))' -C metadata=ce1146baf7060809 -C extra-filename=-ce1146baf7060809 --out-dir /run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps -C strip=debuginfo -L dependency=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps --extern anyhow=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libanyhow-41ea370dce3acbaf.rlib --extern cfg_if=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libcfg_if-352a0801a55e47cb.rlib --extern comrak=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libcomrak-5c5f5debc960d58e.rlib --extern deno_ast=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libdeno_ast-71ddf6080a8781ff.rlib --extern deno_graph=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libdeno_graph-996ed1e0004f2d15.rlib --extern deno_path_util=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libdeno_path_util-d158c2abde38fe38.rlib --extern handlebars=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libhandlebars-6a26d3105dcd0c2c.rlib --extern html_escape=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libhtml_escape-0e34e3ba662fe0e7.rlib --extern import_map=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libimport_map-c4fd548ecf95f81e.rlib --extern indexmap=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libindexmap-e469834d3fa566d6.rlib --extern itoa=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libitoa-884462333aebf281.rlib --extern lazy_static=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/liblazy_static-574484f81c4280bd.rlib --extern regex=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libregex-39a83031577a1668.rlib --extern serde=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libserde-a91ccf8d57bec015.rlib --extern serde_json=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libserde_json-1231df28b0aa4a0f.rlib --extern termcolor=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libtermcolor-9d0f4569b638b7c2.rlib --cap-lints allow -D 'clippy::all' -D 'clippy::await_holding_refcell_ref' -D 'clippy::missing_safety_doc' -D 'clippy::undocumented_unsafe_blocks' --cfg tokio_unstable -L native=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/build/psm-b0585839ff15d36a/out`
warning: `test_server` (lib) generated 1 warning (run `cargo fix --lib -p test_server` to apply 1 suggestion)
     Running `rustc --crate-name test_server --edition=2021 tests/util/server/src/test_server.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=z -C lto -C codegen-units=1 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=dee33e46e1b83c8b -C extra-filename=-dee33e46e1b83c8b --out-dir /run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps -C incremental=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/incremental -C strip=debuginfo -L dependency=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps --extern anyhow=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libanyhow-41ea370dce3acbaf.rlib --extern async_stream=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libasync_stream-92d15edc0b21ffb0.rlib --extern base64=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libbase64-9a633750b6453806.rlib --extern bytes=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libbytes-f8e9fd5f688f45e5.rlib --extern console_static_text=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libconsole_static_text-74685e5fcdb302d0.rlib --extern deno_unsync=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libdeno_unsync-93d160171b806dad.rlib --extern denokv_proto=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libdenokv_proto-37fbb9d3bc6debb3.rlib --extern faster_hex=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libfaster_hex-1c494653579edf60.rlib --extern fastwebsockets=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libfastwebsockets-4932f128f5397681.rlib --extern flate2=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libflate2-3c3993e7c51f60f3.rlib --extern futures=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libfutures-c539a8eb15ea2c50.rlib --extern glob=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libglob-2fdd1e69cb67e93c.rlib --extern h2=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libh2-460914973dd0a2d3.rlib --extern http=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libhttp-9bc4db1bb7f45524.rlib --extern http_body_util=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libhttp_body_util-803f4a2c4db72404.rlib --extern hyper=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libhyper-295a3a5ba55a6f90.rlib --extern hyper_util=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libhyper_util-e38d741a308efe52.rlib --extern jsonc_parser=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libjsonc_parser-5393924c1d25821f.rlib --extern lazy_regex=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/liblazy_regex-7bfbe245e0ef3178.rlib --extern libc=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/liblibc-607c3731b2f93cef.rlib --extern lsp_types=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/liblsp_types-953fbd431018cfa9.rlib --extern monch=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libmonch-a8f8876ce95a3f43.rlib --extern nix=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libnix-af5ced724570a6f0.rlib --extern once_cell=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libonce_cell-ae5f5b81e93afd58.rlib --extern os_pipe=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libos_pipe-fb01fdec1bf202b8.rlib --extern parking_lot=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libparking_lot-dc8ced869a339027.rlib --extern pretty_assertions=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libpretty_assertions-18c363879e2697ba.rlib --extern prost=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libprost-7f710277e74e9f24.rlib --extern regex=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libregex-39a83031577a1668.rlib --extern reqwest=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libreqwest-fdc797df4bcfa52c.rlib --extern rustls_pemfile=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/librustls_pemfile-21cea448686865bb.rlib --extern rustls_tokio_stream=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/librustls_tokio_stream-502093fb3c11797c.rlib --extern semver=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libsemver-933f1ec29101848e.rlib --extern serde=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libserde-a91ccf8d57bec015.rlib --extern serde_json=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libserde_json-1231df28b0aa4a0f.rlib --extern sha2=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libsha2-ead886dd0a57b42c.rlib --extern tar=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libtar-2f9fa34e43ea7db8.rlib --extern tempfile=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libtempfile-23dd986c0b4a0dc4.rlib --extern termcolor=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libtermcolor-9d0f4569b638b7c2.rlib --extern test_server=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libtest_server-3621b48ee7a9ffc2.rlib --extern tokio=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libtokio-f65210546bdce3bf.rlib --extern url=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/liburl-cf203807ecaa7010.rlib --extern win32job=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/deps/libwin32job-acf51c38348a1a6c.rlib -D 'clippy::all' -D 'clippy::await_holding_refcell_ref' -D 'clippy::missing_safety_doc' -D 'clippy::undocumented_unsafe_blocks' --cfg tokio_unstable -L native=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/build/libz-sys-25e262b103f529f8/out/lib -L native=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/build/libz-sys-25e262b103f529f8/out/lib64 -L native=/run/portage/net-libs/deno-2.1.2/work/denoland-deno-2039abe/target/release/build/ring-11b9010cec2f3ad1/out`
^Csandbox:stop  caught signal 2 in pid 64098

real	474m15,576s
user	0m30,978s
sys	0m37,525s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core-server-kit emerge failure Package does not emerge properly help wanted Extra attention is needed MARK Mark Automated Repositories Kit Stack mark-testing Issue for MARK Testing release
Projects
None yet
Development

No branches or pull requests

2 participants