See
<https://jenkins.osmocom.org/jenkins/job/master-libasn1c/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/2032/display/redirect>
Changes:
------------------------------------------
Started by upstream project "master-libasn1c" build number 2032
originally caused by:
Started by timer
Running as SYSTEM
Building remotely on build2-deb10build-ansible (obs osmo-gsm-tester-build
osmocom-master-debian10 ttcn3-ggsn-test-kernel-git osmocom-gerrit-debian10 osmocom-gerrit
repo-install-test osmocom-master) in workspace
<https://jenkins.osmocom.org/jenkins/job/master-libasn1c/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/ws/>
[ssh-agent] Looking for ssh-agent implementation...
[ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine)
$ ssh-agent
SSH_AUTH_SOCK=/tmp/ssh-K4zeLBVv94Lz/agent.1054119
SSH_AGENT_PID=1054121
[ssh-agent] Started.
Running ssh-add (command line suppressed)
Identity added:
<https://jenkins.osmocom.org/jenkins/job/master-libasn1c/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/ws/@tmp/private_key_9973759004398777135.key>
(osmocom-jenkins)
[ssh-agent] Using credentials docs (OS#5798)
The recommended git tool is: NONE
No credentials specified
git rev-parse --resolve-git-dir
<https://jenkins.osmocom.org/jenkins/job/master-libasn1c/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/ws/.git>
# timeout=10
Fetching changes from the remote Git repository
git config remote.origin.url
https://gerrit.osmocom.org/libasn1c # timeout=10
Fetching upstream changes from
https://gerrit.osmocom.org/libasn1c
git --version # timeout=10
git --version # 'git version 2.20.1'
git fetch --tags --force --progress --
https://gerrit.osmocom.org/libasn1c
+refs/heads/*:refs/remotes/origin/* # timeout=10
Checking out Revision
3e483e59502fac088198b486fc44c1a20dc73b50 (origin/master)
git config core.sparsecheckout # timeout=10
git checkout -f 3e483e59502fac088198b486fc44c1a20dc73b50 # timeout=10
Commit
message: "Disable _ASN_STACK_OVERFLOW_CHECK if building with Asan enabled"
git rev-list --no-walk
3e483e59502fac088198b486fc44c1a20dc73b50 # timeout=10
[osmocom-master] $ /bin/sh -xe
/tmp/jenkins4725643954134558919.sh
+ CCACHE_DIR=/home/osmocom-build/ccache/master-builds
+ mkdir -p /home/osmocom-build/ccache/master-builds
+ chown osmocom-build:osmocom-build /home/osmocom-build/ccache/master-builds
+ readlink -f /tmp/ssh-K4zeLBVv94Lz/agent.1054119
+ docker run --rm=true --cap-add SYS_PTRACE -e ASCIIDOC_WARNINGS_CHECK=1 -e HOME=/build -e
IS_MASTER_BUILD=1 -e
JOB_NAME=master-libasn1c/a1=default,a2=default,a3=default,a4=default,label=osmocom-master
-e MAKE=make -e OSMOPY_DEBUG_TCP_SOCKETS=1 -e OSMO_GSM_MANUALS_DIR=/opt/osmo-gsm-manuals
-e PARALLEL_MAKE=-j 8 -e PUBLISH=1 -e SSH_AUTH_SOCK=/ssh-agent -e WITH_MANUALS=1 -w /build
-i -u build -v /tmp/ssh-K4zeLBVv94Lz/agent.1054119:/ssh-agent -v
<https://jenkins.osmocom.org/jenkins/job/master-libasn1c/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/ws/>:/build
-v /home/osmocom-build/.ssh:/home/build/.ssh:ro -e CCACHE_DIR=/ccache -e
PATH=/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -v
/home/osmocom-build/ccache/master-builds:/ccache osmocom-build/debian-bookworm-build
/usr/bin/timeout 30m /build/contrib/jenkins.sh
+ chmod -R +w .
+ git checkout -f HEAD
+ git clean -dxf
+ [ -d ]
+ [ -d layer1-headers ]
=============================== libasn1c ===============================
+ autoreconf --install --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:19: warning: The macro `AC_PROG_LIBTOOL' is obsolete.
configure.ac:19: You should run autoupdate.
m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from...
configure.ac:19: the top level
configure.ac:78: warning: AC_OUTPUT should be used without arguments.
configure.ac:78: You should run autoupdate.
configure.ac:16: installing './compile'
configure.ac:18: installing './config.guess'
configure.ac:18: installing './config.sub'
configure.ac:5: installing './install-sh'
configure.ac:5: installing './missing'
src/Makefile.am: installing './depcomp'
+ ./configure --enable-werror
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format...
func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format...
func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for talloc... yes
checking if gcc supports -fvisibility=hidden... yes
CFLAGS="-g -O2 -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations
-Wno-error=cpp"
CPPFLAGS=" -Werror -Wno-error=deprecated -Wno-error=deprecated-declarations
-Wno-error=cpp"
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libasn1c.pc
config.status: creating src/Makefile
config.status: creating include/Makefile
config.status: creating include/asn1c/Makefile
config.status: creating Makefile
config.status: creating contrib/libasn1c.spec
config.status: executing depfiles commands
config.status: executing libtool commands
+ make -j 8
Making all in src
make[1]: Entering directory '/build/src'
CC ANY.lo
CC constraints.lo
CC GeneralizedTime.lo
CC NumericString.lo
CC T61String.lo
CC asn_codecs_prim.lo
CC constr_CHOICE.lo
CC GeneralString.lo
CC ObjectDescriptor.lo
CC TeletexString.lo
CC asn_SEQUENCE_OF.lo
CC constr_SEQUENCE.lo
CC GraphicString.lo
CC OBJECT_IDENTIFIER.lo
CC UniversalString.lo
CC asn_SET_OF.lo
CC constr_SEQUENCE_OF.lo
CC IA5String.lo
CC OCTET_STRING.lo
CC UTCTime.lo
CC ber_decoder.lo
CC constr_SET.lo
CC INTEGER.lo
CC per_decoder.lo
CC UTF8String.lo
CC ber_tlv_length.lo
CC constr_SET_OF.lo
CC ISO646String.lo
CC per_encoder.lo
CC VideotexString.lo
CC ber_tlv_tag.lo
INTEGER.c: In function 'asn_int642INTEGER':
INTEGER.c:1344:41: error: array subscript 0 is outside array bounds of
'int64_t[1]' {aka 'long int[1]'} [-Werror=array-bounds]
1344 | for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add)
| ~~~~~~^~~~~~
INTEGER.c:1296:42: note: at offset -1 into object 'value' of size 8
1296 | asn_int642INTEGER(INTEGER_t *st, int64_t value) {
| ~~~~~~~~^~~~~
INTEGER.c: In function 'asn_long2INTEGER':
INTEGER.c:1406:41: error: array subscript 0 is outside array bounds of 'long
int[1]' [-Werror=array-bounds]
1406 | for(pstart = p, bp = buf, pend1 += add; p != pend1; p += add)
| ~~~~~~^~~~~~
INTEGER.c:1358:38: note: at offset -1 into object 'value' of size 8
1358 | asn_long2INTEGER(INTEGER_t *st, long value) {
| ~~~~~^~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile:541: INTEGER.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/src'
make: *** [Makefile:445: all-recursive] Error 1
Build step 'Execute shell' marked build as failure
$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 1054121 killed;
[ssh-agent] Stopped.
Archiving artifacts