Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 808246 - sys-cluster/drbd-utils-9.15.1-r1: internal collisions between non-identical files with /lib/drbd vs /lib64/drbd
Summary: sys-cluster/drbd-utils-9.15.1-r1: internal collisions between non-identical f...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Cluster Team
Depends on: 698304
  Show dependency tree
Reported: 2021-08-14 21:29 UTC by Robin Johnson
Modified: 2023-06-13 17:40 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2021-08-14 21:29:23 UTC
>>> Done.
 * checking 81 files for package collisions
 * Package 'sys-cluster/drbd-utils-9.15.1-r1' 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})):
 * 	/lib64/drbd/drbdadm-83
 * 		/lib/drbd/drbdadm-83
 * 		/lib64/drbd/drbdadm-83
 * 			Differences: type, mode
 * 	/lib64/drbd/drbdadm-84
 * 		/lib/drbd/drbdadm-84
 * 		/lib64/drbd/drbdadm-84
 * 			Differences: type, mode
 * 	/lib64/drbd/drbdsetup-83
 * 		/lib/drbd/drbdsetup-83
 * 		/lib64/drbd/drbdsetup-83
 * 			Differences: type, mode
 * 	/lib64/drbd/drbdsetup-84
 * 		/lib/drbd/drbdsetup-84
 * 		/lib64/drbd/drbdsetup-84
 * 			Differences: type, mode
 * Package 'sys-cluster/drbd-utils-9.15.1-r1' 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.

# find /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib*  -ls
  4965160      0 drwxr-xr-x   4 root     root           80 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib
  4965257      0 drwxr-xr-x   2 root     root          120 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/drbd
  4965261      0 lrwxrwxrwx   1 root     root           29 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/drbd/drbdsetup-84 -> ../../lib64/drbd/drbdsetup-84
  4965260      0 lrwxrwxrwx   1 root     root           29 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/drbd/drbdsetup-83 -> ../../lib64/drbd/drbdsetup-83
  4965259      0 lrwxrwxrwx   1 root     root           27 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/drbd/drbdadm-84 -> ../../lib64/drbd/drbdadm-84
  4965258      0 lrwxrwxrwx   1 root     root           27 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/drbd/drbdadm-83 -> ../../lib64/drbd/drbdadm-83
  4965161      0 drwxr-xr-x   3 root     root           60 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/udev
  4965162      0 drwxr-xr-x   2 root     root           60 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/udev/rules.d
  4965171      4 -rw-r--r--   1 root     root          967 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib/udev/rules.d/65-drbd.rules
  4965196      0 drwxr-xr-x   3 root     root           60 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib64
  4965197      0 drwxr-xr-x   2 root     root          120 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib64/drbd
  4965201    252 -rwxr-xr-x   1 root     root       256008 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib64/drbd/drbdadm-84
  4965200    164 -rwxr-xr-x   1 root     root       165376 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib64/drbd/drbdsetup-84
  4965199    172 -rwxr-xr-x   1 root     root       173064 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib64/drbd/drbdadm-83
  4965198     96 -rwxr-xr-x   1 root     root        97328 Aug 14 14:27 /var/tmp/portage-tmpfs/portage/sys-cluster/drbd-utils-9.15.1-r1/image/lib64/drbd/drbdsetup-83
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2021-08-14 21:29:38 UTC
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.0/developer, gcc-11.2.0, glibc-2.33-r5, 5.13.4-x86_64-00001-ge892eaf64b1e x86_64)
System uname: Linux-5.13.4-x86_64-00001-ge892eaf64b1e-x86_64-AMD_Ryzen_7_3700X_8-Core_Processor-with-glibc2.33
KiB Mem:   131816064 total,  22850156 free
KiB Swap:          0 total,         0 free
Head commit of repository gentoo: b5d79a6a630de2ba688cf925ad8cc109b0cf6cd4

Head commit of repository infra-overlay: dd9de334786a8099fc94b60a488d5dac6d77c047

sh bash 5.1_p8
ld GNU ld (Gentoo 2.36.1 p4) 2.36.1
ccache version 4.3 [enabled]
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r1::gentoo
dev-lang/python:          2.7.18_p11::gentoo, 3.6.14::gentoo, 3.7.11::gentoo, 3.8.11::gentoo, 3.9.6::gentoo, 3.10.0_rc1_p1::gentoo
dev-lang/rust:            1.50.0::gentoo
dev-util/ccache:          4.3-r3::gentoo
dev-util/cmake:           3.21.1::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          9999::gentoo
sys-apps/sandbox:         2.24::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.3-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo, 2.36.1-r2::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r5::gentoo

    location: /code/gentoo/gentoo-git/repo/gentoo
    sync-type: git
    sync-uri: git+ssh://
    priority: -1000

    location: /code/gentoo/gentoo-git/infra/infra-overlay
    sync-type: git
    sync-uri: git+ssh://
    masters: gentoo

    location: /usr/local/portage
    masters: gentoo
    priority: 0

    location: /var/lib/layman/R_Overlay
    masters: gentoo
    priority: 50

    location: /var/lib/layman/go-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
EMERGE_DEFAULT_OPTS="--verbose-conflicts --complete-graph-if-new-use=n --complete-graph-if-new-ver=n --quiet-build=y --jobs=4"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox lmirror merge-sync mirror multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LINGUAS="en_CA en_GB en_ZA en_US en af"
MAKEOPTS="-j14 -l12"
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"
USE="X a52 aac aalib acl acpi adns adplug agg aio alsa amd64 amr animgif appindicator ares arts audiofile audit avahi avx ayatana bash-completion berkdb bluetooth bonjour branding bzip2 cairo calendar cdaudio cdda cddb cdio cdparanoia cdr chardet chm clamav cli crypt cscope css ctype cups curl curlwrappers cvs cxx d3d daap dbus dc1394 designer-plugin dia diskio djbfft djvu dri dts dv dvb dvd dvdr dvdread ebook egl elogin elogind emf encode exif expat fam ffmpeg fftw firefox flac fltk fontconfig foomaticdb fortran gd gdbm geoip gif gimp gles2 glut gmp gnokii gnutls gps graphviz gsm gstreamer gui hal ical iconv icu id3tag idea ieee1394 imagemagick imlib inkjar ipod ipv6 jack java5 java6 javacomm jbig jingle jpeg jpeg2k lash lcms ldap libgcrypt libglvnd libnotify libsamplerate libtirpc llvm llvm-shared-libs lm_sensors logitech-mouse lzma lzo mad maildir mhash midi mikmod mmap mmx mmxext mng modplug mozilla mp3 mp3tunes mp4 mpeg mplayer mudflap multilib multitarget musepack nas ncurses nls nocd nptl nptlonly nsplugin offensive ofx ogg openal openexr opengl openmp oss otr pam pango pccntl pch pcre pda pdf perl plotutils png policykit posix postscript povray ppds pulseaudio python qt3support quicktime r_suggests_crayon r_suggests_dplyr r_suggests_fable r_suggests_ggplot2 r_suggests_lubridate r_suggests_magrittr r_suggests_nnet r_suggests_pillar r_suggests_scales r_suggests_svglite r_suggests_tibble r_suggests_tsibbledata raw rdesktop readline reflection rpc rss ruby savedconfig scanner sdl seccomp semantic-desktop semantic-destkop session sid simplexml slp smp sms smux sndfile snmp sockets socks5 solver speex spell spl split-usr sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs syslog sysvipc taglib theora threads tidy tiff timidity truetype tta twolame udev udisks unicode upower urandom usb v4l v4l2 vcd vcdx videos vim-syntax vnc vorbis vorbis-psy wavpack wayland webkit wideband wifi win32codecs wma wmf wxwidgets x264 xanim xattr xcb xcomposite xephyr xfs xine xinerama xinetd xml xorg xosd xpm xrandr xscreensaver xsl xulrunner xv xvid xwayland zeroconf zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel usb-audio usb-usx2y ad1816a ad1848 ad1848-lib ad1889 serial-u16550 virmidi seq-dummy dummy" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias asis auth_digest imagemap log_forensic proxy proxy_ajp proxy_connect proxy_ftp proxy_http cern_meta cgi cgid dbd dumpio ident proxy_scgi reqtimeout substitute version authn_dbd unixd" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc efi-32 efi-64" INPUT_DEVICES="evdev keyboard mouse void wacom synaptics libinput" KERNEL="linux" L10N="en en-CA en-GB en-US" LCD_DEVICES="g15 glk graphlcd iowarrior ncurses null png ppm text usbhub usblcd X xosd" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_8 python3_9" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm i386 mips mips64 mips64el mipsel ppc ppc64" RUBY_TARGETS="ruby26 ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="dummy fbdev ati radeon v4l vga vesa radeonhd radeonsi r600 nouveau amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-15 01:48:34 UTC
@jpds, I can merge your PR, but any chance of looking at this?

Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-15 01:50:11 UTC
I'll CC jsmolic too because it's possible that is related (sedding the Makefile.ins but calling eautoreconf afterwards). Not had a chance to poke myself yet.
Comment 4 Anthony Ryan 2023-01-16 21:03:44 UTC
This looks related to:

Which was created in response to

Removing those symlinks we're creating ourselves resolves this problem.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-06-13 17:40:49 UTC
It's not obvious to me how to fix this simultaneously for 17.0 and 17.1 systems, but 17.0 is long gone...