gramophone2: FTBFS:/«PKGBUILDDIR»/grammyVM.c:1498:undefined reference to log10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gramophone2 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
affects ubuntu/gramophone2
importance high
tag ftbfs trusty
done
Hi there,
the package gramophone2 fails to build in current Ubuntu.
(Hopefully) Relevant part of the log:
-------
mkdir -p "."
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/«PKGBUILDDIR»'
make[1]: Nothing to be done for `reverse-config'.
make[1]: Leaving directory `/«PKGBUILDDIR»'
cd . && QUILT_PATCHES=
File series fully applied, ends at patch grammyVM.c.diff
touch debian/
/usr/bin/make -f debian/rules update-config
make[1]: Entering directory `/«PKGBUILDDIR»'
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/«PKGBUILDDIR»'
make -C .
make[1]: Entering directory `/«PKGBUILDDIR»'
flex GRAMophone.l
bison -d GRAMophone.y
GRAMophone.y: warning: 22 shift/reduce conflicts [-Wconflicts-sr]
GRAMophone.y: warning: 39 reduce/reduce conflicts [-Wconflicts-rr]
gcc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=
grammyVM.c init.c midicode.c\
midifile.c expcode.c debug.c errors.c\
hash.c GRAMophone.tab.c
In file included from GRAMophone.y:40:0:
GRAMophone.l: In function 'yylex':
GRAMophone.
GRAMophone.y: In function 'yyparse':
GRAMophone.
GRAMophone.
GRAMophone.
/tmp/ccWLX0zu.o: In function `write_
/«PKGBUILDDIR»
collect2: error: ld returned 1 exit status
make[1]: *** [default] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [debian/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
───────
Build finished at 20140208-2115
Finished
────────
E: Build failure (dpkg-buildpackage died)
Thanks for your time!
Regards,
Andreas
--
PGP-encrypted mails preferred
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624
This bug was fixed in the package gramophone2 - 0.8.13a-3ubuntu1
---------------
gramophone2 (0.8.13a-3ubuntu1) trusty; urgency=medium
* Update debian/ patches/ makefile. diff to put "-lm" into LDLIBS instead of
CFLAGS. The position of this parameter matters because Ubuntu uses --as-
needed as a default compiler flag and libs need to come after objects on
the command line. (LP: #1277954)
-- Andreas Moog <email address hidden> Sat, 08 Feb 2014 21:46:09 +0100