Bug#844303: ncrack: FTBFS: configure:6846: error: ./configure failed for opensshlib
Chris Lamb
lamby at debian.org
Mon Nov 14 10:37:30 UTC 2016
Source: ncrack
Version: 0.5-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
ncrack fails to build from source in unstable/amd64:
[…]
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
configure:5000: result: no
configure:5019: checking if struct in_addr is a wacky huge structure (some Sun boxes)
configure:5033: gcc -c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:25:20: error: 'struct in_addr' has no member named '_S_un'
struct in_addr i; i._S_un._S_addr;
^
configure:5033: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_TERMIOS_H 1
| /* end confdefs.h. */
| #include <netinet/in.h>
| int
| main ()
| {
| struct in_addr i; i._S_un._S_addr;
| ;
| return 0;
| }
configure:5053: gcc -c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:26:20: error: 'struct in_addr' has no member named 'S_un'
struct in_addr i; i.S_un.S_addr;
^
configure:5053: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_PWD_H 1
| #define HAVE_TERMIOS_H 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <netinet/in.h>
| int
| main ()
| {
| struct in_addr i; i.S_un.S_addr;
| ;
| return 0;
| }
configure:5061: result: no
configure:5071: checking for strerror
configure:5071: gcc -o conftest -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5
configure:5071: $? = 0
configure:5071: result: yes
configure:5082: checking for signal
configure:5082: gcc -o conftest -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c >&5
configure:5082: $? = 0
configure:5082: result: yes
configure:5103: checking for type of 6th argument to recvfrom()
configure:5124: g++ -c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 conftest.cpp >&5
configure:5124: $? = 0
configure:5138: result: socklen_t
configure:5178: checking openssl/ssl.h usability
configure:5178: gcc -c -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
configure:5178: $? = 0
configure:5178: result: yes
configure:5178: checking openssl/ssl.h presence
configure:5178: gcc -E -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c
configure:5178: $? = 0
configure:5178: result: yes
configure:5178: checking for openssl/ssl.h
configure:5178: result: yes
configure:5195: checking for BIO_int_ctrl in -lcrypto
configure:5220: gcc -o conftest -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lcrypto >&5
configure:5220: $? = 0
configure:5229: result: yes
configure:5246: checking for SSL_new in -lssl
configure:5271: gcc -o conftest -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c -lssl -lcrypto >&5
configure:5271: $? = 0
configure:5280: result: yes
configure:5547: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by config.status, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on 98dee3bfeb1d
config.status:838: creating Makefile
config.status:941: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
config.status:838: creating modules/Makefile
config.status:838: creating ncrack_config.h
configure:6778: === configuring in nbase (/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5/nbase)
configure:6841: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
configure:6778: === configuring in nsock/src (/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5/nsock/src)
configure:6841: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
configure:6778: === configuring in opensshlib (/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5/opensshlib)
configure:6841: running /bin/bash ./configure --disable-option-checking '--prefix=/usr' '--build=x86_64-linux-gnu' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--disable-silent-rules' '--libdir=${prefix}/lib/x86_64-linux-gnu' '--libexecdir=${prefix}/lib/x86_64-linux-gnu' '--disable-maintainer-mode' '--disable-dependency-tracking' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
configure:6846: error: ./configure failed for opensshlib
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security'
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_signal=yes
ac_cv_func_strerror=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_openssl_ssl_h=yes
ac_cv_header_pwd_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_sockio_h=no
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_termios_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_lib_crypto_BIO_int_ctrl=yes
ac_cv_lib_ssl_SSL_new=yes
ac_cv_objext=o
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_ac_pt_STRIP=/usr/bin/strip
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_search_gethostbyname='none required'
ac_cv_search_setsockopt='none required'
ac_cv_sockaddr_has_sa_len=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS='-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security'
CPP='gcc -E'
CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2 -Inbase -Insock/include -Iopensshlib -Imodules'
CXX='g++'
CXXFLAGS='-g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -Wall -fno-strict-aliasing'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
EXEEXT=''
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS='-Wl,-z,relro -Wl,-z,now -Lnbase -Lnsock/src -Lopensshlib'
LIBNBASE_LIBS='-lnbase'
LIBNSOCK_LIBS='-lnsock'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MODULES_BUILD='modules_build'
MODULES_OBJS='ncrack_ssh.o ncrack_smb.o ncrack_rdp.o ncrack_sip.o ncrack_redis.o ncrack_psql.o ncrack_ftp.o ncrack_telnet.o ncrack_http.o ncrack_pop3.o ncrack_vnc.o ncrack_mysql.o'
MODULES_SRCS='ncrack_ssh.cc ncrack_smb.cc ncrack_rdp.cc ncrack_sip.cc ncrack_redis.cc ncrack_psql.cc ncrack_ftp.cc ncrack_telnet.cc ncrack_http.cc ncrack_pop3.cc ncrack_vnc.cc ncrack_mysql.cc'
NBASEDIR='nbase'
NBASE_BUILD='nbase_build'
NSOCKDIR='nsock'
NSOCK_BUILD='nsock_build'
OBJEXT='o'
OPENSSHLIB_BUILD='opensshlib_build'
OPENSSHLIB_DIR='opensshlib'
OPENSSH_LIB='-lopenssh'
OPENSSL_LIBS='-lssl -lcrypto'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_URL=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SHELL='/bin/bash'
STRIP='/usr/bin/strip'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-pc-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${prefix}/share/info'
libdir='${prefix}/lib/x86_64-linux-gnu'
libexecdir='${prefix}/lib/x86_64-linux-gnu'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='${prefix}/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' nbase nsock/src opensshlib'
sysconfdir='/etc'
target_alias=''
configure: exit 1
dh_auto_configure: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/x86_64-linux-gnu --libexecdir=${prefix}/lib/x86_64-linux-gnu --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr returned exit code 1
debian/rules:9: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20161114094640.hgJKENrOpY.db.ncrack/ncrack-0.5'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncrack.0.5-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 12300 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161114/cc316bf1/attachment.obj>
More information about the Reproducible-builds
mailing list