Subject: Bug#1015379: dahdi-tools: ftbfs with LTO (link time optimization) enabled

From: Matthias Klose <[email-masked]>
Date: Tue, 19 Jul 2022 16:51:15 +0000

Package: src:dahdi-tools
Version: 1:3.1.0-2
Severity: minor
Tags: sid bookworm
User: [email-masked]
Usertags: ftbfs-lto

This package currently fails to build (at least on the amd64
architecture) with link time optimizations enabled.  For a background
for LTO please see

https://wiki.debian.org/ToolChain/LTO

The goal is to enable this optimization by default in an upcoming
Debian release in dpkg-buildflags for 64bit architectures.  The goal
is to get this package to build with link time optimizations, or to
explicitly disable link time optimizations for this package build.

To reproduce the build failure, enable the lto optimization in
testing/unstable by adding "optimize=+lto" to DEB_BUILD_MAINT_OPTIONS
in the debian/rules file, or if this macro is unset, just set it:

export DEB_BUILD_MAINT_OPTIONS = optimize=+lto

Please try to fix the build with lto enabled, fixing the packaging or
forwarding the issue upstream. If the issue cannot be fixed,
explicitly disallow building the package with lto by adding to your
rules file:

export DEB_BUILD_MAINT_OPTIONS = optimize=-lto

or adding that string to your existing setting of DEB_BUILD_MAINT_OPTIONS.

The full build log can be found at:
http://qa-logs.debian.net/2022/06/09/dpkglto/dahdi-tools_3.1.0-2_unstable_dpkglto.log
The last lines of the build log are at the end of this report.

[...]
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o xusb_test_bypath-xusb_test_bypath.o `test -f 'xusb_test_bypath.c' || echo './'`xusb_test_bypath.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o xusb_test_bypath xusb_test_bypath-xusb_test_bypath.o libxtalk.la -lusb-1.0 -lpthread -lm 
libtool: link: gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o xusb_test_bypath xusb_test_bypath-xusb_test_bypath.o  ./.libs/libxtalk.a -lusb-1.0 -lpthread -lm
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o xtalk_test-xtalk_test.o `test -f 'xtalk_test.c' || echo './'`xtalk_test.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o xtalk_test xtalk_test-xtalk_test.o libxtalk.la -lusb-1.0 -lpthread -lm 
libtool: link: gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o xtalk_test xtalk_test-xtalk_test.o  ./.libs/libxtalk.a -lusb-1.0 -lpthread -lm
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o xtalk_raw_test-xtalk_raw_test.o `test -f 'xtalk_raw_test.c' || echo './'`xtalk_raw_test.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o xtalk_raw_test xtalk_raw_test-xtalk_raw_test.o libxtalk.la -lusb-1.0 -lpthread -lm 
libtool: link: gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o xtalk_raw_test xtalk_raw_test-xtalk_raw_test.o  ./.libs/libxtalk.a -lusb-1.0 -lpthread -lm
gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o xtalk_send-xtalk_send.o `test -f 'xtalk_send.c' || echo './'`xtalk_send.c
/bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS  -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o xtalk_send xtalk_send-xtalk_send.o libxtalk.la -lusb-1.0 -lpthread -lm 
libtool: link: gcc -Wall -Wno-unknown-pragmas -Werror -DXTALK_DLL -DXTALK_DLL_EXPORTS -I./include -I. -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o xtalk_send xtalk_send-xtalk_send.o  ./.libs/libxtalk.a -lusb-1.0 -lpthread -lm
make[5]: Leaving directory '/<<PKGBUILDDIR>>/xpp/xtalk'
make[5]: Entering directory '/<<PKGBUILDDIR>>/xpp'
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o astribank_tool-astribank_tool.o `test -f 'astribank_tool.c' || echo './'`astribank_tool.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o libastribank_la-astribank.lo `test -f 'astribank.c' || echo './'`astribank.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c astribank.c  -fPIC -DPIC -o .libs/libastribank_la-astribank.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c astribank.c -o libastribank_la-astribank.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o libastribank_la-mpptalk.lo `test -f 'mpptalk.c' || echo './'`mpptalk.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c mpptalk.c  -fPIC -DPIC -o .libs/libastribank_la-mpptalk.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c mpptalk.c -o libastribank_la-mpptalk.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o libastribank_la-astribank_license.lo `test -f 'astribank_license.c' || echo './'`astribank_license.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c astribank_license.c  -fPIC -DPIC -o .libs/libastribank_la-astribank_license.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c astribank_license.c -o libastribank_la-astribank_license.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I. -I./xtalk/include  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o libastribank.la  libastribank_la-astribank.lo libastribank_la-mpptalk.lo libastribank_la-astribank_license.lo xtalk/libxtalk.la -lpthread -lm 
libtool: link: (cd .libs/libastribank.lax/libxtalk.a && ar x "/<<PKGBUILDDIR>>/xpp/xtalk/.libs/libxtalk.a")
libtool: link: ar cr .libs/libastribank.a .libs/libastribank_la-astribank.o .libs/libastribank_la-mpptalk.o .libs/libastribank_la-astribank_license.o   .libs/libastribank.lax/libxtalk.a/libxtalk_la-debug.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xlist.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xtalk-xusb.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xtalk_base.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xtalk_raw.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xtalk_sync.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xusb_common.o .libs/libastribank.lax/libxtalk.a/libxtalk_la-xusb_libusbx.o 
libtool: link: ranlib .libs/libastribank.a
libtool: link: rm -fr .libs/libastribank.lax
libtool: link: ( cd ".libs" && rm -f "libastribank.la" && ln -s "../libastribank.la" "libastribank.la" )
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I. -I./xtalk/include  -Wall  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -lusb-1.0 -flto=auto -ffat-lto-objects -Wl,-z,relro -o astribank_tool astribank_tool-astribank_tool.o libastribank.la -lpthread -lm 
libtool: link: gcc -I. -I./xtalk/include -Wall -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o astribank_tool astribank_tool-astribank_tool.o  ./.libs/libastribank.a -lusb-1.0 -lpthread -lm
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o astribank_hexload-astribank_hexload.o `test -f 'astribank_hexload.c' || echo './'`astribank_hexload.c
gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o astribank_hexload-pic_loader.o `test -f 'pic_loader.c' || echo './'`pic_loader.c
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o hexfile.lo hexfile.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c hexfile.c  -fPIC -DPIC -o .libs/hexfile.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c hexfile.c -o hexfile.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o libhexfile.la  hexfile.lo  -lpthread -lm 
libtool: link: ar cr .libs/libhexfile.a .libs/hexfile.o 
libtool: link: ranlib .libs/libhexfile.a
libtool: link: ( cd ".libs" && rm -f "libhexfile.la" && ln -s "../libhexfile.la" "libhexfile.la" )
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o libecholoader_la-parse_span_specs.lo `test -f 'parse_span_specs.c' || echo './'`parse_span_specs.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c parse_span_specs.c  -fPIC -DPIC -o .libs/libecholoader_la-parse_span_specs.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c parse_span_specs.c -o libecholoader_la-parse_span_specs.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include  -Wall  -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c -o libecholoader_la-echo_loader.lo `test -f 'echo_loader.c' || echo './'`echo_loader.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c echo_loader.c  -fPIC -DPIC -o .libs/libecholoader_la-echo_loader.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I./xtalk/include -Wall -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -c echo_loader.c -o libecholoader_la-echo_loader.o >/dev/null 2>&1
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I. -I./xtalk/include  -Wall  -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security  -flto=auto -ffat-lto-objects -Wl,-z,relro -o libecholoader.la  libecholoader_la-parse_span_specs.lo libecholoader_la-echo_loader.lo  -lpthread -lm 
libtool: link: ar cr .libs/libecholoader.a .libs/libecholoader_la-parse_span_specs.o .libs/libecholoader_la-echo_loader.o 
libtool: link: ranlib .libs/libecholoader.a
libtool: link: ( cd ".libs" && rm -f "libecholoader.la" && ln -s "../libecholoader.la" "libecholoader.la" )
/bin/bash ../libtool  --tag=CC   --mode=link gcc -I. -I./xtalk/include  -Wall  -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -lusb-1.0 -flto=auto -ffat-lto-objects -Wl,-z,relro -o astribank_hexload astribank_hexload-astribank_hexload.o astribank_hexload-pic_loader.o libhexfile.la libastribank.la libecholoader.la oct612x/liboctasic.la  -lpthread -lm 
libtool: link: gcc -I. -I./xtalk/include -Wall -I../xpp/oct612x/include -I../xpp/oct612x/octdeviceapi -I../xpp/oct612x/octdeviceapi/oct6100api -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -flto=auto -ffat-lto-objects -Wl,-z -Wl,relro -o astribank_hexload astribank_hexload-astribank_hexload.o astribank_hexload-pic_loader.o  ./.libs/libhexfile.a ./.libs/libastribank.a -lusb-1.0 ./.libs/libecholoader.a oct612x/.libs/liboctasic.a -lpthread -lm
/usr/bin/ld: /tmp/ccOefbCh.ltrans0.ltrans.o: in function `init_octasic':
./xpp/echo_loader.c:598: undefined reference to `get_ver'
/usr/bin/ld: /tmp/ccOefbCh.ltrans0.ltrans.o: in function `main':
./xpp/echo_loader.c:883: undefined reference to `get_ver'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:741: astribank_hexload] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/xpp'
make[4]: *** [Makefile:1063: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/xpp'
make[3]: *** [Makefile:1139: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:682: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [debian/rules:39: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

---

From: "Debian Bug Tracking System" <[email-masked]>
Date: Tue, 19 Jul 2022 16:55:22 +0000

Thank you for filing a new Bug report with Debian.

You can follow progress on this Bug here: 1015379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015379.

This is an automatically generated reply to let you know your message
has been received.

Your message has been forwarded to the package maintainers (but not
other interested parties, as you requested) for their attention; they
will reply in due course.

Your message has been sent to the package maintainer(s):
 Debian VoIP Team <[email-masked]>

If you wish to submit further information on this problem, please
send it to [email-masked].

Please do not send mail to [email-masked] unless you wish
to report a problem with the Bug-tracking system.

-- 
1015379: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015379
Debian Bug Tracking System
Contact [email-masked] with problems