View previous topic :: View next topic |
Author |
Message |
mich Tux's lil' helper
Joined: 29 Sep 2007 Posts: 123
|
Posted: Sat Nov 09, 2024 7:58 pm Post subject: cbindgen-0.27.0-r1 failed |
|
|
Hello,
Can somebody help me please?
[/url]https://file.io/tQMi0G9LWVNt[url] ---> emerge --info
[/url]https://file.io/yRUkhefuwgno[url] ===> emerge --pqv
[/url]https://file.io/yRUkhefuwgno[url] ===> build.log
Available Rust versions:
[1] rust-1.79.0
[2] rust-1.81.0 *
Thanks in advance,
Michel[/url]
It seems the links are not valid anymore.
Here the goods one:
https://pastebin.com/n99qHdVW ==> emerge --info
[ebuild U ] dev-util/cbindgen-0.27.0-r1 [0.27.0] USE="-debug -test"
https://pastebin.com/wfs2wRG1 ==> build.log
Thanks,
Michel
Last edited by mich on Sun Nov 10, 2024 10:11 am; edited 1 time in total |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sat Nov 09, 2024 11:36 pm Post subject: |
|
|
I'm also failing to compile dev-util/cbindgen-0.27.0-r1, though I'm unable to download your files to compare - it says they've been deleted. At any rate, you're not alone and hopefully others will show up. I'm going to risk annoying people by posting here.
Code: | # emerge --info '=dev-util/cbindgen-0.27.0-r1::gentoo'
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr/desktop, gcc-13, glibc-2.40-r5, 6.11.6-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.11.6-gentoo-x86_64-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.40
KiB Mem: 32807804 total, 23990396 free
KiB Swap: 8191996 total, 8191996 free
Head commit of repository gentoo: 56c83137fa7e68ebd91458c6097ba97cc0097906
Timestamp of repository guru: Mon, 06 May 2024 12:03:32 +0000
Head commit of repository guru: 0c6fc8509b84a8fe958dc7915f2d74e88e3c4552
Head commit of repository mrpenguin: 30e634d21898082c58318038c9be55e965b70e38
Head commit of repository steam-overlay: fc142da83eb4eb440c787e9f1befe5945b09f485
Timestamp of repository wayland-desktop: Mon, 29 Apr 2024 20:07:17 +0000
Head commit of repository wayland-desktop: 8cbf21e9d6b7843147aa5079a6b3a22dd1ad58b4
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.13-r8::gentoo, 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: 2.7.18_p16-r2::gentoo, 3.10.15_p1::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust: 1.81.0::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: 18.1.8::gentoo
sys-devel/gcc: 13.3.1_p20241025::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/lld: 18.1.8::gentoo
sys-devel/llvm: 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: /usr/portage
sync-type: git
sync-uri: git://git.gentoo.org/repo/gentoo.git
priority: -1000
volatile: True
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
local
location: /var/db/repos/local
masters: gentoo
volatile: False
mrpenguin
location: /usr/local/portage/mrpenguin
sync-type: git
sync-uri: https://github.com/MrPenguin07/ebuilds.git
masters: gentoo
volatile: True
steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/anyc/steam-overlay.git
masters: gentoo
volatile: False
wayland-desktop
location: /var/db/repos/wayland-desktop
sync-type: git
sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
masters: gentoo
volatile: False
x-portage
location: /usr/local/portage
masters: gentoo
priority: 0
volatile: True
Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA AdobeFlash-11.x DOOM3 Vivaldi OPERA-2018"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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 /var/bind"
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/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
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 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en es en_US"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
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 branding bzip2 cairo cdda cdr cet crypt cups dri dts dvd dvdr elogind encode eselect-ldso exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opencl opengl openmp pam pango pcre pdf png ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell split-usr ssl startup-notification svg test-rust tiff tk truetype udev unicode usb vorbis vulkan vulkan-overlay wayland wxwidgets x264 xattr xcb xft xml xv xvid xwayland zlib" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" AMDGPU_TARGETS="gfx1010 gfx1011 gfx1012 gfx1030" 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 avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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" 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="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="hp net" 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, 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
|
Code: | # emerge -pqv '=dev-util/cbindgen-0.27.0-r1::gentoo'
[ebuild U ] dev-util/cbindgen-0.27.0-r1 [0.27.0] USE="-debug -test"
!!! The following installed packages are masked:
- dev-lang/rust-1.81.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Jolly <kangie@gentoo.org> (2024-11-09)
# The legacy Rust ebuilds are no longer maintained and have been
# replaced by the new slotted Rust. Removal in 30 days.
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
_________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 12:02 am Post subject: |
|
|
I will also mention that my server does a portage sync every night in cron.daily during the wee hours of the morning. I see that rust is also blocked. If others are pushing their updates overnight, it's possible that my sync happened partway through a set of updates. I'll check this tomorrow and report back.
Code: | # emerge -ptv rust
These are the packages that would be merged, in reverse order:
Calculating dependencies... done!
Dependency resolution took 16.07 s (backtrack: 0/20).
[ebuild R ] dev-lang/rust-1.81.0-r100:1.81.0::gentoo USE="rustfmt (-big-endian) -clippy -debug -dist -doc (-llvm-libunwind) -lto (-miri) (-nightly) (-parallel-compiler) -rust-analyzer -rust-src (-system-bootstrap) (-system-llvm) -test -verify-sig -wasm" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" LLVM_SLOT="18" 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" 0 KiB
[blocks B ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100)
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-lang/rust-1.81.0:stable/1.81::gentoo, installed) pulled in by
~dev-lang/rust-1.81.0[profiler?,rustfmt?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (~dev-lang/rust-1.81.0[abi_x86_32(-),abi_x86_64(-)]) required by (virtual/rust-1.81.0-r1:0/llvm-18::gentoo, installed) USE="-profiler -rustfmt" ABI_X86="32 (64) (-x32)"
(dev-lang/rust-1.81.0-r100:1.81.0/1.81.0::gentoo, ebuild scheduled for merge) pulled in by
rust
For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
!!! The following installed packages are masked:
- dev-lang/rust-1.81.0::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Jolly <kangie@gentoo.org> (2024-11-09)
# The legacy Rust ebuilds are no longer maintained and have been
# replaced by the new slotted Rust. Removal in 30 days.
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
|
_________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Sun Nov 10, 2024 2:33 pm Post subject: |
|
|
Still fails this morning, self-block on rust still there, too. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
GDH-gentoo Veteran
Joined: 20 Jul 2019 Posts: 1693 Location: South America
|
Posted: Sun Nov 10, 2024 2:50 pm Post subject: |
|
|
Probably related (dev-lang/rust slotting). _________________
NeddySeagoon wrote: | I'm not a witch, I'm a retired electronics engineer |
Ionen wrote: | As a packager I just don't want things to get messier with weird build systems and multiple toolchains requirements though |
|
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1961
|
Posted: Sun Nov 10, 2024 3:09 pm Post subject: |
|
|
Any blocking issues are irrelevant. The build failure for cbindgen is what matters. Please file a bug at bugs.gentoo.org. |
|
Back to top |
|
|
mich Tux's lil' helper
Joined: 29 Sep 2007 Posts: 123
|
Posted: Tue Nov 12, 2024 8:46 am Post subject: |
|
|
sam_ wrote: | Any blocking issues are irrelevant. The build failure for cbindgen is what matters. Please file a bug at bugs.gentoo.org. |
Hello bug created:
Bug 943308 - Failed to emerge dev-util/cbindgen-0.27.0-r1 |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3522
|
Posted: Tue Nov 12, 2024 2:08 pm Post subject: |
|
|
sam_ wrote: | Any blocking issues are irrelevant. The build failure for cbindgen is what matters. Please file a bug at bugs.gentoo.org. |
I'm sorry, but I disagree. From my experiences over the past few days this problem is precisely because of the move to slotted rust. Several of us had pretty bad problems with it. In my update I had multiple rust packages slated for upgrades, and every single one of them failed with pretty much the same issues as cbindgen. Over on the slotted rust thread someone looked at my portage log and said that I actually had two rust packages installed, and that was the cause of the failure on cbindgen. (and presumably others) There was a tremendous faith expressed in an "emerge @world" fixing it, but for me I was back to the same symptoms.
Here is what worked for me on my five Gentoo installations at home:
Code: | emerge -acv virtual/rust --with-bdeps=n
emerge -a1tv dev-lang/rust |
This got the new slotted rust properly installed. After this, cbindgen and all of the other rust packages simply build, error-free. _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
mich Tux's lil' helper
Joined: 29 Sep 2007 Posts: 123
|
Posted: Tue Nov 12, 2024 2:36 pm Post subject: |
|
|
depontius wrote: | sam_ wrote: | Any blocking issues are irrelevant. The build failure for cbindgen is what matters. Please file a bug at bugs.gentoo.org. |
I'm sorry, but I disagree. From my experiences over the past few days this problem is precisely because of the move to slotted rust. Several of us had pretty bad problems with it. In my update I had multiple rust packages slated for upgrades, and every single one of them failed with pretty much the same issues as cbindgen. Over on the slotted rust thread someone looked at my portage log and said that I actually had two rust packages installed, and that was the cause of the failure on cbindgen. (and presumably others) There was a tremendous faith expressed in an "emerge @world" fixing it, but for me I was back to the same symptoms.
Here is what worked for me on my five Gentoo installations at home:
Code: | emerge -acv virtual/rust --with-bdeps=n
emerge -a1tv dev-lang/rust |
This got the new slotted rust properly installed. After this, cbindgen and all of the other rust packages simply build, error-free. |
After looking in my system I found two rust installed (1.79.0-r100, and 1.80.1-r100) but not installed virtual/rust.(I need to install???)
So, I uninstalled rust-1.79.0-r100 and when tried to install virtual/rust i receive the following message:
emerge -a virtual/rust
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 7.32 s (backtrack: 0/20).
!!! All ebuilds that could satisfy "virtual/rust" have been masked.
!!! One of the following masked packages is required to complete your request:
- virtual/rust-1.82.0::gentoo (masked by: package.mask, ~amd64 keyword)
/var/db/repos/gentoo/profiles/package.mask:
# Matt Jolly <kangie@gentoo.org> (2024-11-09)
# The legacy Rust ebuilds are no longer maintained and have been
# replaced by the new slotted Rust. Removal in 30 days.
- virtual/rust-1.81.0-r1::gentoo (masked by: package.mask)
- virtual/rust-1.80.1::gentoo (masked by: package.mask)
- virtual/rust-1.79.0::gentoo (masked by: package.mask)
- virtual/rust-1.77.1::gentoo (masked by: package.mask)
- virtual/rust-1.75.0-r1::gentoo (masked by: package.mask)
- virtual/rust-1.74.1-r1::gentoo (masked by: package.mask)
- virtual/rust-1.71.1-r2::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Thanks
Michel |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2414
|
Posted: Tue Nov 12, 2024 2:55 pm Post subject: |
|
|
Virtual/rust is getting irrelevant with slotting of rust. You don't need it. See the thread about rust a few threads below.
Best Regards,
Georgi |
|
Back to top |
|
|
sam_ Developer
Joined: 14 Aug 2020 Posts: 1961
|
Posted: Tue Nov 12, 2024 6:59 pm Post subject: |
|
|
depontius wrote: | sam_ wrote: | Any blocking issues are irrelevant. The build failure for cbindgen is what matters. Please file a bug at bugs.gentoo.org. |
I'm sorry, but I disagree. From my experiences over the past few days this problem is precisely because of the move to slotted rust. Several of us had pretty bad problems with it. In my update I had multiple rust packages slated for upgrades, and every single one of them failed with pretty much the same issues as cbindgen. Over on the slotted rust thread someone looked at my portage log and said that I actually had two rust packages installed, and that was the cause of the failure on cbindgen. (and presumably others) There was a tremendous faith expressed in an "emerge @world" fixing it, but for me I was back to the same symptoms.
Here is what worked for me on my five Gentoo installations at home:
Code: | emerge -acv virtual/rust --with-bdeps=n
emerge -a1tv dev-lang/rust |
This got the new slotted rust properly installed. After this, cbindgen and all of the other rust packages simply build, error-free. |
You misunderstood what I'm saying. The blocking is too late.and focusing on the blockers isn't the real problem (so trying to manually emerge isn't really the point). The blocking issues would show up even when everything is going well, the intention is that people do a full world upgrade and depclean. The question is why cbindgen fails. The issue here is bug 943143 combined with bug 943206. The revert last night should help recovery when hitting that Portage bug. |
|
Back to top |
|
|
mich Tux's lil' helper
Joined: 29 Sep 2007 Posts: 123
|
Posted: Tue Nov 12, 2024 7:33 pm Post subject: |
|
|
sam_ wrote: | Any blocking issues are irrelevant. The build failure for cbindgen is what matters. Please file a bug at bugs.gentoo.org. |
Hello Sam,
Finally I opened a bug, but meanwhile I found the way to solve the issue.
Firstly I did:
emerge -C =dev-lang/rust-1.79.0-r100 =dev-lang/rust-1.81.0-r100
Secondly:
emerge -C virtual/rust
* This action can remove important packages! In order to be safer, use
* `emerge -pv --depclean <atom>` to check for reverse dependencies before
* removing packages.
virtual/rust
selected: 1.81.0-r1
protected: none
omitted: none
All selected packages: =virtual/rust-1.81.0-r1
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging (1 of 1) virtual/rust-1.81.0-r1...
* GNU info directory index is up-to-date.
Thirdly:
emerge -a cbindgen
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 35.07 s (backtrack: 0/20).
[ebuild NS ] dev-lang/rust-1.81.0-r100 [1.81.0] LLVM_SLOT="18%*"
[uninstall ] dev-lang/rust-1.81.0
[blocks b ] dev-lang/rust:stable ("dev-lang/rust:stable" is soft blocking dev-lang/rust-1.81.0-r100)
[ebuild U ] dev-util/cbindgen-0.27.0-r1 [0.27.0]
Finally all is good now. |
|
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
|
|