Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507292 - =app-emulation/emul-linux-x86-{baselibs,soundlibs,gtklibs}-20140406 with ABI_X86=32 - file collisions
Summary: =app-emulation/emul-linux-x86-{baselibs,soundlibs,gtklibs}-20140406 with ABI_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Multilib team
URL:
Whiteboard:
Keywords:
: 507416 (view as bug list)
Depends on:
Blocks: 506900
  Show dependency tree
 
Reported: 2014-04-10 01:16 UTC by eroen
Modified: 2014-04-15 21:18 UTC (History)
1 user (show)

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


Attachments
build.log.baselibs (build.log.baselibs,12.10 KB, text/plain)
2014-04-10 01:16 UTC, eroen
Details
build.log.soundlibs (build.log.soundlibs,3.67 KB, text/plain)
2014-04-10 01:16 UTC, eroen
Details
build.log.gtklibs (build.log.gtklibs,10.62 KB, text/plain)
2014-04-10 01:16 UTC, eroen
Details
diff -u emul-linux-x86-baselibs/files/remove-native-{20131008-r22,20140406} (file_507292.txt,7.69 KB, patch)
2014-04-11 03:34 UTC, eroen
Details | Diff
diff -u emul-linux-x86-soundlibs/files/remove-native-{,20140406} (file_507292.txt,9.40 KB, patch)
2014-04-11 03:40 UTC, eroen
Details | Diff
diff -u emul-linux-x86-baselibs/files/remove-native-{20131008-r4,20140406} (file_507292.txt,2.96 KB, patch)
2014-04-11 03:42 UTC, eroen
Details | Diff
Patch files/remove-native-20140406 (emul-linux-x86-gtklibs_remove_native_20131008-r4_to_20140406.patch,865 bytes, patch)
2014-04-14 14:06 UTC, Sven Eden
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2014-04-10 01:16:13 UTC
Created attachment 374648 [details]
build.log.baselibs

Despite the weird output from emerge, none of the colliding files are orphans according to `qfile -o`.
Comment 1 eroen 2014-04-10 01:16:36 UTC
Created attachment 374650 [details]
build.log.soundlibs
Comment 2 eroen 2014-04-10 01:16:48 UTC
Created attachment 374652 [details]
build.log.gtklibs
Comment 3 eroen 2014-04-10 01:31:21 UTC
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19, 3.12.5e0-falcon0+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.5e0-falcon0+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4037884 total,   1167456 free
KiB Swap:    8388604 total,   5322676 free
Timestamp of tree: Wed, 09 Apr 2014 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p46-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.2.5-r3, 3.3.5, 3.4.0
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3-r1, 4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo gamerlay eroen
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -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/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/var/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --verbose-conflicts --with-bdeps=y --binpkg-respect-use y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=""
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/var/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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/eroen"
SYNC="rsync://rsync.no.gentoo.org/gentoo-portage/"
USE="X a52 aac aacs accessibility acl adns alsa amd64 ao berkdb bluray bs2b bzip2 cairo calendar canberra caps cdda cdio cdparanoia cdr cli corefonts cracklib crypt css cue cups curl cxx dbus dia dirac djvu dmapi dri dts dvd dvdnav dvi ebook eigen exif faac fam fbcondecor ffmpeg fftw fits flac fontconfig fortran fuse g3dvl gcrypt gd gdbm gif gimp git gmp gnutls gold gstreamer hdri highlight iconv icu id3tag idn imagemagick inotify iptc ipv6 jpeg jpeg2k kde kvm lcms lensfun libnotify loop-aes lqr lzma lzo mad man matroska midi mikmod mkv mms mmx mmxext mng mod modplug modules mp3 mp4 mpeg mpeg2 mpeg4 mpeg4pt2 mplayer mtp multilib musepack ncurses netlink nfs nls nouveau nptl ocr offensive ogg openal opencl openexr opengl opengtl openmp openvg optimization osmesa pam pango pcre pdf png pnm portaudio postscript qalculate qemu qt3support qt4 rar raw rdesktop readline real rtmp samba scanner schroedinger security session smp sndfile socks5 speex spice sse sse2 sse3 ssl ssse3 strong-optimization svg tbb tcpd theora threads tiff timidity tls truetype udev uml unicode usb usbredir v4l v4l2 vdpau virtualbox vnc vorbis wacom wavpack webp wmf x264 xattr xcb xcomposite xetex xfs xft xine xinerama xorg xps xrandr xv xvid xvmc zlib" ABI_X86="32
64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="biosdevname caps crypt crypt-gpg dash dmraid lvm mdraid syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-console presenter-minimizer" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4" QEMU_SOFTMMU_TARGETS="m68k ppc x86_64" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="menu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.2 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[ebuild     U ] app-emulation/emul-linux-x86-baselibs-20140406 [20131008-r22] USE="development" ABI_X86="32"
[ebuild     U ] app-emulation/emul-linux-x86-opengl-20140406 [20131008] USE="development" ABI_X86="32"
[ebuild     U ] app-emulation/emul-linux-x86-gtklibs-20140406 [20131008-r4] USE="development" ABI_X86="32"
[ebuild     U ] app-emulation/emul-linux-x86-soundlibs-20140406 [20131008-r2] USE="alsa development -pulseaudio" ABI_X86="32"
Comment 4 eroen 2014-04-11 03:34:49 UTC
Created attachment 374712 [details, diff]
diff -u emul-linux-x86-baselibs/files/remove-native-{20131008-r22,20140406}

The new emul-linux-x86-* versions seem to work well for me so far, so I'll attach my draft for modifications to remove-native files.

For emul-linux-x86-baselibs, it is of particular note that some of the other e-x-x86 packages link against libgdbm.so.3 et al., while the native-multilib converted version of gdbm provides .4.

Also some other thoughts about the dependencies: Perhaps the libpng dep should be bumped to >=media-libs/libpng-1.6.3-r1 to have the same soname for the libraries. Also, it appears that dependencies for >=media-libs/libmng-1.10.2-r2 and >=app-arch/xz-utils-5.0.5-r1 are missing from ebuild.
Comment 5 eroen 2014-04-11 03:38:24 UTC
Also, I was unable to determine why the following lines were in remove-native:

usr/lib32/perl5/5.12.4/i686-linux/auto/GDBM_File/GDBM_File.so
usr/lib32/perl5/5.12.4/i686-linux/auto/NDBM_File/NDBM_File.so
usr/lib32/python2.7/lib-dynload/dbm.so
usr/lib32/python3.2/lib-dynload/_dbm.cpython-32.so
usr/lib32/python2.7/lib-dynload/gdbm.so
usr/lib32/python3.2/lib-dynload/_gdbm.cpython-32.so
usr/lib32/python*/site-packages/libxml2mod.so
Comment 6 eroen 2014-04-11 03:40:11 UTC
Created attachment 374714 [details, diff]
diff -u emul-linux-x86-soundlibs/files/remove-native-{,20140406}

I was unable to determine why this line was in the old remove-native:

usr/lib32/libaoss.so
Comment 7 eroen 2014-04-11 03:42:27 UTC
Created attachment 374716 [details, diff]
diff -u emul-linux-x86-baselibs/files/remove-native-{20131008-r4,20140406}

Dependencies for >=media-gfx/graphite2-1.2.4-r1 and >=media-libs/harfbuzz-0.9.26-r1 should probably be added.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-11 16:07:37 UTC
*** Bug 507416 has been marked as a duplicate of this bug. ***
Comment 9 Pacho Ramos gentoo-dev 2014-04-12 08:39:04 UTC
+  12 Apr 2014; Pacho Ramos <pacho@gentoo.org> files/remove-native-20140406:
+  Updated remove-native file (#507292 by eroen)
+
+  12 Apr 2014; Pacho Ramos <pacho@gentoo.org> +files/remove-native-20140406,
+  emul-linux-x86-soundlibs-20140406.ebuild:
+  Updated remove-native file (#507292 by eroen)
+

Try with this please
Comment 10 Sven Eden 2014-04-14 08:50:22 UTC
(In reply to Pacho Ramos from comment #9)
> +  12 Apr 2014; Pacho Ramos <pacho@gentoo.org> files/remove-native-20140406:
> +  Updated remove-native file (#507292 by eroen)
> +
> +  12 Apr 2014; Pacho Ramos <pacho@gentoo.org> +files/remove-native-20140406,
> +  emul-linux-x86-soundlibs-20140406.ebuild:
> +  Updated remove-native file (#507292 by eroen)
> +
> 
> Try with this please

For me this did the trick, no more file collisions with "USE="abi_x86_32 development" when merging app-emulation/emul-linux-x86-baselibs-20140406-r1.
Comment 11 Sven Eden 2014-04-14 10:51:31 UTC
app-emulation/emul-linux-x86-soundlibs-20140406 merges fine, too.

Unfortunately app-emulation/emul-linux-x86-gtklibs-20140406 still has file collisions:

========
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * x11-libs/pixman-0.32.4:0::gentoo
 *      /usr/lib32/libpixman-1.so.0.32.4
 * 
 * x11-libs/pangox-compat-0.0.2-r1:0::gentoo
 *      /usr/lib32/libpangox-1.0.so.0.0.0
 * 
 * x11-libs/gdk-pixbuf-2.30.7-r1:2::gentoo
 *      /usr/lib32/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-xpm.so
 * 
 * media-gfx/graphite2-1.2.4-r1:0::gentoo
 *      /usr/lib32/libgraphite2.so.3.0.1
 * 
 * Package 'app-emulation/emul-linux-x86-gtklibs-20140406' NOT merged due
 * to file collisions. If necessary, refer to your elog messages for the
 * whole content of the above message.
========

Thank you very much for your work, Pacho!
Comment 12 Sven Eden 2014-04-14 14:06:55 UTC
Created attachment 374910 [details, diff]
Patch files/remove-native-20140406

After copying files/remove-native-20131008-r4 to files/remove-native-20140406 (there was no such file) and changing a few lines (see patch), emul-linux-x86-gtklibs-20140406 was successfully merged on my system.
Comment 13 Pacho Ramos gentoo-dev 2014-04-15 21:18:35 UTC
+  15 Apr 2014; Pacho Ramos <pacho@gentoo.org> +files/remove-native-20140406:
+  Update remove-native file, bug #507292#c12 by Sven Eden
+