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)
argh, I made a typo in the ebuild. it's been fixed in portage. sorry about that.
No problem, thank you for the fast answer and fix :)) Konrad