Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461608 - x11-libs/libX11-1.5.0-r1: ABI_X86="32* (64) (-x32)" and =x11-libs/libX11-1.5.0-r1 abi_x86_32
Summary: x11-libs/libX11-1.5.0-r1: ABI_X86="32* (64) (-x32)" and =x11-libs/libX11-1.5....
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 08:03 UTC by Juergen Rose
Modified: 2015-08-29 19:59 UTC (History)
21 users (show)

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


Attachments
A patch adding USE=abi_x86_32 behavior-switch to emul-linux (emul-linux-x86-multilib.patch,4.39 KB, patch)
2013-03-13 20:58 UTC, Michał Górny
Details | Diff
List (1,1.99 KB, text/plain)
2013-03-13 22:08 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2013-03-13 08:03:21 UTC
'emerge -uvDN world' fails with:

root@caiman:/root(2)# emerge -uvDN world
...
[ebuild   R    ] x11-proto/inputproto-2.3  ABI_X86="32* (64) (-x32)" 0 kB
...
[ebuild   R    ] x11-libs/libX11-1.5.0-r1  USE="doc ipv6 -static-libs {-test}" ABI_X86="32* (64) (-x32)" 0 kB
...

Total: 60 packages (11 upgrades, 49 reinstalls), Size of downloads: 18,368 kB
Conflict: 1 block

WARNING: One or more updates have been skipped due to a dependency conflict:

sci-libs/netcdf:0
  (sci-libs/netcdf-4.2.1.1::gentoo, ebuild scheduled for merge) conflicts with
    ~sci-libs/netcdf-4.1.3[cxx,hdf5] required by (sci-visualization/paraview-3.98.0::gentoo, installed)
app-misc/pax-utils:0
  (app-misc/pax-utils-0.6::gentoo, ebuild scheduled for merge) conflicts with
    <app-misc/pax-utils-0.6 required by (sys-kernel/genkernel-3.4.45::gentoo, installed)
The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by x11-libs/libXinerama-1.1.2-r1
# required by app-emulation/emul-linux-x86-xlibs-20130224-r1
# required by app-emulation/emul-linux-x86-opengl-20130224
# required by sci-geosciences/googleearth-7.0.3.8542
# required by @selected
# required by @world (argument)
=x11-proto/xineramaproto-1.2.1-r1 abi_x86_32
...
# required by x11-libs/libXi-1.7
# required by app-emulation/emul-linux-x86-xlibs-20130224-r1
# required by app-emulation/emul-linux-x86-opengl-20130224
# required by sci-geosciences/googleearth-7.0.3.8542
# required by @selected
# required by @world (argument)
=x11-libs/libX11-1.5.0-r1 abi_x86_32
# required by @world (argument)
=x11-proto/fixesproto-5.0-r1 abi_x86_32

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
root@caiman:/root(5)# 

If I add abi_x86_32 to the USE flags in /etc/make.conf, 'emerge -uvDN world' fails with:

root@caiman:/root(5)# emerge -uvDN world

These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! The ebuild selected to satisfy "sci-libs/fftw:3.0" has unmet requirements.
- sci-libs/fftw-3.3.3-r2::gentoo USE="doc fortran mpi openmp sse sse2 threads (-altivec) -avx -fma (-neon) -quad -static-libs -test (-zbus)" ABI_X86="32 64 -x32"
  The following REQUIRED_USE flag constraints are unsatisfied:
    amd64? ( abi_x86_32? ( !mpi ) )
  The above constraints are a subset of the following complete expression:
    amd64? ( abi_x86_32? ( !mpi !quad ) )
(dependency required by "media-gfx/imagemagick-6.7.9.9[fftw]" [installed])
...
I guessed, that I could remove the mpi USE flag from fftw. This results in:

[ebuild     U  ] app-emulation/emul-linux-x86-xlibs-20130224-r1 [20130224] USE="(development) opengl" 0 kB
[blocks b      ] x11-libs/libXinerama[abi_x86_32] ("x11-libs/libXinerama[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXrandr[abi_x86_32] ("x11-libs/libXrandr[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXp[abi_x86_32] ("x11-libs/libXp[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXcursor[abi_x86_32] ("x11-libs/libXcursor[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXvMC[abi_x86_32] ("x11-libs/libXvMC[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libpciaccess[abi_x86_32] ("x11-libs/libpciaccess[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXpm[abi_x86_32] ("x11-libs/libXpm[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] media-libs/fontconfig[abi_x86_32] ("media-libs/fontconfig[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXft[abi_x86_32] ("x11-libs/libXft[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXxf86vm[abi_x86_32] ("x11-libs/libXxf86vm[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libxcb[abi_x86_32] ("x11-libs/libxcb[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] media-libs/freetype[abi_x86_32] ("media-libs/freetype[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] <=app-emulation/emul-linux-x86-xlibs-20130224 ("<=app-emulation/emul-linux-x86-xlibs-20130224" is blocking x11-libs/libXdmcp-1.1.1-r1, x11-libs/libXtst-1.2.1-r1, media-libs/freetype-2.4.11-r2, x11-libs/libXt-1.1.3-r1, x11-proto/renderproto-0.11.1-r1, x11-libs/libXrandr-1.4.0-r1, x11-libs/libXcomposite-0.4.4-r1, x11-proto/xf86vidmodeproto-2.3.1-r1, x11-proto/xineramaproto-1.2.1-r1, x11-libs/libXxf86vm-1.1.2-r1, x11-libs/libXpm-3.5.10-r1, media-libs/fontconfig-2.10.2-r1, x11-proto/inputproto-2.3, x11-libs/libXdamage-1.1.4-r1, x11-proto/xf86bigfontproto-1.2.0-r1, x11-libs/libXaw-1.0.11-r2, x11-libs/libICE-1.0.8-r1, x11-libs/libvdpau-0.5-r1, x11-proto/xproto-7.0.23-r2, x11-libs/libX11-1.5.0-r1, x11-libs/libXi-1.7, x11-libs/libXmu-1.1.1-r1, x11-libs/libxcb-1.9-r1, x11-libs/libXau-1.0.7-r1, x11-libs/libXxf86dga-1.1.3-r1, x11-proto/xextproto-7.2.1-r1, x11-proto/damageproto-1.2.1-r1, x11-proto/recordproto-1.14.2-r1, x11-proto/scrnsaverproto-1.2.2-r1, x11-libs/libXScrnSaver-1.2.2-r1, x11-libs/libXfixes-5.0-r1, x11-libs/libXext-1.3.1-r1, x11-libs/libXinerama-1.1.2-r1, x11-proto/kbproto-1.0.6-r1, x11-proto/xcb-proto-1.8-r1, x11-proto/compositeproto-0.4.2-r1, dev-libs/libpthread-stubs-0.3-r1, x11-proto/videoproto-2.3.1-r1, x11-proto/randrproto-1.4.0-r1, x11-libs/libXv-1.0.7-r1, x11-proto/xf86dgaproto-2.1-r2, x11-proto/fixesproto-5.0-r1, x11-libs/libXvMC-1.0.7-r1, x11-proto/printproto-1.0.5-r1, x11-libs/libpciaccess-0.13.1-r1, x11-libs/libXcursor-1.1.13-r1, x11-libs/libXp-1.0.1-r1, x11-libs/libXrender-0.9.7-r1, x11-libs/libSM-1.2.1-r1, x11-libs/libXft-2.3.1-r1)
[blocks b      ] x11-libs/libXau[abi_x86_32] ("x11-libs/libXau[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXfixes[abi_x86_32] ("x11-libs/libXfixes[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libSM[abi_x86_32] ("x11-libs/libSM[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXmu[abi_x86_32] ("x11-libs/libXmu[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXrender[abi_x86_32] ("x11-libs/libXrender[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libICE[abi_x86_32] ("x11-libs/libICE[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXaw[abi_x86_32] ("x11-libs/libXaw[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXxf86dga[abi_x86_32] ("x11-libs/libXxf86dga[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXv[abi_x86_32] ("x11-libs/libXv[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXScrnSaver[abi_x86_32] ("x11-libs/libXScrnSaver[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXdmcp[abi_x86_32] ("x11-libs/libXdmcp[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXcomposite[abi_x86_32] ("x11-libs/libXcomposite[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXtst[abi_x86_32] ("x11-libs/libXtst[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXdamage[abi_x86_32] ("x11-libs/libXdamage[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXext[abi_x86_32] ("x11-libs/libXext[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXt[abi_x86_32] ("x11-libs/libXt[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libvdpau[abi_x86_32] ("x11-libs/libvdpau[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libXi[abi_x86_32] ("x11-libs/libXi[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks b      ] x11-libs/libX11[abi_x86_32] ("x11-libs/libX11[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks B      ] >=sci-libs/fftw-3.3.3-r1[abi_x86_32] (">=sci-libs/fftw-3.3.3-r1[abi_x86_32]" is blocking app-emulation/emul-linux-x86-soundlibs-20130224)

Total: 68 packages (13 upgrades, 2 new, 53 reinstalls), Size of downloads: 23,521 kB
Conflict: 33 blocks (1 unsatisfied)


Then I removed the abi_x86_32 USE flag from fftw. With this change 'emerge -uvDN world' still complains about 32 blocking packages, but it begins to emerge world.

'eselect news list' does not list any information about ABI_X86. 'ufed' does not anything about abi_x86_32. In /usr/portage_impala/profiles/desc/abi_x86.desc I find "Please do not add anything without prior discussion on gentoo-dev". I also googled for "ABI_X86" and found:
http://forums.funtoo.org/viewtopic.php?pid=8968
http://blog.flameeyes.eu/2012/06/debunking-x32-myths

If there are changes in portage with such a deep impact, I would really like to get some more information, e.g. some recommendation, how to set ABI_X86 , where to set abi_x86_32, etc.

Reproducible: Always
Comment 1 Juergen Rose 2013-03-13 08:03:32 UTC
root@caiman:/root(1)# emerge --info
Portage 2.1.11.55 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.16.0, 3.8.2-gentoo x86_64)
=================================================================
System uname: Linux-3.8.2-gentoo-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
KiB Mem:    16178872 total,   4961536 free
KiB Swap:  100663280 total, 100663280 free
Timestamp of tree: Wed, 13 Mar 2013 03:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x11 bicatali science sunrise lisp sabayon x-portage x-cpan x-g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL Intel-SDP dlj-1.1 skype-eula skype-4.0.0.7-copyright googleearth AdobeFlash-11.x cadsoft Oracle-BCLA-JavaSE MakeMKV-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/x11 /var/lib/layman/bicatali /var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/lisp /var/lib/layman/sabayon /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit R X Xaw3d a52 aac acl acpi admin afs alsa amd64 ao apache2 apng applet archive armadillo arpack asf aspell assistant atlas audacious audiofile automap automount bash-completion berkdb blas blast bluetooth bluray boo boost bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cgi chm cli consolekit corba cracklib crypt css cups curl cxx daap db dbi dbm dbus declarative designer devhelp device-mapper dga dia dirac djvu doc dot dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds egl elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras faac faad ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpm fpx fts3 fuse g3dvl gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp git glade glib glpk gml gmp gnome gnome-keyring gnome-print gnuplot gnutls gold gphoto2 gpm grammar graphics graphtft graphviz grass gsl gsm gstreamer gtk gtk3 gudev guile harness hddtemp hdf hdf5 hdri html http httpd hvm hwdb iconv icq icu id3 id3tag ide imagemagick imap inotify introspection ipod ipv6 irda ithreads jabber jadetex java java6 jbig john jpeg jpeg2k kate kdepim kdrive kerberos keymap kpathsea kqemu kvm ladspa lame lapack latex lcms ldap lensfun libffi libkms libnotify libsamplerate live lm_sensors lua lzo mad mail maildir mapnik math matroska media-library mercurial mikmod mkl mmx mmxext mng mod modules mono motif mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz mysql mysqli nautilus ncurses netcdf netpbm network networking networkmanager nfs nls nntp nptl nsplugin ntfs ntp numpy obex objc ocaml ocr octave odbc ofa ogdi ogg openexr opengl openmp overview pam pcre pda pdf perl plasma plotutils plugins png podcast policykit portaudio posix postgres postscript ppds preview-latex proj projectm projectx pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime raw readline reiserfs reports rhythmbox rle romio rpc rrdcgi rrdtool sage samba sasl schroedinger science sdk sdl secure-delete semantic-desktop server session shout sip slang slp smart smbclient smp sms sndfile snmp soap sockets sound soup sox speex spell sql sqlite sse sse2 sse4a ssl stlport subtitles subversion sudo suexec svg svm swig szip t1lib tcl tcpd tex tex4ht texmacs tgif theora thesaurus threads thunderbird tidy tiff tk toolbar tools truetype udev udisks unicode usb userlocales utempter v4l vaapi vala vdpau video virt-network virtualbox visio vorbis vpx wav webdav webdav-serf webkit wmf wxwidgets x264 xa xattr xcb xemacs xetex xext xft xine xml xmlreader xmlrpc xpm xv xvid xvmc yaml youtube zlib zvbi" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info lbmethod_byrequests log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif slotmem_shm so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon fuji ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" DRACUT_MODULES="caps 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 ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de fr ru" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Nikolay S. Rybaloff 2013-03-13 10:16:00 UTC
The emul-linux-x86-xlibs/emul-linux-x86-xlibs-20130224-r1 rdepends on those x11 libraries with x86_32 abi. Isnt this package expected to provide blobs instead of forcing portage to build them? A typo maybe?
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-03-13 19:46:11 UTC
# Markos Chandras <hwoarang@gentoo.org> (13 Mar 2013)
# Mask because breaking updates out of the blue is bad
# See 461608. Unmask it only if you want abi_x86_32
# which means you have ABI_X86=32 set in your make.conf
=app-emulation/emul-linux-x86-xlibs-20130224-r1

Masked until this revbump is explained in details and an update path is set.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-13 20:03:53 UTC
I see that we need some more transition helpers. My current idea is to provide the emul-linux -r1 version with USE=abi_x86_32 (like other multilib ebuilds).

With USE=-abi_x86_32, the ebuild would work the usual way and install the 32-bit libraries. It won't pull any of the multilib deps, so 'regular' users shouldn't be affected.

With USE=abi_x86_32, the ebuild would pull all the new deps. That shouldn't be a problem since user having that flag is most likely to have it enabled globally already.

What are your thoughts? Pacho?
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-13 20:58:43 UTC
Created attachment 341948 [details, diff]
A patch adding USE=abi_x86_32 behavior-switch to emul-linux

And a patch doing what I told. It's a quick solution, there probably could be a better one with modifying the eclass. Please express your opinion. If you like it, feel free to commit it without waiting for me.
Comment 6 Pacho Ramos gentoo-dev 2013-03-13 22:03:31 UTC
(In reply to comment #4)
> What are your thoughts? Pacho?

I would prefer to have two revisions in the tree until things are migrated:
1. One (lower) revision that is the one people from stable will see, and is the current prebuilt package.
2. Second (upper) revision that will be kept as-is, I mean, as a meta package for providing the same libs as current emul packages does... but this will only be needed until people properly sets RDEPENDs on their packages to:
|| ( <"old emul package" "exact libs package needs" )
Comment 7 Pacho Ramos gentoo-dev 2013-03-13 22:08:28 UTC
Created attachment 341956 [details]
List

List of packages RDEPENDing on xlib emul set that should also RDEPEND on exact libs they need
Comment 8 Juergen Rose 2013-03-14 07:16:38 UTC
Today 'emerge -uvND world' fails here with 32 blocks:

root@caiman:/root(1)# emerge -uvDN world
...
[ebuild     UD ] app-emulation/emul-linux-x86-xlibs-20130224 [20130224-r1] USE="development opengl" 0 kB
...
[blocks B      ] x11-libs/libXrandr[abi_x86_32] ("x11-libs/libXrandr[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks B      ] x11-libs/libXinerama[abi_x86_32] ("x11-libs/libXinerama[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
...
[blocks B      ] x11-libs/libXp[abi_x86_32] ("x11-libs/libXp[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)
[blocks B      ] x11-libs/libX11[abi_x86_32] ("x11-libs/libX11[abi_x86_32]" is blocking app-emulation/emul-linux-x86-xlibs-20130224)

Total: 11 packages (8 upgrades, 1 downgrade, 2 new), Size of downloads: 32,786 kB
Conflict: 32 blocks (32 unsatisfied)


If I remove the abi_x86_32 USE flag from /etc/make.conf, 'emerge -uvND world' works again.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-14 07:50:18 UTC
(In reply to comment #6)
> (In reply to comment #4)
> > What are your thoughts? Pacho?
> 
> I would prefer to have two revisions in the tree until things are migrated:
> 1. One (lower) revision that is the one people from stable will see, and is
> the current prebuilt package.
> 2. Second (upper) revision that will be kept as-is, I mean, as a meta
> package for providing the same libs as current emul packages does... but
> this will only be needed until people properly sets RDEPENDs on their
> packages to:
> || ( <"old emul package" "exact libs package needs" )

The problem with that is that there is no 'simple' way of avoiding people seeing blockers.

1. If people set -abi_x86_32, the new emul-linux package requests them to enable it,

2. If people enable it globally, they see fftw blocking emul-linux.

We could just bump that emul-linux and remove fftw but I feel like the more general solution I suggested would be more friendly to maintain both variants in a friendly manner until all necessary libraries are converted.

On the other hand, migrating all the rev-deps to even something as simple as '|| ( emul-linux ( libfoo[abi...] libbar[abi...] ) )' right now (+revbumps) will simply solve the issue through removing packages pulling in emul-linux.
Comment 10 Pacho Ramos gentoo-dev 2013-03-14 19:34:59 UTC
(In reply to comment #9)
[...]
> The problem with that is that there is no 'simple' way of avoiding people
> seeing blockers.
> 
> 1. If people set -abi_x86_32, the new emul-linux package requests them to
> enable it,

Why portage doesn't simply skip the update to -r1 then? :/
 
> 2. If people enable it globally, they see fftw blocking emul-linux.
> 
> We could just bump that emul-linux and remove fftw but I feel like the more
> general solution I suggested would be more friendly to maintain both
> variants in a friendly manner until all necessary libraries are converted.
> 
> On the other hand, migrating all the rev-deps to even something as simple as
> '|| ( emul-linux ( libfoo[abi...] libbar[abi...] ) )' right now (+revbumps)
> will simply solve the issue through removing packages pulling in emul-linux.

This is the approach that looks the best to me, as this work will need to be done sooner or later (since emul packages, even metapackages, should be dropped in the future)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-14 21:25:23 UTC
Me, hwoarang and pacho had a little discussion on IRC today, and we agreed on doing the following for now:

1) leaf packages will support both emul-linux and multilib package dependencies.

A package which depends on emul-linux-x86-xlibs now will read:

  || (
    app-emulation/emul-linux-x86-xlibs
    (
      x11-libs/libX11[abi_x86_32]
      ...
    )
  )

That is, emul-linux will still be preferred but users having abi_x86_32 flag enabled will also have the dep satisfied.


2) 'meta-package' emul-linux packages will be kept masked during the transitional period.

Those packages will pull in multilib packages like they do now. They will be only intended to satisfy the deps of out-of-tree packages during the transitional period. When all packages are converted, those packages will no longer be necessary.


3) abi_x86_32 will stay disabled by default until majority of packages is migrated.

Otherwise, migrating further packages will result in a growing number of blockers which will require users to disable abi_x86_32 on packages, and then re-enable them when all packages are migrated...


So, generally we're talking about a migration and transitional period here. During the time, both emul-linux and multilib packages will be supported, and further packages will be migrated to multilib.

When everything is migrated, emul-linux will be masked for removal, and abi_x86_32 will be enabled by default by the multilib profile.

Unless someone objects, I will start updating the deps as stated in 1) tomorrow.
Comment 12 Alexis Ballier gentoo-dev 2013-03-15 10:41:58 UTC
(In reply to comment #11)
> Me, hwoarang and pacho had a little discussion on IRC today, and we agreed
> on doing the following for now:
> 
> 1) leaf packages will support both emul-linux and multilib package
> dependencies.
> 
> A package which depends on emul-linux-x86-xlibs now will read:
> 
>   || (
>     app-emulation/emul-linux-x86-xlibs
>     (
>       x11-libs/libX11[abi_x86_32]
>       ...
>     )
>   )
> 
> That is, emul-linux will still be preferred but users having abi_x86_32 flag
> enabled will also have the dep satisfied.

Please do the other way around (x11-libs/libX11[abi_x86_32] comes first in the ||): users having the abi_x86_32 flag enabled will get the non-prebuild packages prefered and the others will have the prebuild one.
Since the plan is to remove prebuild packages, making non-prebuilt packages the default as soon as they can seems to be the only solution.
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-15 14:32:03 UTC
(In reply to comment #12)
> >   || (
> >     app-emulation/emul-linux-x86-xlibs
> >     (
> >       x11-libs/libX11[abi_x86_32]
> >       ...
> >     )
> >   )
> > 
> > That is, emul-linux will still be preferred but users having abi_x86_32 flag
> > enabled will also have the dep satisfied.
> 
> Please do the other way around (x11-libs/libX11[abi_x86_32] comes first in
> the ||): users having the abi_x86_32 flag enabled will get the non-prebuild
> packages prefered and the others will have the prebuild one.
> Since the plan is to remove prebuild packages, making non-prebuilt packages
> the default as soon as they can seems to be the only solution.

I'm afraid that this will cause portage to request all users to set abi_x86_32. So we would be back to the issue of longer-than-the-screen blocker list.
Comment 14 Alexis Ballier gentoo-dev 2013-03-16 14:09:47 UTC
(In reply to comment #13)
> I'm afraid that this will cause portage to request all users to set
> abi_x86_32. So we would be back to the issue of longer-than-the-screen
> blocker list.

Have you tested this ? I'm afraid it wont.

media-libs/foo $ cat foo-1.ebuild 
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

DESCRIPTION=""
HOMEPAGE=""
SRC_URI=""

LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="|| ( media-libs/soxr[abi_x86_32] media-sound/audacious )"
RDEPEND="${DEPEND}"


media-libs/foo $ emerge -pv media-libs/foo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-libs/bio2jack-0.9-r1  USE="-static-libs" 516 kB
[ebuild  N     ] media-sound/audacious-3.3.4  USE="nls -chardet" 513 kB
[ebuild  N     ] media-plugins/audacious-plugins-3.3.4  USE="aac alsa cdda ffmpeg flac fluidsynth gnome ipv6 jack lame libnotify libsamplerate midi mp3 nls pulseaudio sdl sndfile vorbis wavpack -adplug -bs2b -cue -lirc -mms -scrobbler -sid" 1,715 kB
[ebuild  N     ] media-libs/foo-1  0 kB

media-libs/foo $ USE=abi_x86_32 emerge -pv media-libs/foo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] media-libs/soxr-0.1.1  USE="-examples" ABI_X86="32 (64) (-x32)" 0 kB
[ebuild  N     ] media-libs/foo-1  0 kB
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-03-16 15:24:47 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > I'm afraid that this will cause portage to request all users to set
> > abi_x86_32. So we would be back to the issue of longer-than-the-screen
> > blocker list.
> 
> Have you tested this ? I'm afraid it wont.

Oh, nice to know. Something must have been improved in portage then. I'll go that way then. Thanks.
Comment 16 Andrew Savchenko gentoo-dev 2013-03-30 01:31:30 UTC
With app-emulation/emul-linux-x86-xlibs-20130224-r1 I had to enable ABI_X86="32 64" for the following packages:

x11-proto/*
x11-libs/*
media-libs/*
dev-libs/libpthread-stubs

Of course I'm happy to see this undone because aside from this dep I don't want ABI_X86="32" on this system, just multilib for a limited set of packeges.
Comment 17 Matt Turner gentoo-dev 2015-02-22 02:18:07 UTC
I have no idea what this bug report is trying to say. Presumably whatever it was is no longer a problem?