Your message dated Thu, 15 Aug 2013 16:23:35 +0200
with message-id 
<CANBHLUhFGF+S6XwqD5sdEGvw=q=srcktl3uq12jvzvzz_pf...@mail.gmail.com>
and subject line Re: libdb_sql-5.3 doesn't link with needed libraries
has caused the Debian Bug report #712262,
regarding libdb_sql-5.3 doesn't link with needed libraries
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
712262: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712262
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: db5.3
Version: 5.3.21-1
Severity: minor
Tags: patch upstream
User: [email protected]
Usertags: origin-ubuntu saucy ubuntu-patch

Hi,

libdb_sql-5.3 doesn't link with libraries it uses. I'm not sure why but
I don't see this problem in sid, hence the severity. I suspect it's due
to Ubuntu's newer binutils being more strict, which sid will have at
some point. The FTBFS is:

,----
| libtool: link: cc -g -O2 -fstack-protector --param=ssp-buffer-size=4
| -Wformat -Werror=format-security -I/usr/li
| b/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -o
| .libs/dbsql -Wl,-Bsymbolic-functions -W
| l,-z -Wl,relro .libs/shell.o  ./.libs/libdb_sql-5.3.so -ldl -lpthread 
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlopen'
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlclose'
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlerror'
| ./.libs/libdb_sql-5.3.so: undefined reference to `dlsym'
`----

Because earlier in the build the library isn't linked with -ldl. Patch
attached.

Cheers,

-- 
Iain Lane                                  [ [email protected] ]
Debian Developer                                   [ [email protected] ]
Ubuntu Developer                                   [ [email protected] ]
diff -Nru db5.3-5.3.21/debian/changelog db5.3-5.3.21/debian/changelog
diff -Nru db5.3-5.3.21/debian/control db5.3-5.3.21/debian/control
--- db5.3-5.3.21/debian/control	2013-02-12 16:23:55.000000000 +0000
+++ db5.3-5.3.21/debian/control	2013-06-14 18:13:37.000000000 +0100
@@ -1,8 +1,7 @@
 Source: db5.3
 Section: libs
 Priority: standard
-Maintainer: Ubuntu Developers <[email protected]>
-XSBC-Original-Maintainer: Debian Berkeley DB Group <[email protected]>
+Maintainer: Debian Berkeley DB Group <[email protected]>
 Uploaders: Ondřej Surý <[email protected]>
 Standards-Version: 3.9.3
 # For cross building one also needs tcl8.4:native (ie. such that it
diff -Nru db5.3-5.3.21/debian/patches/link-sql-libs db5.3-5.3.21/debian/patches/link-sql-libs
--- db5.3-5.3.21/debian/patches/link-sql-libs	1970-01-01 01:00:00.000000000 +0100
+++ db5.3-5.3.21/debian/patches/link-sql-libs	2013-06-14 18:13:16.000000000 +0100
@@ -0,0 +1,14 @@
+Description: Link libdb_sql-5.3 with the right libraries.
+Author: Iain Lane <[email protected]>
+
+--- db5.3-5.3.21.orig/dist/Makefile.in
++++ db5.3-5.3.21/dist/Makefile.in
+@@ -897,7 +897,7 @@ $(libsql_version): $(SQL_OBJS)
+ 
+ # Shared SQL library.
+ $(libsqlso_target): $(SQL_OBJS)
+-	$(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(SQL_OBJS) $(LIBCSO_LIBS)
++	$(SOLINK) $(SOFLAGS) $(LDFLAGS) -o $@ $(SQL_OBJS) $(LIBCSO_LIBS) @SQL_LIBS@
+ 	$(RM) $(libsql)
+ 	$(LN) -s .libs/$(libsql_version) $(libsql)
+ 
diff -Nru db5.3-5.3.21/debian/patches/series db5.3-5.3.21/debian/patches/series
--- db5.3-5.3.21/debian/patches/series	2013-02-12 16:13:14.000000000 +0000
+++ db5.3-5.3.21/debian/patches/series	2013-06-14 17:49:04.000000000 +0100
@@ -3,3 +3,4 @@
 004-tclsleep.patch
 005-pg_crypt_size.patch
 006-mutex_alignment.patch
+link-sql-libs

--- End Message ---
--- Begin Message ---
Version: 5.3.21-2

I've uploaded this patch in db5.3.

Ubuntu, will not be having a mass-transition to db6.0, due to
licensing change in db6.0. Each package should be migrating
individually, if they are and their reverse dependencies are
compatible.

I believe this will be like gnutls, where the default version is now
stuck at gnutls26 (or whichever the last one before license change
was).

Regards,

Dmitrijs.

--- End Message ---

Reply via email to