Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628290 - media-libs/libtxc_dxtn-1.0.1-r2 breaks multilib
Summary: media-libs/libtxc_dxtn-1.0.1-r2 breaks multilib
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-19 11:49 UTC by Karl-Johan Karlsson
Modified: 2017-08-19 18:01 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl-Johan Karlsson 2017-08-19 11:49:42 UTC
On an AMD64 system, I currently have:


media-libs/libtxc_dxtn-1.0.1-r1::gentoo was built with the following:
USE="" ABI_X86="32 (64) (-x32)"


Attempting to upgrade to media-libs/libtxc_dxtn-1.0.1-r2 fails with:


$ emerge -pv '=media-libs/libtxc_dxtn-1.0.1-r2'

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

Calculating dependencies... done!
[ebuild     U  ] media-libs/libtxc_dxtn-1.0.1-r2::gentoo [1.0.1-r1::gentoo] ABI_X86="(-32%*) (-64%*) (-x32%)" 210 KiB

Total: 1 package (1 upgrade), Size of downloads: 210 KiB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

media-libs/libtxc_dxtn:0

  (media-libs/libtxc_dxtn-1.0.1-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    =media-libs/libtxc_dxtn-1.0.1-r2 (Argument)

  (media-libs/libtxc_dxtn-1.0.1-r1:0/0::gentoo, installed) pulled in by
    media-libs/libtxc_dxtn[abi_x86_32] required by (games-util/steam-games-meta-0-r20160812:0/0::steam-overlay, installed)
                           ^^^^^^^^^^                                                                                                                         
    >=media-libs/libtxc_dxtn-1.0.1-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (app-emulation/wine-2.3:0/0::gentoo, installed)


Compiling 1.0.1-r2 using the "ebuild" command shows that the 32-bit library is not built anymore:


# ebuild /usr/portage/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r1.ebuild compile install
# ebuild /usr/portage/media-libs/libtxc_dxtn/libtxc_dxtn-1.0.1-r2.ebuild compile install
# tree /var/tmp/portage/media-libs/libtxc_dxtn-1.0.1-r*/image/
/var/tmp/portage/media-libs/libtxc_dxtn-1.0.1-r1/image/
`-- usr
    |-- include
    |   `-- txc_dxtn.h
    |-- lib32
    |   `-- libtxc_dxtn.so
    `-- lib64
        `-- libtxc_dxtn.so
/var/tmp/portage/media-libs/libtxc_dxtn-1.0.1-r2/image/
`-- usr
    |-- include
    |   `-- txc_dxtn.h
    `-- lib64
        `-- libtxc_dxtn.so


Is there a reason for the multilib functionality being removed? If not, could it be put back?
Comment 1 Andrei Slavoiu 2017-08-19 13:50:23 UTC
Can confirm the problem, except I don't have steam-games-meta installed so portage went right away and installed the update breaking all 32bit games.

This is qlist with revision 2:

/usr/lib64/libtxc_dxtn.so
/usr/include/txc_dxtn.h
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r2/libtxc_dxtn-1.0.1/txc_compress_dxtn.c
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r2/libtxc_dxtn-1.0.1/txc_dxtn.h
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r2/libtxc_dxtn-1.0.1/txc_fetch_dxtn.c

and this is with revision 1:

/usr/lib32/libtxc_dxtn.so
/usr/include/txc_dxtn.h
/usr/lib64/libtxc_dxtn.so
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r1/libtxc_dxtn-1.0.1-abi_x86_64.amd64/.keepdir
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r1/libtxc_dxtn-1.0.1/txc_compress_dxtn.c
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r1/libtxc_dxtn-1.0.1/txc_dxtn.h
/usr/src/debug/media-libs/libtxc_dxtn-1.0.1-r1/libtxc_dxtn-1.0.1/txc_fetch_dxtn.c
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-08-19 18:01:11 UTC
commit f59786957cd7d38180c74cfa26f3beece64aae01 (HEAD -> master, origin/master, origin/HEAD)
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sat Aug 19 20:00:22 2017

    media-libs/libtxc_dxtn: Revbump to re-add multilib support.

    (which I stupidly forgot to add in -r2)

    Package-Manager: Portage-2.3.8, Repoman-2.3.3