Summary: | dev-lang/rust-1.65.0 fails to build: undefined reference to sk_num | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zamir <Zamir.Akiev> |
Component: | Current packages | Assignee: | Georgy Yakovlev <gyakovlev> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | kuenstler, rust |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build log |
Description
Zamir
2022-12-28 07:48:32 UTC
Created attachment 845301 [details]
build log
bugzilla rejected uncompressed log, so I compressed it
+1 from me Trying to create a docker container from gentoo/portage:latest and gentoo/stage3:latest. Failure: * Error messages for package dev-lang/rust-1.65.0: * ERROR: dev-lang/rust-1.65.0::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3855: Called die * The specific snippet of code: * RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) || die * Large chunks of OP's system are out of date, including old glibc + binutils + gcc. OP, please update your system overall, but also, which version of dev-libs/openssl do you have? (In reply to Peer from comment #2) > +1 from me > > Trying to create a docker container from gentoo/portage:latest and > gentoo/stage3:latest. > > Failure: > > * Error messages for package dev-lang/rust-1.65.0: > * ERROR: dev-lang/rust-1.65.0::gentoo failed (compile phase): > * (no error message) > * > * Call stack: > * ebuild.sh, line 136: Called src_compile > * environment, line 3855: Called die > * The specific snippet of code: > * RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -vv > --config="${S}"/config.toml -j$(makeopts_jobs) || die > * Please include emerge --info and the full build.log. I can't reproduce on fresh stage3. as for OP's system state... please update your gentoo and depclean too. try something drastic like this: emerge -uDN @world --with-bdeps=y --changed-deps=y --dynamic-deps=y --complete-graph --keep-going --newrepo --ignore-default-opts -v1 if you still can reproduce after that - reopen the bug. (In reply to Peer from comment #2) > +1 from me > > Trying to create a docker container from gentoo/portage:latest and > gentoo/stage3:latest. > as sam mentioned above - need log or at least some info on how you are triggering the build failure. Oops, I had hand-installed openssl headers. I removed the headers from /usr/include/openssl, upgraded glibc to 2.36-r5, upgraded openssl to 1.1.1s. This solved the problem -- rust compiled ok. Looks like it was my fault. I suggest that the bug is closed. Thanks. Please be careful when installing anything manually in future. It's better to use ebuilds for everything (even your own), or if you must, use /usr/local, but that will still interfere with system builds. |