[Qa-jenkins-scm] Build failed in Jenkins: reproducible_builder_armhf_21 #14298

jenkins at jenkins.debian.net jenkins at jenkins.debian.net
Sun Dec 18 11:10:50 UTC 2016


https://jenkins.debian.net/job/reproducible_builder_armhf_21/14298/------------------------------------------
[...truncated 2447 lines...]
/usr/bin/ld: cannot find -ldir
collect2: error: ld returned 1 exit status
configure:12696: $? = 1
configure: failed program was:
#line 12674 "configure"
#include "confdefs.h"

/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char opendir ();
int
main ()
{
opendir ();
  ;
  return 0;
}
configure:12713: result: no
configure:12775: checking whether time.h and sys/time.h may both be included
configure:12797: gnatgcc -c -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG conftest.c >&5
configure:12800: $? = 0
configure:12803: test -s conftest.o
configure:12806: $? = 0
configure:12816: result: yes
configure:12834: checking for an ANSI C-conforming const
configure:12898: gnatgcc -c -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG conftest.c >&5
configure:12901: $? = 0
configure:12904: test -s conftest.o
configure:12907: $? = 0
configure:12917: result: yes
configure:12929: checking if data-only library module links
configure:12940: gnatgcc -c -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG conftest.c >&5
configure:12943: $? = 0
ar: `u' modifier ignored since `D' is the default (see `U')
configure:12963: gnatgcc -c -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG conftest.c >&5
configure:12966: $? = 0
ar: `u' modifier ignored since `D' is the default (see `U')
configure:12990: gnatgcc -o conftest -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs conftest.c conftest.a -lncurses -ltinfo >&5
configure:12993: $? = 0
configure:12995: ./conftest
configure:12998: $? = 0
configure:13013: result: yes
configure:13027: checking for working mkstemp
configure:13076: gnatgcc -o conftest -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs conftest.c -lncurses -ltinfo >&5
configure: In function 'main':
configure:13064:4: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
    }
    ^    
configure:13079: $? = 0
configure:13081: ./conftest
configure:13084: $? = 0
configure:13099: result: yes
configure:13181: checking for gnatmake
configure:13196: found /usr/bin/gnatmake
configure:13205: result: yes
configure:13217: checking for gnat version
configure:13222: result: 6.2.1
configure:13238: checking for m4
configure:13253: found /usr/bin/m4
configure:13262: result: yes
configure:13274: checking if GNAT works
gcc-6 -c -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong conftest.adb
gnatbind-6 -x conftest.ali
gnatlink-6 conftest.ali -g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -fstack-protector-strong
/usr/bin/ld: ./conftest.o: relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
./conftest.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
gnatlink-6: error when calling /usr/bin/gcc-6
gnatmake: *** link failed.
configure:13302: result: no
configure:13652: error: No usable Ada compiler found

## ----------------- ##
## Cache variables.  ##
## ----------------- ##

ac_cv_build='arm-unknown-linux-gnueabihf'
ac_cv_build_alias='arm-linux-gnueabihf'
ac_cv_c_compiler_gnu='yes'
ac_cv_c_const='yes'
ac_cv_env_CC_set='set'
ac_cv_env_CC_value='gnatgcc'
ac_cv_env_CFLAGS_set='set'
ac_cv_env_CFLAGS_value='-g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -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_LDFLAGS_set='set'
ac_cv_env_LDFLAGS_value='-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs'
ac_cv_env_build_alias_set='set'
ac_cv_env_build_alias_value='arm-linux-gnueabihf'
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__nc_TABSIZE='no'
ac_cv_func_fseeko='yes'
ac_cv_func_gettimeofday='yes'
ac_cv_header_dirent_dirent_h='yes'
ac_cv_header_stdc='yes'
ac_cv_header_time='yes'
ac_cv_host='arm-unknown-linux-gnueabihf'
ac_cv_host_alias='arm-linux-gnueabihf'
ac_cv_lib_dir_opendir='no'
ac_cv_objext='o'
ac_cv_path_ac_pt_PKG_CONFIG='/usr/bin/pkg-config'
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK='mawk'
ac_cv_prog_CPP='gnatgcc -E'
ac_cv_prog_M4_exists='yes'
ac_cv_prog_MAKE_LOWER_TAGS='no'
ac_cv_prog_MAKE_UPPER_TAGS='no'
ac_cv_prog_ac_ct_AR='ar'
ac_cv_prog_ac_ct_LD='ld'
ac_cv_prog_ac_ct_RANLIB='ranlib'
ac_cv_prog_cc_g='yes'
ac_cv_prog_cc_stdc=''
ac_cv_prog_egrep='grep -E'
ac_cv_prog_gcc_traditional='no'
ac_cv_prog_gnat_exists='yes'
ac_cv_prog_make_make_set='yes'
ac_cv_sys_file_offset_bits='64'
ac_cv_sys_large_files='no'
ac_cv_sys_largefile_CC='no'
ac_cv_sys_largefile_source='no'
ac_cv_sys_long_file_names='yes'
ac_cv_target='arm-unknown-linux-gnueabihf'
ac_cv_target_alias='arm-linux-gnueabihf'
cf_cv_abi_version='5'
cf_cv_ar_flags='-curv'
cf_cv_curses_dir='no'
cf_cv_do_symlinks='yes'
cf_cv_enable_reentrant='0'
cf_cv_func_mkstemp='yes'
cf_cv_gnu_source='no'
cf_cv_link_dataonly='yes'
cf_cv_makeflags='-${MAKEFLAGS}'
cf_cv_mixedcase='yes'
cf_cv_prog_CC_c_o='yes'
cf_cv_prog_gnat_correct='no'
cf_cv_rel_version='6.0'
cf_cv_rm_so_locs='no'
cf_cv_shared_soname='`basename $@ .${REL_VERSION}`.${ABI_VERSION}'
cf_cv_shlib_version='rel'
cf_cv_shlib_version_infix='no'
cf_cv_struct_dirent64='no'
cf_cv_system_name='linux-gnueabihf'
cf_cv_timestamp='Sat Dec 17 23:03:57 -12 2016'
cf_cv_weak_symbols='no'

## ------------ ##
## confdefs.h.  ##
## ------------ ##

#define SYSTEM_NAME "linux-gnueabihf"
#define HAVE_LONG_FILE_NAMES 1
#define MIXEDCASE_FILENAMES 1
#define NCURSES 1
#define NCURSES 1
#define _FILE_OFFSET_BITS 64
#define HAVE_FSEEKO 1
#define HAVE_USE_DEFAULT_COLORS 1
#define NCURSES_EXT_FUNCS 1
#define NCURSES_WRAP_PREFIX "_nc_"
#define GCC_SCANF 1
#define GCC_SCANF 1
#define GCC_SCANFLIKE(fmt,var) __attribute__((format(scanf,fmt,var)))
#define GCC_PRINTF 1
#define GCC_PRINTF 1
#define GCC_PRINTFLIKE(fmt,var) __attribute__((format(printf,fmt,var)))
#define GCC_UNUSED __attribute__((unused))
#define GCC_UNUSED __attribute__((unused))
#define GCC_NORETURN __attribute__((noreturn))
#define GCC_NORETURN __attribute__((noreturn))
#define HAVE_NC_ALLOC_H 1
#define HAVE_GETTIMEOFDAY 1
#define STDC_HEADERS 1
#define HAVE_DIRENT_H 1
#define TIME_WITH_SYS_TIME 1
#define HAVE_MKSTEMP 1


configure: exit 1
dh_auto_configure: ./configure --build=arm-linux-gnueabihf --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=${prefix}/lib/arm-linux-gnueabihf --libexecdir=${prefix}/lib/arm-linux-gnueabihf --disable-maintainer-mode --disable-dependency-tracking ADAFLAGS=-g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong CC=gnatgcc CFLAGS=-g -O2 -fdebug-prefix-map=/build/1st/libncursesada-6.0.20150808=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2 LDFLAGS=-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -Wl,-z,defs --without-tests --with-shared --with-ada-sharedlib=libncursesada.so.4 returned exit code 1
debian/rules:68: recipe for target 'override_dh_auto_configure-arch' failed
make[2]: *** [override_dh_auto_configure-arch] Error 2
make[2]: Leaving directory '/build/1st/libncursesada-6.0.20150808'
debian/rules:54: recipe for target 'build-arch' failed
make[1]: *** [build-arch] Error 2
make[1]: Leaving directory '/build/1st/libncursesada-6.0.20150808'
debian/rules:54: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting /dev/shm filesystem
I: unmounting dev/pts filesystem
I: unmounting run/shm filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env 
I: removing directory /srv/workspace/pbuilder/7821 and its subdirectories
removed ‘/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/libncursesada_6.0.20150808-1.rbuild.log.gz’
removed ‘/var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/libncursesada_6.0.20150808-1.build1.log.gz’
+ echo 'Compressing the 1st log...'
Compressing the 1st log...
+ gzip -9cvn b1/build.log
b1/build.log:	 80.9%
+ chmod 644 /var/lib/jenkins/userContent/reproducible/debian/logs/unstable/armhf/libncursesada_6.0.20150808-1.build1.log.gz
+ update_rbuildlog
+ chmod 644 /srv/reproducible-results/rbuild-debian-r0aLJhNM/tmp.yyC2spNLnu
+ mv /srv/reproducible-results/rbuild-debian-r0aLJhNM/tmp.yyC2spNLnu /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/libncursesada_6.0.20150808-1.rbuild.log
+ RBUILDLOG=/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/libncursesada_6.0.20150808-1.rbuild.log
+ '[' 1 -eq 1 ']'
+ handle_ftbfs
+ false
+ set +x
libncursesada failed to build from source.
Error: database is locked
Error: database is locked
Error: database is locked
Error: database is locked
Starting cleanup.
/var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/libncursesada_6.0.20150808-1.rbuild.log:	 79.5% -- replaced with /var/lib/jenkins/userContent/reproducible/debian/rbuild/unstable/armhf/libncursesada_6.0.20150808-1.rbuild.log.gz
INFO: Starting at 2016-12-18 11:09:49.883753
CRITICAL: SQLite database locked, could not execute query:
CRITICAL: "SELECT r.status, r.version, r.build_date
CRITICAL:                        FROM results AS r JOIN sources AS s
CRITICAL:                        ON r.package_id=s.id WHERE s.name='libncursesada'
CRITICAL:                        AND s.architecture='amd64' AND s.suite='testing'"
CRITICAL: Exiting script.
INFO: Finished at 2016-12-18 11:10:50.106025, took: 0:01:00.222288








Warning: cannot update html pages for libncursesada
All cleanup done.
Sun 18 Dec 11:10:50 UTC 2016 - /srv/jenkins/bin/reproducible_build.sh stopped running as /tmp/jenkins-script-oCTknsKk, which will now be removed.
Build step 'Execute shell' marked build as failure



More information about the Qa-jenkins-scm mailing list