Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 660438 - media-video/simplescreenrecorder install libraries into /usr/lib32
Summary: media-video/simplescreenrecorder install libraries into /usr/lib32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-05 10:01 UTC by Mike Hiretsky
Modified: 2019-06-12 09:18 UTC (History)
3 users (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 Mike Hiretsky 2018-07-05 10:01:05 UTC
Line in ebuild '-DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"' may be interpreted as -DENABLE_32BIT_GLINJECT="true"

--- /usr/portage/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11.ebuild	2018-05-24 14:33:11.290296600 +0300
+++ /home/mhiretskiy/.project/overlay/media-video/simplescreenrecorder/simplescreenrecorder-0.3.11-r1.ebuild	2018-07-05 12:53:53.641575192 +0300
@@ -72,13 +72,17 @@
 
 multilib_src_configure() {
 	local mycmakeargs=(
-		-DENABLE_32BIT_GLINJECT="$(usex abi_x86_32)"
 		-DENABLE_X86_ASM="$(usex asm)"
 		-DWITH_PULSEAUDIO="$(multilib_native_usex pulseaudio)"
 		-DWITH_JACK="$(multilib_native_usex jack)"
 		-DWITH_GLINJECT="true"
 	)
 
+	if [[ ${ABI} == amd64 ]] && use abi_x86_32
+	then
+		mycmakeargs+=( -DENABLE_32BIT_GLINJECT="true" )
+	fi
+
 	# libav doesn't have AVFrame::channels
 	# https://github.com/MaartenBaert/ssr/issues/195#issuecomment-45646159
 	if has_version media-video/libav ; then
Comment 1 Christian Tietz 2019-06-06 22:40:09 UTC
This is becoming more urgent now, as 17.1 profiles have hit stable.
Comment 2 Fab 2019-06-07 20:21:53 UTC
Confirming.

After 17.1 profile migration I'm getting :
> $ qfile /usr/lib32
> media-video/simplescreenrecorder (/usr/lib32)
Comment 3 jms 2019-06-11 17:37:49 UTC
confirming++

after migration to 17.1 profile and 
done emerge -1v /lib32 /usr/lib32 
successfully doing  emerge -1v /lib32 /usr/lib32 
want to rebuild media-video/simplescreenrecorder-0.3.11-r1

 emerge -1v /lib32 /usr/lib32 

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

Calculating dependencies... done!
[ebuild   R   ~] media-video/simplescreenrecorder-0.3.11-r1::gentoo  USE="asm mp3 pulseaudio vorbis vpx x264 -jack -theora" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

doing emerge and building it with success something will remain and 

 emerge -1v /lib32 /usr/lib32 will still want to rebuild media-video/simplescreenrecorder-0.3.11-r1
Comment 4 Larry the Git Cow gentoo-dev 2019-06-12 09:18:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e546bf3c945c6ca8617bd2f48ceae041c931570

commit 5e546bf3c945c6ca8617bd2f48ceae041c931570
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-06-12 08:58:42 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-06-12 09:18:27 +0000

    media-video/simplescreenrecorder: Do not install into /usr/lib32
    
    with 17.1 profiles or newer.
    
    Thanks-to: Mike Hiretsky <mh@calculate.ru>
    Closes: https://bugs.gentoo.org/660438
    Package-Manager: Portage-2.3.67, Repoman-2.3.14
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 ...build => simplescreenrecorder-0.3.11-r2.ebuild} | 40 +++++++++++++++-------
 1 file changed, 28 insertions(+), 12 deletions(-)