Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1641 - Compiling with ABS: Netcat source broken

Attached to Project: Arch Linux
Opened by Xavier de Labouret (zezaz) - Monday, 18 October 2004, 09:40 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

According to

http://www.atstake.com/research/tools/

The main source for netcat has moved.

It is now available at:

http://www.securityfocus.com/data/tools/nc110.tgz

Details follow.

Thanks!

----------8<------------

# makepkg -o
==> Making package: netcat (Mon Oct 18 11:34:10 CEST 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Downloading nc110.tgz
--11:34:10-- http://freshmeat.net/redir/netcat/7041/url_tgz/nc110.tgz
=> `nc110.tgz'
Resolving freshmeat.net... 66.35.250.168
Connecting to freshmeat.net[66.35.250.168]:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://www.atstake.com/research/tools/network_utilities/nc110.tgz [following]
--11:34:11-- http://www.atstake.com/research/tools/network_utilities/nc110.tgz
=> `nc110.tgz'
Resolving www.atstake.com... 63.251.138.36, 63.251.138.37
Connecting to www.atstake.com[63.251.138.36]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
11:34:11 ERROR 404: Not Found.

==> ERROR: Failed to download nc110.tgz
==> Aborting...


This task depends upon

Closed by  Judd Vinet (judd)
Tuesday, 19 October 2004, 18:00 GMT
Reason for closing:  Fixed
Comment by Xavier de Labouret (zezaz) - Tuesday, 19 October 2004, 14:56 GMT

One more thing: whatever your final decision on this (simply relying on freshmeat to update its link, or directly target the final URL), netcat needs a rebuild against the new glibc.

The GCC warnings below explain why.

Thanks!

-------------8<---------------

# makepkg
==> Making package: netcat (Tue Oct 19 16:54:17 CEST 2004)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Using local copy of nc110.tgz
==> WARNING: MD5sums are missing or incomplete. Cannot verify source integrity.
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf nc110.tgz
==> Removing existing pkg/ directory...
==> Starting build()...
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/var/abs/network/netcat/src'
cc -O -s -DLINUX -static -o nc netcat.c
/tmp/ccNZ0xhZ.o(.text+0x491): In function `gethostpoop':
: warning: Using 'gethostbyaddr' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccNZ0xhZ.o(.text+0x3cb): In function `gethostpoop':
: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccNZ0xhZ.o(.text+0x6e3): In function `getportpoop':
: warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccNZ0xhZ.o(.text+0x62d): In function `getportpoop':
: warning: Using 'getservbyport' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/var/abs/network/netcat/src'
==> Compressing man pages...
==> Stripping debugging symbols from libraries...
==> Stripping symbols from binaries...
==> Generating .PKGINFO file...
==> Generating .FILELIST file...
==> Compressing package...
==> Finished making: netcat (Tue Oct 19 16:54:21 CEST 2004)
#

Loading...