martian-modem: FTBFS in sid: undefined reference to `tweak_relocs_in_section'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
martian-modem (Debian) |
Fix Released
|
Unknown
|
|||
martian-modem (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
Imported from Debian bug http://
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/
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-
struct timespec timeout;
^
CC sysdep.o
CC isr.o
CC smp.o
CC core_if.o
CC coresubst.o
CC link.o
CC tweakrelocsdyna
tweakrelocsdyna
tweak_areloc (entry, &syms[sym_idx], newval);
tweakrelocsdyna
int entries_num = section_
tweakrelocsdyna
Elf32_Rel *entry = (Elf32_Rel *) ( (char *) image_header + section_
tweakrelocsdyna
Elf32_Rel *entry = (Elf32_Rel *) ( (char *) image_header + section_
CC coreadd.o
CC elf386tweakrelocs
LD marscore.o
TWEAK marscore.o
Objects:
make[1]: Leaving directory '/tmp/buildd/
fakeroot debian/rules binary
# Userspace tool building
#
/usr/bin/make -C modem
make[1]: Entering directory '/tmp/buildd/
Objects:
make[1]: Leaving directory '/tmp/buildd/
dh_testdir
dh_testroot
# Creating kernel module source container
#
dh_installdirs -pmartian-
dh_link -s -pmartian-
# Copy only the driver source to the proper location
dh_install -pmartian-
# Copy the needed debian/ pieces to the proper location
dh_install -pmartian-
dh_install -pmartian-
dh_install -pmartian-
# Changing original martian.h path from upstream
dh_install -pmartian-
# 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-
# Have to set permissions now before tar'ing
chown -R root.src debian/
cd debian/
/tmp/buildd/
# Creating userspace utils stuff
#
dh_installdirs -pmartian-modem /usr/sbin
/usr/bin/make -C modem all
make[1]: Entering directory '/tmp/buildd/
LD martian_modem
tweakrelocsdyna
tweakrelocsdyna
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/
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
Changed in martian-modem (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: ftbfs |
description: | updated |
Changed in martian-modem (Debian): | |
importance: | Undecided → Unknown |
Changed in martian-modem (Debian): | |
status: | New → Fix Released |