Hello Dale,

I had the same issue with ruby, this morning.
I re-sync portage and the problem has gone away.

Cheers,

--
Jacques

Le sam. 9 nov. 2024 à 15:35, Dale <rdalek1...@gmail.com> a écrit :

> Howdy,
>
> I'm doing my weekly updates and ran into a problem I haven't seen in a
> long time.  The problem is with file collisions for rust and ruby
> complaining about ipv6.  This is the errors.
>
>
>  * Error messages for package dev-lang/ruby-3.2.5-r1:
>
>  * ERROR: dev-lang/ruby-3.2.5-r1::gentoo failed (configure phase):
>  *   USE Flag 'ipv6' not in IUSE for dev-lang/ruby-3.2.5-r1
>  *
>  * Call stack:
>  *          ebuild.sh, line  136:  Called src_configure
>  *        environment, line 2327:  Called use 'ipv6'
>  *   phase-helpers.sh, line  256:  Called die
>  * The specific snippet of code:
>  *                              die "USE Flag '${u}' not in IUSE for
> ${CATEGORY}/${PF}"
>  *
>  * If you need support, post the output of `emerge --info
> '=dev-lang/ruby-3.2.5-r1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=dev-lang/ruby-3.2.5-r1::gentoo'`.
>  * The complete build log is located at
> '/var/log/portage/dev-lang:ruby-3.2.5-r1:20241109-135019.log'.
>  * For convenience, a symlink to the build log is located at
> '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/temp/environment'.
>  * Working directory:
> '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
>  * S: '/var/tmp/portage/dev-lang/ruby-3.2.5-r1/work/ruby-3.2.5'
>
>  * Error messages for package dev-lang/rust-1.81.0-r100:
>
>  * This package will overwrite one or more files that may belong to other
>  * packages (see list below). You can use a command such as `portageq
>  * owners / <filename>` to identify the installed package that owns a
>  * file. If portageq reports that only one package owns a file then do
>  * NOT file a bug report. A bug report is only useful if it identifies at
>  * least two or more packages that are known to install the same file(s).
>  * If a collision occurs and you can not explain where the file came from
>  * then you should simply ignore the collision since there is not enough
>  * information to determine if a real problem exists. Please do NOT file
>  * a bug report at https://bugs.gentoo.org/ unless you report exactly
>  * which two packages install the same file(s). See
>  * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
>  * to solve the problem. And once again, please do NOT file a bug report
>  * unless you have completely understood the above message.
>  *
>  * Detected file collision(s):
>  *
>  *      /usr/lib/rust/1.81.0/lib/librustc_driver-d0437c57e9749890.so
>  *      /usr/lib/rust/1.81.0/lib/rustlib/rust-installer-version
>  *      /usr/lib/rust/1.81.0/lib/rustlib/uninstall.sh
>  *
> /usr/lib/rust/1.81.0/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu
>  *      /usr/lib/rust/1.81.0/lib/rustlib/components
>  *      /usr/lib/rust/1.81.0/lib/rustlib/manifest-rustc
>  *      /usr/lib/rust/1.81.0/lib/rustlib/install.log
>  *      /usr/lib/rust/1.81.0/lib/rustlib/manifest-cargo
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7234f73324fd48c0.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9b7de059a5ab34af.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac7e94922334c9f0.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-578a18234af66af9.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-684472364204d0a7.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-f4a49f8cfda07bf8.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-cfb019bc96f33a34.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8f2e7ce3487adc20.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-5ad64697bc9d789b.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a305303b86e1c54d.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-026064d0ea14b434.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-48ed7223eed08a0f.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_abort-14df5b2e692a981b.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-a5f2909f8519b04f.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-1a495c195684c4b8.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-1cee4dee04a5f38c.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-98b5d1042ca2d1d5.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-dde627442198357f.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3ff05a2c466986c4.rlib
>  *
> /usr/lib/rust/1.81.0/lib/rustlib/etc/gdb_load_rust_pretty_printers.py
>  *      /usr/lib/rust/1.81.0/lib/rustlib/etc/gdb_lookup.py
>  *      /usr/lib/rust/1.81.0/lib/rustlib/etc/gdb_providers.py
>  *      /usr/lib/rust/1.81.0/lib/rustlib/etc/lldb_commands
>  *      /usr/lib/rust/1.81.0/lib/rustlib/etc/lldb_lookup.py
>  *      /usr/lib/rust/1.81.0/lib/rustlib/etc/lldb_providers.py
>  *      /usr/lib/rust/1.81.0/lib/rustlib/etc/rust_types.py
>  *      /usr/lib/rust/1.81.0/bin/rust-gdb
>  *      /usr/lib/rust/1.81.0/bin/rust-gdbgui
>  *      /usr/lib/rust/1.81.0/bin/rust-lldb
>  *      /usr/lib/rust/1.81.0/bin/rustc
>  *      /usr/lib/rust/1.81.0/bin/cargo-1.81.0
>  *      /usr/lib/rust/1.81.0/bin/rustdoc-1.81.0
>  *      /usr/lib/rust/1.81.0/bin/rust-gdb-1.81.0
>  *      /usr/lib/rust/1.81.0/bin/rust-gdbgui-1.81.0
>  *      /usr/lib/rust/1.81.0/bin/rust-lldb-1.81.0
>  *      /usr/lib/rust/1.81.0/bin/rustc-1.81.0
>  *      /usr/lib/rust/1.81.0/bin/rustdoc
>  *      /usr/lib/rust/1.81.0/bin/cargo
>  *      /usr/lib/rust/1.81.0/share/doc/rust/COPYRIGHT
>  *      /usr/lib/rust/1.81.0/share/doc/rust/LICENSE-APACHE.old
>  *      /usr/lib/rust/1.81.0/share/doc/rust/LICENSE-APACHE
>  *      /usr/lib/rust/1.81.0/share/doc/rust/LICENSE-MIT.old
>  *      /usr/lib/rust/1.81.0/share/doc/rust/LICENSE-MIT
>  *      /usr/lib/rust/1.81.0/share/doc/rust/LICENSE-THIRD-PARTY
>  *      /usr/lib/rust/1.81.0/share/doc/rust/README.md.old
>  *      /usr/lib/rust/1.81.0/share/doc/rust/README.md
>  *      /usr/lib/rust/1.81.0/share/man/man1/rustc.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/rustdoc.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-add.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-bench.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-build.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-check.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-clean.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-doc.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-fetch.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-fix.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-generate-lockfile.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-help.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-init.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-install.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-locate-project.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-login.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-logout.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-metadata.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-new.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-owner.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-package.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-pkgid.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-publish.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-remove.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-report.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-run.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-rustc.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-rustdoc.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-search.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-test.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-tree.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-uninstall.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-update.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-vendor.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-verify-project.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-version.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo-yank.1
>  *      /usr/lib/rust/1.81.0/share/man/man1/cargo.1
>  *      /usr/lib/rust/1.81.0/share/zsh/site-functions/_cargo
>  *      /etc/env.d/50rust-1.81.0
>  *      /etc/env.d/rust/provider-rust-1.81.0
>  *      /usr/lib/rust/libexec-1.81.0
>  *      /usr/bin/cargo-1.81.0
>  *      /usr/bin/rustc-1.81.0
>  *      /usr/bin/rustdoc-1.81.0
>  *      /usr/bin/rust-gdb-1.81.0
>  *      /usr/bin/rust-gdbgui-1.81.0
>  *      /usr/bin/rust-lldb-1.81.0
>  *
>  * Searching all installed packages for file collisions...
>  *
>  * Press Ctrl-C to Stop
>  *
>  * dev-lang/rust-1.81.0:stable::gentoo
>  *      /usr/lib/rust/1.81.0/lib/librustc_driver-d0437c57e9749890.so
>  *      /usr/lib/rust/1.81.0/lib/rustlib/components
>  *      /usr/lib/rust/1.81.0/lib/rustlib/install.log
>  *      /usr/lib/rust/1.81.0/lib/rustlib/manifest-cargo
>  *
> /usr/lib/rust/1.81.0/lib/rustlib/manifest-rust-std-x86_64-unknown-linux-gnu
>  *      /usr/lib/rust/1.81.0/lib/rustlib/manifest-rustc
>  *      /usr/lib/rust/1.81.0/lib/rustlib/rust-installer-version
>  *      /usr/lib/rust/1.81.0/lib/rustlib/uninstall.sh
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7234f73324fd48c0.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9b7de059a5ab34af.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac7e94922334c9f0.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-578a18234af66af9.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-684472364204d0a7.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-f4a49f8cfda07bf8.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-cfb019bc96f33a34.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8f2e7ce3487adc20.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-5ad64697bc9d789b.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-a305303b86e1c54d.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-026064d0ea14b434.rlib
>  *
>
> /usr/lib/rust/1.81.0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-48ed7223eed08a0f.rlib
>  *
>  * Package 'dev-lang/rust-1.81.0-r100' NOT merged due to file collisions.
>  * If necessary, refer to your elog messages for the whole content of the
>  * above message.
>
>
>
> This is going to force emerge to skip Firefox, Seamonkey and some others
> that need the new version of rust.  I do run some packages unstable,
> mostly GUI stuff like KDE etc.  Also, the elog shows the same info.
> More info.
>
>
>
> (chroot) root@Gentoo-1 / # equery list -p dev-lang/rust
> dev-lang/rust-common dev-lang/ruby
>  * Searching for rust in dev-lang ...
> [-P-] [M ] dev-lang/rust-1.71.1:stable/1.71
> [-P-] [  ] dev-lang/rust-1.71.1-r100:1.71.1
> [-P-] [M ] dev-lang/rust-1.74.1:stable/1.74
> [-P-] [  ] dev-lang/rust-1.74.1-r100:1.74.1
> [-P-] [M ] dev-lang/rust-1.75.0-r1:stable/1.75
> [-P-] [  ] dev-lang/rust-1.75.0-r100:1.75.0
> [-P-] [M ] dev-lang/rust-1.77.1:stable/1.77
> [-P-] [  ] dev-lang/rust-1.77.1-r100:1.77.1
> [-P-] [M ] dev-lang/rust-1.79.0:stable/1.79
> [IP-] [  ] dev-lang/rust-1.79.0-r100:1.79.0
> [-P-] [M ] dev-lang/rust-1.80.1:stable/1.80
> [-P-] [  ] dev-lang/rust-1.80.1-r100:1.80.1
> [IP-] [M ] dev-lang/rust-1.81.0:stable/1.81
> [-P-] [  ] dev-lang/rust-1.81.0-r100:1.81.0
> [-P-] [M~] dev-lang/rust-1.82.0:stable/1.82
> [-P-] [ ~] dev-lang/rust-1.82.0-r100:1.82.0
>
>  * Searching for rust-common in dev-lang ...
> [-P-] [  ] dev-lang/rust-common-1.81.0:0
> [IP-] [  ] dev-lang/rust-common-1.82.0:0
>
>  * Searching for ruby in dev-lang ...
> [-P-] [  ] dev-lang/ruby-3.1.4-r3:3.1
> [-P-] [  ] dev-lang/ruby-3.1.5:3.1
> [-P-] [  ] dev-lang/ruby-3.1.6-r1:3.1
> [I--] [??] dev-lang/ruby-3.2.4-r1:3.2
> [-P-] [  ] dev-lang/ruby-3.2.4-r2:3.2
> [-P-] [  ] dev-lang/ruby-3.2.4-r3:3.2
> [-P-] [  ] dev-lang/ruby-3.2.5-r1:3.2
> [-P-] [ ~] dev-lang/ruby-3.2.6-r1:3.2
> [-P-] [ ~] dev-lang/ruby-3.3.4-r2:3.3
> [-P-] [ ~] dev-lang/ruby-3.3.5-r1:3.3
> [-P-] [ ~] dev-lang/ruby-3.3.6-r1:3.3
> (chroot) root@Gentoo-1 / #
>
>
>
> I don't have any settings in /etc/portage for ruby or rust either.
>
>
> (chroot) root@Gentoo-1 / # grep -r rust /etc/portage/
> (chroot) root@Gentoo-1 / # grep -r ruby /etc/portage/
> (chroot) root@Gentoo-1 / #
>
>
> The build is actually being done in a chroot.  The chroot is a exact
> copy of my main rig.  It's sort of like a stage4 thing.
>
> From what I tell, it wants to overwrite files that doesn't belong to the
> right packages but the error doesn't say how to work around it.  The
> link talks about hard blocks but doesn't help with a collision like
> this.  I also read on -dev that some changes were made to rust
> packages.    I'm not sure what made ruby sick.
>
> Anyone else seeing this?  Did I do something wrong?  Did I catch the
> tree in a bad state where some ebuild wasn't as up to date to match some
> other package ebuild?  Is this a bug?  Could the changes to rust be the
> problem?
>
> It's been so long since I seen this.  I can't even find any hits on the
> forum that are even close, unless I used bad search terms.
>
> Thoughts?  Ideas?
>
> Thanks.
>
> Dale
>
> :-)  :-)
>
> P. S.  I had to rewrite this a few times.  I managed to get rust-common
> to install.  I hope this email still makes sense.  :/
>
>

Reply via email to