pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/51715: net/nmap build fails



The following reply was made to PR pkg/51715; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/51715: net/nmap build fails
Date: Wed, 14 Dec 2016 06:33:13 -0600 (CST)

 On Wed, 14 Dec 2016, David Holland wrote:
 
 >  Can you check .work.log for the transformed compiler invocation?
 
 The command line reported on the terminal is:
 
 [...]
 Compiling liblua
 gmake[1]: Entering directory '/tmp/pkgsrc/net/nmap/work/nmap-7.30/liblua'
 gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2  -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include/lua-5.2 -Wall   -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/pkg/include -I./liblua -I/usr/pkg/include -I./libdnet-stripped/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include/lua-5.2 -I/usr/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H -DNMAP_NAME=\"Nmap\" -DNMAP_URL=\"https://nmap.org\"; -DNMAP_PLATFORM=\"x86_64--netbsd\" -DNMAPDATADIR=\"/usr/pkg/share/nmap\" -D_FORTIFY_SOURCE=2  -c -o lapi.o lapi.c
 
 The corresponding entry in "${WRKOBJDIR}/net/nmap/work/.work.log" is:
 
 [...]
 [*] cc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include/lua-5.2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I/usr/pkg/include -I./liblua -I/usr/pkg/include -I./libdnet-stripped/include -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include/libdrm -I/usr/pkg/include/lua-5.2 -I/usr/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H '-DNMAP_NAME="Nmap"' '-DNMAP_URL="https://nmap.org";' '-DNMAP_PLATFORM="x86_64--netbsd"' '-DNMAPDATADIR="/usr/pkg/share/nmap"' -D_FORTIFY_SOURCE=2 -c -o lapi.o lapi.c
 <.> /tmp/pkgsrc/net/nmap/work/.gcc/bin/gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2 -O2 -I/tmp/pkgsrc/net/nmap/work/.buildlink/include -I/tmp/pkgsrc/net/nmap/work/.x11-buildlink/include -I/tmp/pkgsrc/net/nmap/work/.x11-buildlink/include/freetype2 -I/tmp/pkgsrc/net/nmap/work/.x11-buildlink/include/libdrm -I/tmp/pkgsrc/net/nmap/work/.buildlink/include/lua-5.2 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -I./liblua -I./libdnet-stripped/include -I./nbase -I./nsock/include -DHAVE_CONFIG_H '-DNMAP_NAME="Nmap"' '-DNMAP_URL="https://nmap.org";' '-DNMAP_PLATFORM="x86_64--netbsd"' '-DNMAPDATADIR="/usr/pkg/share/nmap"' -D_FORTIFY_SOURCE=2 -c -o lapi.o lapi.c
 
 
 >  Also, there are three copies of lua floating about - the one in base,
 >  the one that gets buildlinked, and the one that nmap includes in its
 >  distfile. If it's using some of the files from one copy and some from
 >  another that could cause all manner of strangeness...
 
 For the record, the build process reports:
 
   => Full dependency lua52>=5.2.0<5.3: found lua52-5.2.4nb1
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index