Package: martian-modem Version: 20080625-2 Severity: serious Tags: sid stretch Justification: fails to build from source
Hi, martian-modem can no longer be built in sid/i386. Maybe this is related to the switch to GCC 5: debian/rules build dh_testdir touch configure-stamp dh_testdir touch build-arch-stamp dh_testdir touch build-indep-stamp # Userspace tool building # /usr/bin/make -C modem make[1]: Entering directory '/tmp/buildd/martian-modem-20080625/modem' CC main.o CC dumpers.o CC log.o CC session.o CC mport.o CC pty.o pty.c: In function 'accept_client': pty.c:290:18: warning: variable 'timeout' set but not used [-Wunused-but-set-variable] struct timespec timeout; ^ CC sysdep.o CC isr.o CC smp.o CC core_if.o CC coresubst.o CC link.o CC tweakrelocsdynamic.o tweakrelocsdynamic.c:256:28: warning: 'syms' is static but used in inline function 'tweak_relocs_in_section' which is not static tweak_areloc (entry, &syms[sym_idx], newval); ^ tweakrelocsdynamic.c:227:20: warning: 'section_headers' is static but used in inline function 'tweak_relocs_in_section' which is not static int entries_num = section_headers[section].sh_size / sizeof (Elf32_Rel); ^ tweakrelocsdynamic.c:226:61: warning: 'section_headers' is static but used in inline function 'tweak_relocs_in_section' which is not static Elf32_Rel *entry = (Elf32_Rel *) ( (char *) image_header + section_headers[section].sh_offset ); ^ tweakrelocsdynamic.c:226:46: warning: 'image_header' is static but used in inline function 'tweak_relocs_in_section' which is not static Elf32_Rel *entry = (Elf32_Rel *) ( (char *) image_header + section_headers[section].sh_offset ); ^ CC coreadd.o CC elf386tweakrelocs LD marscore.o TWEAK marscore.o Objects: make[1]: Leaving directory '/tmp/buildd/martian-modem-20080625/modem' fakeroot debian/rules binary # Userspace tool building # /usr/bin/make -C modem make[1]: Entering directory '/tmp/buildd/martian-modem-20080625/modem' Objects: make[1]: Leaving directory '/tmp/buildd/martian-modem-20080625/modem' dh_testdir dh_testroot # Creating kernel module source container # dh_installdirs -pmartian-modem-source -i usr/src/modules/martian-modem/debian usr/src/modules/martian-modem/source dh_link -s -pmartian-modem-source ../packages/default.sh usr/share/modass/overrides/martian-modem-source # Copy only the driver source to the proper location dh_install -pmartian-modem-source *.[ch] usr/src/modules/martian-modem/source # Copy the needed debian/ pieces to the proper location dh_install -pmartian-modem-source ChangeLog README Concept usr/src/modules/martian-modem dh_install -pmartian-modem-source debian/*modules.in* usr/src/modules/martian-modem/debian dh_install -pmartian-modem-source debian/*_KVERS_* debian/rules debian/changelog debian/copyright \ debian/compat usr/src/modules/martian-modem/debian/ # Changing original martian.h path from upstream dh_install -pmartian-modem-source kmodule/* usr/src/modules/martian-modem/source # Due the lack of privative software and terms under "Redistribution and Usage" specified in Copyright section 2.3.2 # no modifications can be made over any files for distribution (read Copyright) dh_install -pmartian-modem-source martian.h usr/src/modules/martian-modem # Have to set permissions now before tar'ing chown -R root.src debian/martian-modem-source/usr/src/modules cd debian/martian-modem-source/usr/src && tar c modules | bzip2 -9 > martian-modem.tar.bz2 && rm -rf modules; cd - /tmp/buildd/martian-modem-20080625 # Creating userspace utils stuff # dh_installdirs -pmartian-modem /usr/sbin /usr/bin/make -C modem all make[1]: Entering directory '/tmp/buildd/martian-modem-20080625/modem' LD martian_modem tweakrelocsdynamic.o: In function `tweak_relocs': tweakrelocsdynamic.c:(.text+0x596): undefined reference to `tweak_relocs_in_section' collect2: error: ld returned 1 exit status Makefile:89: recipe for target 'martian_modem' failed make[1]: *** [martian_modem] Error 1 make[1]: Leaving directory '/tmp/buildd/martian-modem-20080625/modem' debian/rules:120: recipe for target 'install' failed make: *** [install] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 Please enable verbose build s.t. the actual compile commands are printed, this will simplify debugging and automated analysis of buildlogs. Andreas