Bug#707391: dahdi-tools: FTBFS: astribank_hexload.c:36:27: fatal error: ../autoconfig.h: No such file or directory
Lucas Nussbaum
lucas at lucas-nussbaum.net
Thu May 9 07:45:51 UTC 2013
Source: dahdi-tools
Version: 1:2.5.0.1-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130509 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, your package failed to build on
amd64.
Relevant part:
> make[2]: Entering directory `/«PKGBUILDDIR»/xpp'
> astribank_hexload.c:36:27: fatal error: ../autoconfig.h: No such file or directory
> compilation terminated.
> astribank_is_starting.c:1:27: fatal error: ../autoconfig.h: No such file or directory
> compilation terminated.
> rm -f .depend .octasic.depend *.o xtalk/*.o oct6100_adpcm_chan.o oct6100_channel.o oct6100_chip_open.o oct6100_chip_stats.o oct6100_conf_bridge.o oct6100_debug.o oct6100_events.o oct6100_interrupts.o oct6100_memory.o oct6100_miscellaneous.o oct6100_mixer.o oct6100_phasing_tsst.o oct6100_playout_buf.o oct6100_remote_debug.o oct6100_tlv.o oct6100_tone_detection.o oct6100_tsi_cnct.o oct6100_tsst.o octapi_bt0.o octapi_largmath.o octapi_llman.o .perlcheck astribank_is_starting dahdi_registration.8 xpp_sync.8 lsdahdi.8 xpp_blink.8 dahdi_genconf.8 dahdi_hardware.8 twinstar.8
> make[2]: Leaving directory `/«PKGBUILDDIR»/xpp'
> rm -f libtonezone*
> rm -f fxotune
> rm -f core
> rm -f dahdi_cfg-shared fxstest
> rm -rf doc/dahdi_cfg.8.html doc/dahdi_diag.8.html doc/dahdi_monitor.8.html doc/dahdi_scan.8.html doc/dahdi_test.8.html doc/dahdi_tool.8.html doc/fxotune.8.html doc/fxstest.8.html doc/patgen.8.html doc/pattest.8.html xpp/astribank_allow.8.html xpp/astribank_hexload.8.html xpp/astribank_is_starting.8.html xpp/astribank_tool.8.html xpp/fpga_load.8.html README.html README.Astribank.html *.asciidoc tonezones.txt
> make[2]: Entering directory `/«PKGBUILDDIR»/menuselect'
> rm -f menuselect cmenuselect gmenuselect nmenuselect menuselect.o strcompat.o menuselect_stub.o
> rm -f autoconfig.h config.status config.log makeopts
> rm -rf autom4te.cache
> make[2]: Leaving directory `/«PKGBUILDDIR»/menuselect'
> rm -f makeopts menuselect.makeopts menuselect-tree build_tools/menuselect-deps
> rm -f config.log config.status
> rm -f .*.d
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> dh_clean
> dpkg-source -b dahdi-tools-2.5.0.1
> dpkg-source: info: using source format `3.0 (quilt)'
> dpkg-source: info: building dahdi-tools using existing ./dahdi-tools_2.5.0.1.orig.tar.gz
> dpkg-source: info: building dahdi-tools in dahdi-tools_2.5.0.1-2.debian.tar.gz
> dpkg-source: info: building dahdi-tools in dahdi-tools_2.5.0.1-2.dsc
> debian/rules build
> dh build
> dh_testdir
> dh_auto_configure
> configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
> 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 we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking sys/soundcard.h usability... yes
> checking sys/soundcard.h presence... yes
> checking for sys/soundcard.h... yes
> checking linux/soundcard.h usability... yes
> checking linux/soundcard.h presence... yes
> checking for linux/soundcard.h... yes
> checking for ld... ld
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ISO C89... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for GNU make... make
> sed: can't read conftest.c: No such file or directory
> checking for grep... (cached) /bin/grep
> checking for sh... /bin/bash
> checking for ln... /bin/ln
> checking for wget... :
> checking for fetch... :
> checking for -Wdeclaration-after-statement support... yes
> checking for DAHDI_CODE in dahdi/user.h... yes
> checking for DAHDI_CONFIG_NTTE in dahdi/user.h... yes
> checking for newtBell in -lnewt... yes
> checking newt.h usability... yes
> checking newt.h presence... yes
> checking for newt.h... yes
> checking for usb_init in -lusb... yes
> checking usb.h usability... yes
> checking usb.h presence... yes
> checking for usb.h... yes
> checking for semtimedop... yes
> checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc.h... no
> checking for GENERIC_HDLC_VERSION version 4 in linux/hdlc/ioctl.h... yes
> configure: creating ./config.status
> config.status: creating build_tools/menuselect-deps
> config.status: creating makeopts
> config.status: creating autoconfig.h
> configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking
> configure: *** dahdi-tools build successfully configured ***
> debian/rules override_dh_auto_build
> make[1]: Entering directory `/«PKGBUILDDIR»'
> /usr/bin/make programs docs
> make[2]: Entering directory `/«PKGBUILDDIR»'
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT zonedata.lo -MF .zonedata.lo.d -MP -c -o zonedata.lo zonedata.c
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT tonezone.lo -MF .tonezone.lo.d -MP -c -o tonezone.lo tonezone.c
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT version.o -MF .version.o.d -MP -c -o version.o version.c
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -shared -Wl,-soname,libtonezone.so.2.0 -o libtonezone.so zonedata.lo tonezone.lo version.o -lm
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT zonedata.o -MF .zonedata.o.d -MP -c -o zonedata.o zonedata.c
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT tonezone.o -MF .tonezone.o.d -MP -c -o tonezone.o tonezone.c
> ar rcs libtonezone.a zonedata.o tonezone.o version.o
> ranlib libtonezone.a
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT fxotune.o -MF .fxotune.o.d -MP -c -o fxotune.o fxotune.c
> gcc fxotune.o version.o -lm -o fxotune
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT fxstest.o -MF .fxstest.o.d -MP -c -o fxstest.o fxstest.c
> gcc fxstest.o version.o libtonezone.so -lm -o fxstest
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT sethdlc.o -MF .sethdlc.o.d -MP -c -o sethdlc.o sethdlc.c
> gcc sethdlc.o version.o -o sethdlc
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_cfg.o -MF .dahdi_cfg.o.d -MP -c -o dahdi_cfg.o dahdi_cfg.c
> dahdi_cfg.c: In function 'dspanconfig':
> dahdi_cfg.c:261:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'ctcss':
> dahdi_cfg.c:758:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'dcsrx':
> dahdi_cfg.c:811:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'tx':
> dahdi_cfg.c:834:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'debounce_time':
> dahdi_cfg.c:863:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'burst_time':
> dahdi_cfg.c:886:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'tx_gain':
> dahdi_cfg.c:909:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'rx_gain':
> dahdi_cfg.c:930:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'de_emp':
> dahdi_cfg.c:951:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'pre_emp':
> dahdi_cfg.c:974:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'invert_cor':
> dahdi_cfg.c:997:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'ext_tone':
> dahdi_cfg.c:1024:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> dahdi_cfg.c: In function 'cor_thresh':
> dahdi_cfg.c:1053:6: warning: variable 'argc' set but not used [-Wunused-but-set-variable]
> gcc dahdi_cfg.o version.o libtonezone.a -lm -o dahdi_cfg
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_diag.o -MF .dahdi_diag.o.d -MP -c -o dahdi_diag.o dahdi_diag.c
> gcc dahdi_diag.o version.o -o dahdi_diag
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_monitor.o -MF .dahdi_monitor.o.d -MP -c -o dahdi_monitor.o dahdi_monitor.c
> gcc dahdi_monitor.o version.o -o dahdi_monitor
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_test.o -MF .dahdi_test.o.d -MP -c -o dahdi_test.o dahdi_test.c
> gcc dahdi_test.o version.o -o dahdi_test
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_scan.o -MF .dahdi_scan.o.d -MP -c -o dahdi_scan.o dahdi_scan.c
> gcc dahdi_scan.o version.o -o dahdi_scan
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_tool.o -MF .dahdi_tool.o.d -MP -c -o dahdi_tool.o dahdi_tool.c
> gcc dahdi_tool.o version.o -lnewt -o dahdi_tool
> gcc -g -O2 -I. -O2 -g -fPIC -Wall -DBUILDING_TONEZONE -MD -MT dahdi_maint.o -MF .dahdi_maint.o.d -MP -c -o dahdi_maint.o dahdi_maint.c
> dahdi_maint.c: In function 'main':
> dahdi_maint.c:82:6: warning: variable 'sflag' set but not used [-Wunused-but-set-variable]
> gcc dahdi_maint.o version.o -o dahdi_maint
> make[3]: Entering directory `/«PKGBUILDDIR»/xpp'
> Makefile:178: .depend: No such file or directory
> gcc -MM -Ioct612x/include -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api \
> `oct612x/octasic-helper objects | \
> tr -s ' ' '\n' | \
> sed -e 's,.*,oct612x/&,' -e 's/\.o$/.c/'` > .octasic.depend
> make[3]: Leaving directory `/«PKGBUILDDIR»/xpp'
> make[3]: Entering directory `/«PKGBUILDDIR»/xpp'
> for i in dahdi_registration xpp_sync lsdahdi xpp_blink dahdi_genconf dahdi_hardware twinstar; do perl -I./perl_modules -c $i || exit 1; done
> dahdi_registration syntax OK
> xpp_sync syntax OK
> lsdahdi syntax OK
> xpp_blink syntax OK
> dahdi_genconf syntax OK
> dahdi_hardware syntax OK
> twinstar syntax OK
> touch .perlcheck
> gcc -g -O2 -I. -Ixtalk -c -o astribank_is_starting.o astribank_is_starting.c
> gcc astribank_is_starting.o -o astribank_is_starting
> gcc -g -O2 -I. -Ixtalk -D_GNU_SOURCE -c -o fpga_load.o fpga_load.c
> gcc -g -O2 -I. -Ixtalk -c -o hexfile.o hexfile.c
> gcc fpga_load.o hexfile.o -lusb -o fpga_load
> gcc -g -O2 -I. -Ixtalk -c -o astribank_tool.o astribank_tool.c
> gcc -g -O2 -I. -Ixtalk -c -o astribank_usb.o astribank_usb.c
> gcc -g -O2 -I. -Ixtalk -c -o mpptalk.o mpptalk.c
> gcc -g -O2 -I. -Ixtalk -c -o xtalk/xtalk.o xtalk/xtalk.c
> gcc -g -O2 -I. -Ixtalk -c -o xtalk/xusb.o xtalk/xusb.c
> gcc -g -O2 -I. -Ixtalk -c -o xtalk/xlist.o xtalk/xlist.c
> gcc -g -O2 -I. -Ixtalk -c -o xtalk/debug.o xtalk/debug.c
> gcc astribank_tool.o astribank_usb.o mpptalk.o xtalk/xtalk.o xtalk/xusb.o xtalk/xlist.o xtalk/debug.o -lusb -o astribank_tool
> gcc -g -O2 -I. -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api -c -o astribank_hexload.o astribank_hexload.c
> gcc -g -O2 -I. -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api -c -o pic_loader.o pic_loader.c
> gcc -g -O2 -I. -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api -c -o echo_loader.o echo_loader.c
> gcc -c -g -O2 -I. -Ixtalk -Ioct612x/include -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api -Ioct612x/include -Ioct612x/octdeviceapi -Ioct612x/octdeviceapi/oct6100api -DPTR_TYPE=uint32_t -DcOCT6100_INTERNAL_SUPER_ARRAY_SIZE=1024 -DcOCT6100_MAX_ECHO_CHANNELS=672 -DcOCT6100_MAX_MIXER_EVENTS=1344 oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_adpcm_chan.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_channel.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_open.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_chip_stats.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_debug.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_interrupts.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_memory.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_mixer.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_phasing_tsst.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_remote_debug.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tlv.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tone_detection.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsi_cnct.c oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c oct612x/apilib/bt/octapi_bt0.c oct612x/apilib/largmath/octapi_largmath.c oct612x/apilib/llman/octapi_llman.c
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c: In function 'Oct6100ApiBridgeEventRemove':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_conf_bridge.c:3872:47: note: each undeclared identifier is reported only once for each function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In function 'Oct6100EventGetToneDef':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:89:32: note: each undeclared identifier is reported only once for each function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In function 'Oct6100BufferPlayoutTransferEvents':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1116:126: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c: In function 'Oct6100BufferPlayoutCheckForSpecificEvent':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_events.c:1287:29: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c: In function 'Oct6100ApiStrStr':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_miscellaneous.c:391:38: note: each undeclared identifier is reported only once for each function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In function 'Oct6100BufferPlayoutStopDef':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:530:43: note: each undeclared identifier is reported only once for each function it appears in
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c: In function 'Oct6100ApiInvalidateChanPlayoutStructs':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_playout_buf.c:2844:51: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c: In function 'Oct6100ApiReserveTsst':
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29: error: 'NULL' undeclared (first use in this function)
> oct612x/octdeviceapi/oct6100api/oct6100_api/oct6100_tsst.c:404:29: note: each undeclared identifier is reported only once for each function it appears in
> oct612x/apilib/bt/octapi_bt0.c: In function 'OctApiBt0Init':
> oct612x/apilib/bt/octapi_bt0.c:63:12: error: 'NULL' undeclared (first use in this function)
> oct612x/apilib/bt/octapi_bt0.c:63:12: note: each undeclared identifier is reported only once for each function it appears in
> oct612x/apilib/llman/octapi_llman.c: In function 'OctapiLlmAllocInit':
> oct612x/apilib/llman/octapi_llman.c:88:12: error: 'NULL' undeclared (first use in this function)
> oct612x/apilib/llman/octapi_llman.c:88:12: note: each undeclared identifier is reported only once for each function it appears in
> make[3]: *** [oct6100_adpcm_chan.o] Error 1
The full build log is available from:
http://people.debian.org/~lucas/logs/2013/05/09/dahdi-tools_2.5.0.1-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the Pkg-voip-maintainers
mailing list