Public bug reported:
Imported from Debian bug http://bugs.debian.org/799291:
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
** Affects: martian-modem (Ubuntu)
Importance: High
Status: Triaged
** Affects: martian-modem (Debian)
Importance: Undecided
Status: New
** Tags: ftbfs
** Bug watch added: Debian Bug tracker #799291
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=799291
** Changed in: martian-modem (Debian)
Remote watch: None => Debian Bug tracker #799291
** Changed in: martian-modem (Ubuntu)
Status: New => Triaged
** Changed in: martian-modem (Ubuntu)
Importance: Undecided => High
** Tags added: ftbfs
** Description changed:
Imported from Debian bug http://bugs.debian.org/799291:
- Received: (at submit) by bugs.debian.org; 17 Sep 2015 15:05:23 +0000
- From [email protected] Thu Sep 17 15:05:23 2015
- X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
- (2014-02-07) on buxtehude.debian.org
- X-Spam-Level:
- X-Spam-Status: No, score=-12.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
- HAS_PACKAGE autolearn=ham autolearn_force=no
- version=3.4.0-bugs.debian.org_2005_01_02
- X-Spam-Bayes: score:0.0000 Tokens: new, 41; hammy, 150; neutral, 173; spammy,
- 0. spammytokens: hammytokens:0.000-+--H*M:reportbug,
0.000-+--H*MI:reportbug,
- 0.000-+--H*F:U*anbe, 0.000-+--H*RU:dezi.unixos.de,
0.000-+--H*RU:81.169.143.90
- Return-path: <[email protected]>
- Received: from dezi.unixos.de ([81.169.143.90] helo=mail1.unixos.de)
- by buxtehude.debian.org with esmtp (Exim 4.84)
- (envelope-from <[email protected]>)
- id 1ZcakU-0004xp-Tz
- for [email protected]; Thu, 17 Sep 2015 15:05:23 +0000
- Received: from mail1.unixos.de (localhost [127.0.0.1])
- by mail1.unixos.de (Postfix) with ESMTP id 65B3C61A28F;
- Thu, 17 Sep 2015 17:05:20 +0200 (CEST)
- Received: from zam581.zam.kfa-juelich.de (zam581.zam.kfa-juelich.de
[134.94.168.26])
- by mail1.unixos.de (Postfix) with ESMTPSA id 4B54C61A0A5;
- Thu, 17 Sep 2015 17:05:20 +0200 (CEST)
- Content-Type: text/plain; charset="us-ascii"
- MIME-Version: 1.0
- Content-Transfer-Encoding: 7bit
- From: Andreas Beckmann <[email protected]>
- To: Debian Bug Tracking System <[email protected]>
- Subject: martian-modem: FTBFS in sid: undefined reference to
`tweak_relocs_in_section'
- Message-ID: <[email protected]>
- Date: Thu, 17 Sep 2015 17:05:20 +0200
- X-AV-Checked: ClamAV using ClamSMTP
- Delivered-To: [email protected]
+ 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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1508283
Title:
martian-modem: FTBFS in sid: undefined reference to
`tweak_relocs_in_section'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/martian-modem/+bug/1508283/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs