After successfull build teeworlds fails to install with the following output: >>> Install teeworlds-0.6.1 into /var/tmp/portage/games-action/teeworlds-0.6.1/image/ category games-action !!! dobin: teeworlds_srv does not exist dobin failed * ERROR: games-action/teeworlds-0.6.1 failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 85: Called src_install * environment, line 4934: Called die * The specific snippet of code: * dogamesbin ${PN}_srv || die; * * If you need support, post the output of 'emerge --info =games-action/teeworlds-0.6.1', * the complete build log and the output of 'emerge -pqv =games-action/teeworlds-0.6.1'. * The complete build log is located at '/var/tmp/portage/games-action/teeworlds-0.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/teeworlds-0.6.1/temp/environment'. * S: '/var/tmp/portage/games-action/teeworlds-0.6.1/work/teeworlds-b177-r50edfd37-source' * QA Notice: file does not exist: * * dobin: teeworlds_srv does not exist The error looks logical to me since I build teeworlds without server support and shouldn't care about teeworlds_srv binary. Reproducible: Always Steps to Reproduce: 1. Install teeworlds-0.6.1
Created attachment 315353 [details] build.log
Created attachment 315355 [details] emerge --info
Created attachment 315357 [details] emerge -pqv
Well, after some testing I've located the exact problem. It is about `jobs` variable in the ebuild: on my machine it is empty and `myopt` contains " server_release client_release" as it should be. The problem is bam treating " server_release" as parameter for -j option since `jobs` is empty and silently ignores incorrect input for this option. This results in building only "client_release" because server_release was eaten by -j. Ebuild was ok, but maintainer changed it notably (see bug #335148) without revbump! Too bad. I've hit this bug only during world rebuild. Don't change ebuilds without revbumping, please. Will try to fix it and report later.
Workaround is simple: specify MAKEOPTS in make.conf (I have MAKEFLAGS, not MAKEOPTS) or add additional check in ebuild.
made it use makeopts_jobs
Created attachment 315423 [details, diff] Proposed patch. Simple patch for teeworlds-0.6.1 ebuild. Works for me.
(In reply to comment #6) > made it use makeopts_jobs Ok. Saw your comment too late.
*** Bug 419343 has been marked as a duplicate of this bug. ***