Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 943117

Summary: dev-util/bindgen-0.70.1-r1 fails to compile with slotted rust
Product: Gentoo Linux Reporter: Charo del Genio <the.paraw>
Component: Current packagesAssignee: Gentoo Rust Project <rust>
Status: RESOLVED FIXED    
Severity: normal CC: kangie, kernel, the.paraw, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=943110
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Ebuild that works
build log

Description Charo del Genio 2024-11-09 10:30:03 UTC
Trying to compile dev-util/bindgen-0.70.1-r1 fails in the install phase. The bug is identical to https://bugs.gentoo.org/943110.
I suspect the fix will also be the same.

Reproducible: Always
Comment 1 Charo del Genio 2024-11-09 10:38:07 UTC
Created attachment 908186 [details]
Ebuild that works

This ebuild works
Comment 2 Charo del Genio 2024-11-09 10:38:32 UTC
Attached an ebuild that works (just tested), or at least seems to.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:42:45 UTC
I don't think it's the same problem at all. multilib-minimal isn't involved. Please show the build.log and emerge --info.
Comment 4 Charo del Genio 2024-11-09 10:44:30 UTC
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.40-r5, 6.6.52-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.52-gentoo-x86_64-12th_Gen_Intel-R-_Core-TM-_i9-12900H-with-glibc2.40
KiB Mem:    65548516 total,  39875920 free
KiB Swap:  134217724 total, 134217724 free
Timestamp of repository gentoo: Sat, 09 Nov 2024 06:45:00 +0000
Head commit of repository gentoo: 01ba4dc61965ef7658a24728841c04c9a1ce4871
Timestamp of repository guru: Sat, 09 Nov 2024 06:33:33 +0000
Head commit of repository guru: 0d85e29436a8afd2891d1332dccd437b02563e22

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.5.2::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust-bin:         1.79.0-r100::gentoo, 1.81.0-r100::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           15.0.7-r3::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20241025::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             15.0.7::gentoo
sys-devel/llvm:            15.0.7-r3::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.bg.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

parawlay
    location: /var/db/repos/parawlay
    masters: gentoo
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=alderlake -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=alderlake -O2 -pipe"
DISTDIR="/var/cache/distfiles"
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="-march=alderlake -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 sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr"
FFLAGS="-march=alderlake -O2 -pipe"
GENTOO_MIRRORS="https://mirror.telepoint.bg/gentoo ftp://mirror.telepoint.bg/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en en_GB en_US bg bg_BG it it_IT"
MAKEOPTS="--jobs 20 --load-average 21"
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 activities alsa amd64 avif bash-completion bluetooth branding bzip2 cairo caps cdda cdr cet cjk crypt css cups cxx dbus declarative dga dri dts dv dvd dvdr elogind encode exif fbcon ffmpeg fftw filecaps flac fontconfig gdbm gif gmp gpm gstreamer gtk gui heif iconv icu idn ipv6 jpeg kde kf6compat kwallet lapack lcms libnotify libtirpc lzma mad man mmap mng mp3 mp4 mpeg mpi mtp multilib musicbrainz ncurses networkmanager nls ogg opencl opengl openmp pam pango pcre pdf pipewire plasma png policykit postscript ppds pulseaudio qml qt5 qt6 readline samba sdl seccomp sound spell ssl startup-notification svg taglib test-rust threads tiff truetype udev udisks unicode upower usb v4l vaapi verify-sig vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_12" 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" CAMERAS="fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" 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="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB en-US bg bg-BG it it-IT" 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="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, 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
Comment 5 Charo del Genio 2024-11-09 10:46:33 UTC
Created attachment 908188 [details]
build log
Comment 6 Charo del Genio 2024-11-09 10:47:04 UTC
Yeah, I looked better and I think you're right.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:47:11 UTC
Thanks!


>>> Compiling source in /var/tmp/portage/dev-util/bindgen-0.70.1-r1/work/rust-bindgen-0.70.1 ...
 [32m*[0m opt/rust-bin-1.81.0/bin/cargo build --release
/var/tmp/portage/dev-util/bindgen-0.70.1-r1/temp/environment: line 777: opt/rust-bin-1.81.0/bin/cargo: No such file or directory
 [31;01m*[0m ERROR: dev-util/bindgen-0.70.1-r1::gentoo failed (compile phase):
 [31;01m*[0m   cargo build failed

This issue was fixed in 18209a19fee456d23f6e97182b668fd3bf5c5d1b. It should go away if you sync.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:53:06 UTC
*** Bug 943120 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:56:21 UTC
*** Bug 943130 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:56:28 UTC
*** Bug 943128 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:56:33 UTC
*** Bug 943125 has been marked as a duplicate of this bug. ***
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:56:39 UTC
*** Bug 943127 has been marked as a duplicate of this bug. ***
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-09 10:56:48 UTC
*** Bug 943124 has been marked as a duplicate of this bug. ***