pkgsrc-Bugs archive

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

Re: pkg/51715: net/nmap build fails



jdbaker%mylinuxisp.com@localhost wrote:
> 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' \
>   ^

I remember seeing this error in the past but it went away eventually.

For comparison:

gcc -O2 -Wall -Wextra -DLUA_COMPAT_5_2  -O2 -fPIC
-I/usr/pkg/include/lua-5.2 -I/usr/include -I/usr/pkg/include -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/lua-5.2 -I/usr/include
-I/usr/pkg/include -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

I build with gcc 5.4.0, PKGSRC_MKPIE=yes and with options "inet6 lua".

Alex


Home | Main Index | Thread Index | Old Index