Package: netcat-traditional
Version: 1.10-40
Severity: serious
Justification: fails to build from source (but built successfully in the past)
The source package `netcat-traditional' does not build, make dies this way:
$ make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/tmp/build/netcat-1.10'
gcc -O -DLINUX -static -o nc netcat.c
netcat.c: In function 'helpme':
netcat.c:1797:16: error: expected ')' before 'DEBIAN_VERSION'
make[1]: *** [nc] Error 1
make[1]: Leaving directory `/tmp/build/netcat-1.10'
make: *** [linux] Error 2
I am not very familiar with the Debian package build process. In debian/rules
a DFLAGS='... -DDEBIAN_VERSION...' is used, if I try that one, the error ist
the same:
$ make linux DFLAGS='-DDEBIAN_VERSION="foo"'
...
netcat.c: In function 'helpme':
netcat.c:1783:3: error: expected ')' before 'foo'
...
So maybe DEBIAN_VERSION usually contains some magic to concatenate the strings
with the constant (rather not), or this patch is broken.
Cheers,
Tech
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=ANSI_X3.4-1968)
(ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Versions of packages netcat-traditional depends on:
ii libc6 2.13-35
netcat-traditional recommends no packages.
netcat-traditional suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]