From gpsdrive-2.10_pre5.ebuild: 54 use mapnik && sed -i -e "s:truetype/ttf-dejavu:dejavu:g" \ 55 tests/{gpsdriverc,gpsdriverc-in,gpsdriverc-pre} \ 56 src/gpsdrive_config.c || die "sed failed" The 'and' operation is evaluated first, causing build to fail unless mapnik use flag is enabled. The problem can be solved by a pair of parenthesis around the sed and die part. Reproducible: Always Steps to Reproduce: 1. emerge gpsdrive Actual Results: root@laptok ~# emerge -v gpsdrive These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-misc/gpsdrive-2.10_pre5 [2.09-r1] USE="dbus%* -debug% -doc% -gdal% -mapnik% -scripts% (-garmin%) (-mysql%)" 0 kB Total: 1 package (1 upgrade), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-misc/gpsdrive-2.10_pre5 * gpsdrive-2.10pre5.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gpsdrive-2.10pre5.tar.gz to /var/tmp/portage/app-misc/gpsdrive-2.10_pre5/work * Applying gpsdrive-drawmarkers-remove.patch ... [ ok ] * * ERROR: app-misc/gpsdrive-2.10_pre5 failed. * Call stack: * ebuild.sh, line 49: Called src_unpack * environment, line 2216: Called die * The specific snippet of code: * use mapnik && sed -i -e "s:truetype/ttf-dejavu:dejavu:g" tests/{gpsdriverc,gpsdriverc-in,gpsdriverc-pre} src/gpsdrive_config.c || die "sed failed"; * The die message: * sed failed
Fix above confirmed to work - compiling now.
Ah, and 2.10_pre6 is out, btw. Thanks.
I just hit this now. The fix seems straightforward, is there a reason it hasn't been applied yet?
Ran into this today too.. Bump.
This is fixed, along with a mapnik update (separate issue).