Attempting to emerge pbzip2 results in error - can't locate Makefile. Also
after fixing the path the the makefile in the build the sed command doesn't not
properly substitute in ${CFLAGS} due to the use of double quotes around the sed
parameter rather than single quotes. Please see attatchment for fixed (and
working) ebuild
Reproducible: Always
Steps to Reproduce:
1. emerge pbzip2
2. Watch the emerge fail
3.
Actual Results:
>>> emerge (1 of 1) app-arch/pbzip2-0.8 to /
>>> Downloading http://gentoo.mirrored.ca/distfiles/pbzip2-0.8.tar.gz
--23:57:44-- http://gentoo.mirrored.ca/distfiles/pbzip2-0.8.tar.gz
=> `/usr/portage/distfiles/pbzip2-0.8.tar.gz'
Resolving gentoo.mirrored.ca... 209.47.158.136
Connecting to gentoo.mirrored.ca[209.47.158.136]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,415 [application/x-gzip]
100%[====================================>] 10,415 2.07K/s ETA 00:00
23:57:50 (2.07 KB/s) - `/usr/portage/distfiles/pbzip2-0.8.tar.gz' saved
[10415/10415]
>>> md5 src_uri ;-) pbzip2-0.8.tar.gz
>>> Unpacking source...
>>> Unpacking pbzip2-0.8.tar.gz to /var/tmp/portage/pbzip2-0.8/work
sed: can't read Makefile: No such file or directory
!!! ERROR: app-arch/pbzip2-0.8 failed.
!!! Function src_unpack, Line 21, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Expected Results:
Found Makefile at ${P}/Makfile in work directory, and performed correct sed
command.