View previous topic :: View next topic |
Author |
Message |
zBrain Apprentice
Joined: 14 Apr 2006 Posts: 195
|
Posted: Sat Oct 05, 2024 11:38 pm Post subject: What is an internal collision? And how to fix? |
|
|
Code: | * checking 485 files for package collisions
* Package 'sys-apps/shadow-4.14.2' has internal collisions between non-
* identical files (located in separate directories in the installation
* image (${D}) corresponding to merged directories in the target
* filesystem (${ROOT})):
*
* /usr/bin/passwd
* /bin/passwd
* /usr/bin/passwd
* Differences: type, mode
*
* Package 'sys-apps/shadow-4.14.2' NOT merged due to internal collisions
* between non-identical files. If necessary, refer to your elog messages
* for the whole content of the above message. |
[Administrator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
zBrain Apprentice
Joined: 14 Apr 2006 Posts: 195
|
Posted: Sun Oct 06, 2024 12:41 am Post subject: |
|
|
I just realized its likely because of split-usr being forced
Code: | [binary R ] app-alternatives/awk-4::gentoo USE="gawk (split-usr*) -busybox -mawk -nawk" 0 KiB
[binary R ] sys-apps/coreutils-9.5::gentoo USE="acl nls openssl (split-usr*) (xattr) -caps -gmp -hostname -kill -multicall (-selinux) -static -test -vanilla -verify-sig" 0 KiB
[binary R ] sys-apps/shadow-4.14.2:0/4::gentoo USE="acl nls pam (split-usr*) xattr -audit -cracklib (-selinux) -skey -su -systemd -verify-sig" 0 KiB
|
All these packages are doing it. Any ideas?
[Administrator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22477
|
Posted: Sun Oct 06, 2024 12:51 am Post subject: |
|
|
The output you quoted in the first post describes an internal collision. What is the output of emerge --info? I suspect you are pulling split-usr binaries into a merged-usr system. |
|
Back to top |
|
|
zBrain Apprentice
Joined: 14 Apr 2006 Posts: 195
|
Posted: Sun Oct 06, 2024 12:58 am Post subject: |
|
|
That answer could be complicated. I'm updating an old server using portage in a chroot.
emerge --info --root=/mnt/host --config-root=/mnt/host
Code: |
Portage 3.0.65 (python 3.12.3-final-0, !../../usr/portage/profiles/default/linux/amd64/17.1/hardened, gcc-9.3.0, glibc-2.39-r6, 4.14.83-gentoo x86_64)
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Common_KVM_processor-with-glibc2.39
KiB Mem: 8158640 total, 1947788 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 20 Jul 2024 17:45:00 +0000
Head commit of repository gentoo: 74a613d51782ffe523d0a6cdd772dfc4a1659284
Head commit of repository RHWSI: a24b5e37f303fa9368ec1913a4c0aafd783aead1
Timestamp of repository mva: Wed, 02 Oct 2024 09:19:05 +0000
Head commit of repository mva: 8cc7684b0c37911bc38a20703b9991b8dec1e177
sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r6::gentoo
dev-build/autoconf: 2.69-r5::gentoo
dev-build/automake: 1.12.6::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.2-r1::gentoo
dev-build/cmake: 3.18.5::gentoo
dev-build/libtool: 2.4.6-r6::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 0.56.2::gentoo
dev-lang/perl: 5.38.2-r3::gentoo
dev-lang/python: 2.7.18_p9::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.9_p2::gentoo, 3.9.4_p1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.33.1-r1::gentoo, 2.35.2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 9.3.0-r1::gentoo, 10.2.0-r5::gentoo, 13.3.1_p20240614::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r6::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://fresh.registeredhosting.ca/gentoo-portage
priority: -1000
volatile: True
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 3
sync-rsync-verify-jobs: 1
RHWSI
location: /var/lib/repos/RHWSI
sync-type: git
sync-uri: https://gogs.registeredhosting.ca/RHWSI/gentoo-overlay.git
masters: gentoo
volatile: True
mva
location: /var/db/repos/mva
sync-type: git
sync-uri: https://github.com/gentoo-mirror/mva.git
masters: gentoo
volatile: False
Binary Repositories:
fresh
priority: 1
sync-uri: ssh://binpkguser@fresh.registeredhosting.ca/usr/portage/packages
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j3 --with-bdeps=y --quiet-build=y --complete-graph --binpkg-changed-deps=n"
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 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"
LEX="flex"
MAKEOPTS="-j7"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="ssh://binpkguser@fresh.registeredhosting.ca/usr/portage/packages"
PORTAGE_CONFIGROOT="/mnt/host/"
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="acl amd64 bzip2 cet cli crypt dri fortran gdbm hardened iconv ipv6 libtirpc mmx multilib ncurses nls openmp pam pcre pic pie readline seccomp split-usr sse sse2 ssl ssp test-rust unicode xattr xtpax 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" 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 php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
|
|
Back to top |
|
|
zBrain Apprentice
Joined: 14 Apr 2006 Posts: 195
|
Posted: Sun Oct 06, 2024 1:22 am Post subject: |
|
|
Just as a note - I never ran the script to merge usr.
I really hope this system isn't borked |
|
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
|
|