Couldn't emerge netselect 0.3 -- kept giving me missing/invalid makefile messages. Untarred original package and discovered OK makefile, compiled successfully w/o emerge. Checked out the netselect ebuild and found that line 19 has misspelled makefile target (Makefile.orig > Makefi instead of Makefile). Reproducible: Always Steps to Reproduce: 1. Emerge netselect-0.3 2. 3.
I had no missing/invalid makefile issues emerging netselect-0.3.
I checked cvs and there's no typo there. run emerge sync and try again. Please reopen if the problem persist.
emerge --sync at 05:06 (gmt) $ sudo emerge -uv world Calculating world dependencies ...done! >>> emerge (1 of 1) net-analyzer/netselect-0.3-r1 to / >>> md5 src_uri ;-) netselect-0.3.tar.gz >>> Unpacking source... >>> Unpacking netselect-0.3.tar.gz to /var/tmp/portage/netselect-0.3-r1/work >>> Source unpacked. sed: can't read Makefile: No such file or directory make: *** No targets specified and no makefile found. Stop. !!! ERROR: net-analyzer/netselect-0.3-r1 failed. !!! Function src_compile, Line 22, Exitcode 2 !!! (no error message) Perhaps you'd like to test some mirrors instead of devs' private cvs server :-/
src_compile() { mv Makefile Makefile.orig sed -e "s:PREFIX =.*:PREFIX = ${D}usr:" \ -e "s:CFLAGS =.*:CFLAGS = -Wall -I. -g ${CFLAGS}:" \ -e '23,27d' \ -e '34d' \ -i Makefile Shouldn't this be: cat Makefile.orig | sed..... ?
sorry, I was refering to 0.3-r1