Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939909 - media-libs/x265-3.6 does not install x265 binary on native multilib (or only) arch
Summary: media-libs/x265-3.6 does not install x265 binary on native multilib (or only)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-20 19:00 UTC by Christian Schmidt
Modified: 2024-09-22 11:08 UTC (History)
2 users (show)

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


Attachments
System info for comparison between the hosts (info.txt,3.24 KB, text/plain)
2024-09-20 19:02 UTC, Christian Schmidt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schmidt 2024-09-20 19:00:31 UTC
On a non-multilib x86_64 system, no binary at all is installed. On a multilib system, a 32bit executable is installed instead of the expected 64bit:

uname -a
Linux golf 6.10.4-gentoo #4 SMP PREEMPT_DYNAMIC Wed Aug 14 11:33:53 CEST 2024 x86_64 AMD Ryzen Threadripper 2970WX 24-Core Processor AuthenticAMD GNU/Linux
file /usr/bin/x265
/usr/bin/x265: ELF 32-bit LSB pie executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, stripped

potentially caused by ebuild line 111-115:
        if multilib_is_native_abi; then
		mycmakeargs+=(
			-DENABLE_CLI="no"
		)
	fi
Comment 1 Christian Schmidt 2024-09-20 19:02:05 UTC
Created attachment 903433 [details]
System info for comparison between the hosts
Comment 2 Larry the Git Cow gentoo-dev 2024-09-22 11:08:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b7ffaeaa89f7cc50efc5e6b947f2853a0956aae

commit 4b7ffaeaa89f7cc50efc5e6b947f2853a0956aae
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-09-20 22:56:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-22 11:07:49 +0000

    media-libs/x265: build cli for native_abi only, fix bug 939909
    
    Old logic was $(multilib_is_native_abi || echo "-DENABLE_CLI=OFF"), so we need !
    here.
    
    Closes: https://bugs.gentoo.org/939909
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/38717
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/x265/{x265-3.5-r5.ebuild => x265-3.5-r6.ebuild} | 4 ++--
 media-libs/x265/{x265-3.6.ebuild => x265-3.6-r1.ebuild}    | 4 ++--
 media-libs/x265/x265-9999.ebuild                           | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)