Package: latex2rtf
Version: 1.9.19-4.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

latex2rtf in Ubuntu fails to build, probably because --as-needed is passed
to the linker.

Build log: 
https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2456035/+files/buildlog_ubuntu-natty-amd64.latex2rtf_1.9.19-4.1_FAILEDTOBUILD.txt.gz

*** /tmp/tmp37Uuhl
In Ubuntu, the attached patch was applied to achieve the following:

  * Makefile: add -lm to $LIBS, fixes FTBFS (LP: #770859)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-11-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u latex2rtf-1.9.19/Makefile latex2rtf-1.9.19/Makefile
--- latex2rtf-1.9.19/Makefile
+++ latex2rtf-1.9.19/Makefile
@@ -39,7 +39,7 @@
 
 CFLAGS:=$(CFLAGS) -g -Wall -fsigned-char
 
-LIBS=
+LIBS=-lm
 #LIBS=-lMallocDebug -force_flat_namespace
 
 VERSION:="`scripts/version`"

Reply via email to