Package: nmap
Version: 4.20-3
Usertags: ftbfs-gcc-4.3
Your package fails to build with GCC 4.3. Version 4.3 has not been
released yet but I'm building with a snapshot in order to find errors
and give people an advance warning. GCC 4.3 has converted a number
of warnings into errors. With GCC 4.3, you're no longer to
just redefine a previous #define. You need to either avoid
redefinitions directly or to use #ifndef to make sure that something
has not been defined already. See
http://www.cyrius.com/journal/gcc/gcc-4.3-pedwarn.html
You can reproduce this problem with gcc-snapshot from unstable. Note
that Red Hat, Novell and Ubuntu have done some work getting packages
to build with GCC 4.3 so there might be patches floating around
somewhere. I suggest you talk to your upstream.
> Automatic build of nmap_4.20-3 on em64t by sbuild/amd64 0.53
...
> make[1]: Entering directory `/build/tbm/nmap-4.20'
> Makefile:202: makefile.dep: No such file or directory
> g++ -MM -Ilibdnet-stripped/include -O2 -Wall -D_GNU_SOURCE -Wall
> -fno-strict-aliasing -Inbase -Insock/include -DHAVE_CONFIG_H
> -DNMAP_VERSION=\"4.20\" -DNMAP_NAME=\"Nmap\"
> -DNMAP_URL=\"http://insecure.org\";
> -DNMAP_PLATFORM=\"x86_64-unknown-linux-gnu\"
> -DNMAPDATADIR=\"/usr/share/nmap\" main.cc nmap.cc targets.cc tcpip.cc
> nmap_error.cc utils.cc idle_scan.cc osscan.cc osscan2.cc output.cc
> scan_engine.cc timing.cc charpool.cc services.cc protocols.cc nmap_rpc.cc
> portlist.cc NmapOps.cc TargetGroup.cc Target.cc FingerPrintResults.cc
> service_scan.cc NmapOutputTable.cc MACLookup.cc nmap_tty.cc nmap_dns.cc >
> makefile.dep
> In file included from nmap.h:124,
> from main.cc:102:
> nbase/nbase.h:137:26: error: nbase_config.h: No such file or directory
> In file included from nmap.h:124,
> from nmap.cc:103:
> nbase/nbase.h:137:26: error: nbase_config.h: No such file or directory
> In file included from nmap.h:124,
> from targets.h:126,
> from targets.cc:104:
> nbase/nbase.h:137:26: error: nbase_config.h: No such file or directory
> In file included from tcpip.h:111,
> from tcpip.cc:106:
> nbase/nbase.h:137:26: error: nbase_config.h: No such file or directory
Not sure why this happens.
> nbase/nbase_ipv6.h:125:1: error: "AF_INET6" redefined
> In file included from /usr/include/sys/socket.h:36,
> from libdnet-stripped/include/dnet/os.h:36,
> from libdnet-stripped/include/dnet.h:12,
> from tcpip.cc:105:
> /usr/include/bits/socket.h:110:1: error: this is the location of the previous
> definition
But this should get fixed.
Although it seems the package builds successfully?
> **
> Built successfully
> Purging /data/tbm/build-snapshot/chroot-unstable4/build/tbm/nmap-4.20
> --
> (Reading database ... 19064 files and directories currently installed.)
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]