pkgsrc-Bugs archive

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

pkg/51715: net/nmap build fails



>Number:         51715
>Category:       pkg
>Synopsis:       net/nmap build fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 14 00:10:00 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/amd64-7.0_STABLE, pkgsrc HEAD (13 Dec 2016)
>Organization:
>Environment:
NetBSD tesla.clamp.net 7.0_STABLE NetBSD 7.0_STABLE (TESLA) #53: Fri Dec  9 15:01:57 CST 2016  sysop%tesla.clamp.net@localhost:/d0/build/netbsd-7/obj/amd64/sys/arch/amd64/compile/TESLA amd64

>Description:
Building "net/nmap" (nmap-7.30) fails as follows:

[...]
Compiling liblua
gmake[1]: Entering directory '/d0/build/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
In file included from lua.h:16:0,
                 from lapi.c:16:
luaconf.h:566:2: error: #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS'   or '-DLUA_C89_NUMBERS' (see file 'luaconf.h' for details)"
 #error "Compiler does not support 'long long'. Use option '-DLUA_32BITS' \
  ^
In file included from lapi.c:16:0:
lua.h:93:1: error: unknown type name 'LUA_INTEGER'
 typedef LUA_INTEGER lua_Integer;
 ^
lua.h:96:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lua_Unsigned'
 typedef LUA_UNSIGNED lua_Unsigned;
                      ^
In file included from lapi.h:11:0,
                 from lapi.c:18:
llimits.h:80:1: error: unknown type name 'LUA_INTEGER'
 typedef LUAI_UACINT l_uacInt;
 ^
<builtin>: recipe for target 'lapi.o' failed
gmake[1]: *** [lapi.o] Error 1
gmake[1]: Leaving directory '/d0/build/pkgsrc/net/nmap/work/nmap-7.30/liblua'
Makefile:149: recipe for target 'build-lua' failed
gmake: *** [build-lua] Error 2
*** Error code 2

Stop.
make[1]: stopped in /d0/nbsd/pkgsrc/net/nmap
*** Error code 1

Stop.

>How-To-Repeat:
See above.
>Fix:



Home | Main Index | Thread Index | Old Index