Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119240 - SexyPSF 0.4.7 doesn't compile
Summary: SexyPSF 0.4.7 doesn't compile
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Harald van Dijk (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-16 15:42 UTC by David Masover
Modified: 2006-01-25 22:34 UTC (History)
0 users

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


Attachments
Patch to sexypsf-0.4.7.ebuild (sexypsf.patch,750 bytes, patch)
2006-01-16 15:44 UTC, David Masover
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Masover 2006-01-16 15:42:30 UTC
After attempting to compile/install, I get these errors:

gcc   PsxBios.o PsxCounters.o PsxDma.o Spu.o PsxHw.o PsxMem.o Misc.o R3000A.o PsxInterpreter.o PsxHLE.o spu/spu.o xmms/xmms.o -o libsexypsf.so -shared -lz
gcc: PsxBios.o: No such file or directory
gcc: PsxCounters.o: No such file or directory
gcc: PsxDma.o: No such file or directory
gcc: Spu.o: No such file or directory
gcc: PsxHw.o: No such file or directory
gcc: PsxMem.o: No such file or directory
gcc: Misc.o: No such file or directory
gcc: R3000A.o: No such file or directory
gcc: PsxInterpreter.o: No such file or directory
gcc: PsxHLE.o: No such file or directory
gcc: spu/spu.o: No such file or directory
make: *** [sexypsf] Error 1



I've discovered that this doesn't happen if I simply flip the build order -- build the plugin first, then the commandline app.  Attaching a patch as soon as it lets me...
Comment 1 David Masover 2006-01-16 15:44:09 UTC
Created attachment 77302 [details, diff]
Patch to sexypsf-0.4.7.ebuild

Builds the commandline app after the plugin, instead of the other way around.  Makes sexypsf actually compile for me, on my amd64.
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-01-16 16:32:41 UTC
Thanks for the patch, but it's a workaround, and not a fix, because it then uses the object files built with -fPIC to generate the application (only the library should be built with -fPIC).

I can build it just fine here, so I'm not really sure this is the problem, but could you please instead try changing (in the original ebuild, of course)

emake CPU="${CPU}" XMMSCONF="${XMMSCONF}" clean sexypsf || die "emake failed"

to

make clean || die "make clean failed"
emake CPU="${CPU}" XMMSCONF="${XMMSCONF}" sexypsf || die "emake failed"

(moving the 'clean' to a separate 'make' invocation) and report back whether that fixes it? If it doesn't fix it, could you please provide your emerge --info, and the full output of `emerge sexypsf` ?
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2006-01-19 22:49:15 UTC
Please re-open when you get the chance to test.
Comment 4 Jeff 2006-01-25 14:26:24 UTC
Harald, I get the same error as David with the original ebuild (I think it is related to the xmms or bmp plugin, it compiles without them), so I tested your fix and it works, you can commit it.

Cheers
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2006-01-25 22:34:55 UTC
Thanks, and done.