Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49091 - Missing makefile target when compiling netselect ebuild
Summary: Missing makefile target when compiling netselect ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 18:28 UTC by ignorant
Modified: 2004-07-01 19:46 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ignorant 2004-04-26 18:28:40 UTC
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.
Comment 1 robertc96 2004-05-01 13:05:24 UTC
I had no missing/invalid makefile issues emerging netselect-0.3.
Comment 2 Bryan Østergaard (RETIRED) gentoo-dev 2004-05-01 13:08:53 UTC
I checked cvs and there's no typo there. run emerge sync and try again.

Please reopen if the problem persist.
Comment 3 Norberto Bensa 2004-06-30 22:08:26 UTC
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 :-/
Comment 4 Norberto Bensa 2004-06-30 22:11:18 UTC
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..... 
?
Comment 5 Norberto Bensa 2004-07-01 19:46:21 UTC
sorry, I was refering to 0.3-r1