Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536000 - [gamerlay overlay] games-arcade/shatter-1.0.20130609 - add multilib support
Summary: [gamerlay overlay] games-arcade/shatter-1.0.20130609 - add multilib support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vadim A. Misbakh-Soloviov (mva)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2015-01-08 09:09 UTC by zlg (RETIRED)
Modified: 2016-07-21 18:48 UTC (History)
0 users

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


Attachments
shatter-1.0.20130609.ebuild.patch (shatter-1.0.20130609.ebuild.patch,1.18 KB, patch)
2015-01-08 09:11 UTC, zlg (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description zlg (RETIRED) gentoo-dev 2015-01-08 09:09:33 UTC
I attempted to install Shatter on the new no-emul-linux profiles rolled out to assist in the switch to proper multilib support, when I found that the ebuild still relies on emul-linux packages on amd64. I've edited the ebuild and confirmed that it installs and runs correctly on a multilib amd64 system. A patch will be attached to this bug to demonstrate what was changed:

* corrected SDL dependency to use libsdl2
* Added libsteam_api.so to the /opt/ installation target
* Require abi_x86_32 USE flag on all of the dependencies found in the x86 set

Please offer feedback if I've edited this in a subpar way. I'm learning to edit ebuilds and be a little more useful to Gentoo.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge shatter from gamerlay while on the no-emul-linux profile (or have emul-linux-* masked)
2. Watch it error out.
Actual Results:  
Fails to build, citing unsatisfied dependencies.

Expected Results:  
Installing, of course :)

Here's the output of `ldd` when I installed using the shell script Shatter comes in:

	linux-gate.so.1 (0xf771e000)
	libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf75d2000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf75b8000)
	libSDL2-2.0.so.0 => /home/daniel/shatter-test/Shatter/lib/libSDL2-2.0.so.0 (0xf74d6000)
	libz.so.1 => /lib32/libz.so.1 (0xf74bd000)
	libCg.so => /home/daniel/shatter-test/Shatter/lib/libCg.so (0x41fd2000)
	libCgGL.so => /home/daniel/shatter-test/Shatter/lib/libCgGL.so (0x4e972000)
	libfmodex-4.36.21.so => /home/daniel/shatter-test/Shatter/lib/libfmodex-4.36.21.so (0xf7364000)
	libfmodevent-4.36.21.so => /home/daniel/shatter-test/Shatter/lib/libfmodevent-4.36.21.so (0xf72f5000)
	libfmodeventnet-4.36.21.so => /home/daniel/shatter-test/Shatter/lib/libfmodeventnet-4.36.21.so (0xf727b000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7140000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf712c000)
	libXft.so.2 => /usr/lib32/libXft.so.2 (0xf7115000)
	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf70d8000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf70d2000)
	libsteam_api.so => /home/daniel/shatter-test/Shatter/lib/libsteam_api.so (0xf70bf000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/32/libstdc++.so.6 (0xf6fd1000)
	libm.so.6 => /lib32/libm.so.6 (0xf6f8b000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/32/libgcc_s.so.1 (0xf6f70000)
	libc.so.6 => /lib32/libc.so.6 (0xf6dd0000)
	libnvidia-tls.so.346.22 => /usr/lib32/libnvidia-tls.so.346.22 (0xf6dcb000)
	libnvidia-glcore.so.346.22 => /usr/lib32/libnvidia-glcore.so.346.22 (0xf4742000)
	/lib/ld-linux.so.2 (0xf7720000)
	librt.so.1 => /lib32/librt.so.1 (0xf4739000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf4715000)
	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf466c000)
	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf4661000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf4636000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf4632000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf462b000)
	libbz2.so.1 => /usr/lib32/libbz2.so.1 (0xf4619000)
	libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf45df000)

And `ldd` of the version installed by emerge with my patched ebuild:

	linux-gate.so.1 (0xf77a2000)
	libGL.so.1 => /usr/lib32/opengl/nvidia/lib/libGL.so.1 (0xf7656000)
	libpthread.so.0 => /lib32/libpthread.so.0 (0xf763c000)
	libSDL2-2.0.so.0 => /usr/lib32/libSDL2-2.0.so.0 (0xf7535000)
	libz.so.1 => /lib32/libz.so.1 (0xf751c000)
	libCg.so => /opt/shatter/lib/libCg.so (0x41fd2000)
	libCgGL.so => /opt/shatter/lib/libCgGL.so (0x4e972000)
	libfmodex-4.36.21.so => /opt/shatter/lib/libfmodex-4.36.21.so (0xf73c3000)
	libfmodevent-4.36.21.so => /opt/shatter/lib/libfmodevent-4.36.21.so (0xf7354000)
	libfmodeventnet-4.36.21.so => /opt/shatter/lib/libfmodeventnet-4.36.21.so (0xf72db000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf719f000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf718b000)
	libXft.so.2 => /usr/lib32/libXft.so.2 (0xf7174000)
	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf7137000)
	libdl.so.2 => /lib32/libdl.so.2 (0xf7132000)
	libsteam_api.so => /opt/shatter/lib/libsteam_api.so (0xf711e000)
	libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/32/libstdc++.so.6 (0xf7030000)
	libm.so.6 => /lib32/libm.so.6 (0xf6fea000)
	libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/32/libgcc_s.so.1 (0xf6fcf000)
	libc.so.6 => /lib32/libc.so.6 (0xf6e30000)
	libnvidia-tls.so.346.22 => /usr/lib32/libnvidia-tls.so.346.22 (0xf6e2b000)
	libnvidia-glcore.so.346.22 => /usr/lib32/libnvidia-glcore.so.346.22 (0xf47a1000)
	/lib/ld-linux.so.2 (0xf77a4000)
	libasound.so.2 => /usr/lib32/libasound.so.2 (0xf46d3000)
	libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf46c7000)
	libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf46c3000)
	libXi.so.6 => /usr/lib32/libXi.so.6 (0xf46b2000)
	libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf46a6000)
	libXxf86vm.so.1 => /usr/lib32/libXxf86vm.so.1 (0xf469f000)
	librt.so.1 => /lib32/librt.so.1 (0xf4696000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf4672000)
	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf45ca000)
	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf45be000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf4593000)
	libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf458d000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf4589000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf4581000)
	libbz2.so.1 => /usr/lib32/libbz2.so.1 (0xf4570000)
	libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf4536000)

I hope this is satisfactory for merging.
Comment 1 zlg (RETIRED) gentoo-dev 2015-01-08 09:11:40 UTC
Created attachment 393460 [details, diff]
shatter-1.0.20130609.ebuild.patch

Produced with `diff -u`; if this is wrong please suggest a better way!