Package: librapi2
Version: 0.15-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch
User: peter.fritzs...@gmx.de
Usertags: no-add-needed

/bin/bash ../libtool --tag=CC --mode=link gcc -pthread -Wsign-compare -Wno-long-long -g -O2 -I../../src/ -Wall -g -O2 -Wl,-Bsymbolic-functions -o pcp pcommon.o pcp.o ../src/librapi.la libtool: link: gcc -pthread -Wsign-compare -Wno-long-long -g -O2 -I../../src/ -Wall -g -O2 -Wl,-Bsymbolic-functions -o .libs/pcp pcommon.o pcp.o ../src/.libs/librapi.so -pthread
/usr/bin/ld: pcommon.o: undefined reference to symbol 'wstr_from_current'
/usr/bin/ld: note: 'wstr_from_current' is defined in DSO /usr/lib/libsynce.so.0 so try adding it to the linker command line
/usr/lib/libsynce.so.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[4]: *** [pcp] Error 1
make[4]: Leaving directory `/build/buildd/librapi2-0.15/build-2.6/tools'
make[3]: *** [all-recursive] Error 1
diff -Nru librapi2-0.15/debian/changelog librapi2-0.15/debian/changelog
--- librapi2-0.15/debian/changelog	2010-12-03 01:03:51.000000000 +0100
+++ librapi2-0.15/debian/changelog	2010-12-04 13:03:02.000000000 +0100
@@ -1,3 +1,9 @@
+librapi2 (0.15-1ubuntu3) natty; urgency=low
+
+  * Fix build failure with ld --no-add-needed.
+
+ -- Matthias Klose <d...@ubuntu.com>  Sat, 04 Dec 2010 13:01:04 +0100
+
 librapi2 (0.15-1ubuntu2) natty; urgency=low
 
   * Rebuild to add support for python 2.7.
diff -Nru librapi2-0.15/debian/patches/ld-no-add-needed.patch librapi2-0.15/debian/patches/ld-no-add-needed.patch
--- librapi2-0.15/debian/patches/ld-no-add-needed.patch	1970-01-01 01:00:00.000000000 +0100
+++ librapi2-0.15/debian/patches/ld-no-add-needed.patch	2010-12-04 13:03:08.000000000 +0100
@@ -0,0 +1,47 @@
+Description: Upstream changes introduced in version 0.15-1ubuntu3
+ This patch has been created by dpkg-source during the package build.
+ Here's the last changelog entry, hopefully it gives details on why
+ those changes were made:
+ .
+ librapi2 (0.15-1ubuntu3) natty; urgency=low
+ .
+   * Fix build failure with ld --no-add-needed.
+ .
+ The person named in the Author field signed this changelog entry.
+Author: Matthias Klose <d...@ubuntu.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: http://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: <YYYY-MM-DD>
+
+--- librapi2-0.15.orig/tools/Makefile.in
++++ librapi2-0.15/tools/Makefile.in
+@@ -332,7 +332,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ AM_CFLAGS = @LIBSYNCE_CFLAGS@
+ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/support
+-LDADD = ../src/librapi.la
++LDADD = ../src/librapi.la $(LIBSYNCE_LIBS)
+ oidinfo_SOURCES = oidinfo.c
+ pcp_SOURCES = pcommon.c pcp.c
+ pls_SOURCES = pcommon.c pls.c
+--- librapi2-0.15.orig/tools/Makefile.am
++++ librapi2-0.15/tools/Makefile.am
+@@ -1,7 +1,7 @@
+ AM_CFLAGS = @LIBSYNCE_CFLAGS@
+ 
+ INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/support
+-LDADD = ../src/librapi.la
++LDADD = ../src/librapi.la $(LIBSYNCE_LIBS)
+ 
+ noinst_PROGRAMS = oidinfo
+ 
diff -Nru librapi2-0.15/debian/patches/series librapi2-0.15/debian/patches/series
--- librapi2-0.15/debian/patches/series	2010-05-12 13:06:03.000000000 +0200
+++ librapi2-0.15/debian/patches/series	2010-12-04 13:03:15.000000000 +0100
@@ -1,2 +1,3 @@
 0001-Rename-p-binaries-to-synce-p-to-avoid-conflicts.patch
 0002-pcp-Add-f-option-to-allow-overwriting-files.patch
+ld-no-add-needed.patch

Reply via email to