Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7321

Summary: netcat doesn't compile
Product: Portage Development Reporter: Konrad Miller <konrad_miller>
Component: UnclassifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Konrad Miller 2002-09-01 02:04:10 UTC
i have the up to date portage tree from Sun Sep  1 09:03:00 UTC 2002

phoenix netcat # emerge netcat-110.ebuild
Calculating dependencies ...done!
>>> emerge net-analyzer/netcat-110 to /
>>> md5 ;-) nc110.tgz
>>> Unpacking source...
>>> Source unpacked.
sed: can't read netcat.c.orig: No such file or directory
make -e nc  XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/var/tmp/portage/netcat-110/work/nc-110'
gcc -O3 -mcpu=i686 -march=i686 -fforce-addr -fomit-frame-pointer -funroll-loops
-frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -s      -DLINUX
-static -o nc netcat.c
/usr/lib/crt1.o: In function `_start':
/usr/lib/crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/var/tmp/portage/netcat-110/work/nc-110'
make: *** [linux] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 11, Exitcode 2
!!! (no error message)
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2002-09-01 02:09:54 UTC
argh, I made a typo in the ebuild.  it's been fixed in portage. sorry about that.
Comment 2 Konrad Miller 2002-09-01 10:03:47 UTC
No problem, thank you for the fast answer and fix :))

Konrad