View previous topic :: View next topic |
Author |
Message |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1455 Location: Tri-Cities, WA USA
|
Posted: Thu Jun 05, 2025 2:08 pm Post subject: rust failure [slvd] |
|
|
rust fail for me with a world update
I listed the last 500 lines of the build log
and the complete build.log
Code: |
error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
--> /var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/vendor/regex-syntax-0.8.5/src/utf8.rs:418:13
|
418 | Some(Utf8Range::new(start, end))
| ^^^^ not found in this scope
Some errors have detailed explanations: E0223, E0405, E0408, E0412, E0416, E0425, E0464, E0531.
warning: `regex-syntax` (lib) generated 1 warning
error: could not compile `regex-syntax` (lib) due to 1272 previous errors; 1 warning emitted
Caused by:
process didn't exit successfully: `CARGO=/usr/lib/rust/1.85.1/bin/cargo CARGO_CRATE_NAME=regex_syntax CARGO_MANIFEST_DIR=/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/vendor/regex-syntax-0.8.5 CARGO_MANIFEST_PATH=/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/vendor/regex-syntax-0.8.5/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers:Andrew Gallant <[email protected]>' CARGO_PKG_DESCRIPTION='A regular expression parser.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=regex-syntax CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/regex/tree/master/regex-syntax' CARGO_PKG_RUST_VERSION=1.65 CARGO_PKG_VERSION=0.8.5 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 CARGO_PKG_VERSION_PATCH=5 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH='/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/build/bootstrap/debug/deps:' /usr/lib/rust/1.85.1/bin/rustc --crate-name regex_syntax --edition=2021 /var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/vendor/regex-syntax-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=d3020d989786234a -C extra-filename=-d8482de9d16196e7 --out-dir /var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/build/bootstrap/debug/deps -C strip=debuginfo -L dependency=/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/build/bootstrap/debug/deps --cap-lints warn -Zallow-features= -C linker=x86_64-pc-linux-gnu-gcc -Wrust_2018_idioms -Wunused_lifetimes -Dwarnings` (exit status: 1)
Traceback (most recent call last):
File "/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/./x.py", line 53, in <module>
bootstrap.main()
~~~~~~~~~~~~~~^^
File "/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/src/bootstrap/bootstrap.py", line 1338, in main
bootstrap(args)
~~~~~~~~~^^^^^^
File "/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/src/bootstrap/bootstrap.py", line 1302, in bootstrap
build.build_bootstrap()
~~~~~~~~~~~~~~~~~~~~~^^
File "/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/src/bootstrap/bootstrap.py", line 1010, in build_bootstrap
run(args, env=env, verbose=self.verbose, cwd=self.rust_root)
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/src/bootstrap/bootstrap.py", line 236, in run
raise RuntimeError(err)
RuntimeError: failed to run: /usr/lib/rust/1.85.1/bin/cargo build --manifest-path /var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src/src/bootstrap/Cargo.toml -Zroot-dir=/var/tmp/portage/dev-lang/rust-1.85.1-r1/work/rustc-1.85.1-src --verbose --verbose --locked --frozen
* ERROR: dev-lang/rust-1.85.1-r1::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 3491: Called die
* The specific snippet of code:
* RUST_BACKTRACE=1 "${EPYTHON}" ./x.py build -v --config="${S}"/config.toml -j$(makeopts_jobs) || die
*
|
emerge --info '=dev-lang/rust-1.85.1-r1::gentoo'
Code: |
emerge --info '=dev-lang/rust-1.85.1-r1::gentoo'
Portage 3.0.67 (python 3.13.3-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-14, glibc-2.40-r8, 6.12.21-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.12.21-gentoo-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-glibc2.40
KiB Mem: 65787928 total, 26631972 free
KiB Swap: 67108860 total, 67108860 free
Timestamp of repository gentoo: Thu, 05 Jun 2025 12:45:00 +0000
Head commit of repository gentoo: 7ae4ea3d49a3be40f68da0a16ddafdecfc5092e3
sh bash 5.2_p37
ld GNU ld (Gentoo 2.44 p1) 2.44.0
ccache version 4.10.2 [disabled]
app-misc/pax-utils: 1.3.8::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.17-r2::gentoo
dev-build/cmake: 3.31.7-r1::gentoo
dev-build/libtool: 2.5.4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.7.2::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.2::gentoo
dev-lang/python: 3.12.10_p2::gentoo, 3.13.3_p2::gentoo
dev-lang/rust: 1.85.1::gentoo
dev-util/ccache: 4.10.2-r1::gentoo
llvm-core/clang: 19.1.7::gentoo
llvm-core/lld: 19.1.7::gentoo
llvm-core/llvm: 19.1.7::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.56::gentoo
sys-apps/sandbox: 2.46::gentoo
sys-devel/binutils: 2.44-r1::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc: 14.3.0::gentoo
sys-devel/gcc-config: 2.12.1::gentoo
sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r8::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: False
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: yes
crossdev
location: /var/db/repos/portage-crossdev
masters: gentoo
priority: 10
volatile: False
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j1 --quiet-build"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres17" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby32 ruby33" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
emerge -pqv '=dev-lang/rust-1.85.1-r1::gentoo'
Code: |
# emerge -pqv '=dev-lang/rust-1.85.1-r1::gentoo'
[ebuild U ] dev-lang/rust-1.85.1-r1 [1.85.1] USE="(-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto -rust-analyzer -rust-src -rustfmt (-system-llvm) -test -verify-sig -wasm" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="(19)" LLVM_TARGETS="(X86) -AArch64 -AMDGPU -ARC -ARM -AVR -BPF -CSKY -DirectX -Hexagon -Lanai -LoongArch -M68k -MSP430 -Mips -NVPTX -PowerPC -RISCV -SPIRV -Sparc -SystemZ -VE -WebAssembly -XCore -Xtensa"
yoda ~ #
|
Last 500 lines of build log
http://0x0.st/8gHR.txt
complete build log:
http://0x0.st/8gck.txt _________________ Without diversity there can be no evolution:)
Last edited by cwc on Sun Jun 08, 2025 4:01 am; edited 3 times in total |
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4794 Location: Germany
|
Posted: Thu Jun 05, 2025 9:19 pm Post subject: |
|
|
Please try provide the full build.log |
|
Back to top |
|
 |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1455 Location: Tri-Cities, WA USA
|
Posted: Fri Jun 06, 2025 12:20 am Post subject: |
|
|
Josef.95 wrote: | Please try provide the full build.log |
Complete build log:
http://0x0.st/8gck.txt _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
cwc Veteran


Joined: 20 Mar 2006 Posts: 1455 Location: Tri-Cities, WA USA
|
Posted: Sun Jun 08, 2025 4:04 am Post subject: |
|
|
solved:
read : https://wiki.gentoo.org/wiki/Rust
installed : rust-bin emerge --ask dev-lang/rust-bin
selected the binary
eselect rust list
Available Rust versions:
[1] rust-1.85.1
[2] rust-bin-1.86.0 *
yoda ~ #
then installed rust non-binary
emerge -a rust _________________ Without diversity there can be no evolution:) |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|