Package: cyrus-sasl2
Version: 2.1.19-1.6
Severity: normal
Tags: patch
When building 'cyrus-sasl2' on ppc64/unstable,
I get the following error:
gcc -shared .libs/auxprop.o .libs/canonusr.o .libs/checkpw.o .libs/client.o
.libs/common.o .libs/config.o .libs/external.o .libs/md5.o .libs/saslutil.o
.libs/server.o .libs/seterror.o .libs/dlopen.o .libs/plugin_common.o -ldl
-lresolv -Wl,--version-script=Versions -Wl,-soname -Wl,libsasl2.so.2 -o
.libs/libsasl2.so.2.0.19
/usr/bin/ld:Versions:3: syntax error in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libsasl2.la] Error 1
make[3]: Leaving directory
`/cyrus-sasl2-2.1.19/build-tree/cyrus-sasl-2.1.19/lib'
Please remove the Debian-specific patch
'debian/patches/02_versioned_symbols.diff'
which causes the ppc64 build to fail.
With the attached patch 'cyrus-sasl2' can be
compiled on ppc64.
Regards
Andreas Jochens
diff -urN
../tmp-orig/cyrus-sasl2-2.1.19/debian/patches/02_versioned_symbols.diff
./debian/patches/02_versioned_symbols.diff
--- ../tmp-orig/cyrus-sasl2-2.1.19/debian/patches/02_versioned_symbols.diff
2005-09-10 14:16:55.000000000 +0200
+++ ./debian/patches/02_versioned_symbols.diff 1970-01-01 01:00:00.000000000
+0100
@@ -1,25 +0,0 @@
-diff -Nru3 ./cyrus-sasl-2.1.19/lib/Makefile.am
../build-tree.new/cyrus-sasl-2.1.19/lib/Makefile.am
---- ./cyrus-sasl-2.1.19/lib/Makefile.am 2004-07-02 20:39:36.000000000
+0100
-+++ ../build-tree.new/cyrus-sasl-2.1.19/lib/Makefile.am 2004-07-17
19:07:03.000000000 +0100
-@@ -60,8 +60,8 @@
- lib_LTLIBRARIES = libsasl2.la
-
- libsasl2_la_SOURCES = $(common_sources) $(common_headers)
--libsasl2_la_LDFLAGS = -version-info $(sasl_version)
--libsasl2_la_DEPENDENCIES = $(LTLIBOBJS)
-+libsasl2_la_LDFLAGS = -version-info $(sasl_version)
-Wl,--version-script=Versions
-+libsasl2_la_DEPENDENCIES = $(LTLIBOBJS) Versions
- libsasl2_la_LIBADD = $(LTLIBOBJS) $(SASL_DL_LIB) $(LIB_SOCKET) $(LIB_DOOR)
-
- if MACOSX
-@@ -92,3 +92,10 @@
- libsasl2.la >TMP.$$ && mv TMP.$$ libsasl2.la
- rm -f $@
- ln -s .libs/$@ $@
-+
-+Versions: $(libsasl2_la_OBJECTS)
-+ rm -f $@
-+ echo "SASL2 {" > $@
-+ echo " global:" >> $@
-+ nm $(patsubst %.lo,%.o,$(libsasl2_la_OBJECTS)) | grep " [Tt] " | cut
-d" " -f3 | sed -e 's/$$/;/' >>$@
-+ echo "};" >> $@
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]