Received: (at maintonly) by bugs.debian.org; 31 Jan 1997 17:48:22 +0000 Received: (qmail 14467 invoked from network); 31 Jan 1997 17:48:15 -0000 Received: from lix.polytechnique.fr (129.104.11.2) by master.debian.org with SMTP; 31 Jan 1997 17:48:14 -0000 Received: from fmurr.polytechnique.fr (delaunay@fmurr.polytechnique.fr [129.104.11.54]) by lix.polytechnique.fr (w.x.y/w.x.y) with ESMTP id SAA10069 for ; Fri, 31 Jan 1997 18:43:51 +0100 (MET) From: Eric Delaunay Received: (from delaunay@localhost) by fmurr.polytechnique.fr (8.8.4/8.8.4) id SAA14072 for maintonly@bugs.debian.org; Fri, 31 Jan 1997 18:43:50 +0100 Date: Fri, 31 Jan 1997 18:43:50 +0100 Message-Id: <199701311743.SAA14072@fmurr.polytechnique.fr> To: maintonly@bugs.debian.org Subject: libdb1 1.85.4-3 : sources broken (?) Package: libdb1 Version: 1.85.4-3 Hello, while trying to port libdb1 to sparc architecture, I can't generate binary packages with success. I ran these commands: debian/rules clean debian/rules build debian/rules binary First & second are ok, but the last builds an empty libdb1 package. In fact, shared library is placed in libdb1-dev. Since my sparc system isn't really stable, I tried a build on my PC: same problem appeared. Below, I included output of "debian/rules binary" and contents of each binary package if it can help you. I use the last Debian tools: dpkg / dpkg-dev 1.4.0.7 debmake 3.0.0 I'm not really familiar with the last tools required to be Debian compliant, therefore I don't want to patch the build process myself. So, could you send me a patch that address this problem ? Also, before an update to master, I'll send you a patch allowing compilation on sparc. Thanks in advance. Eric. -------------------------------------------------------------------------------- # dpkg --contents ../libdb1_1.85.4-3_i386.deb drwxr-xr-x root/root 0 Jan 31 18:12 1997 ./ -rw-r--r-- root/root 19 Jan 31 18:12 1997 files -rw-r--r-- root/root 35 Jan 31 18:12 1997 substvars -------------------------------------------------------------------------------- # dpkg --contents ../libdb1-dev_1.85.4-3_i386.deb drwxr-xr-x root/root 0 Jan 31 18:12 1997 ./ drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/ drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/lib/ -rw-r--r-- root/root 83434 Jan 31 18:12 1997 usr/lib/libdb.a -rwxr-xr-x root/root 58196 Jan 31 18:12 1997 usr/lib/libdb.so.1.85.4 lrwxrwxrwx root/root 0 Jan 31 18:12 1997 usr/lib/libdb.so.1 -> libdb.so.1.85.4 drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/include/ drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/include/db/ -rw-r--r-- root/root 4009 Jan 31 18:12 1997 usr/include/db/mpool.h -rw-r--r-- root/root 8213 Jan 31 18:12 1997 usr/include/db/db.h drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/man/ drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/man/man3/ -rw-r--r-- root/root 2539 Jan 31 18:12 1997 usr/man/man3/hash.3db.gz -rw-r--r-- root/root 2405 Jan 31 18:12 1997 usr/man/man3/mpool.3db.gz -rw-r--r-- root/root 3027 Jan 31 18:12 1997 usr/man/man3/recno.3db.gz -rw-r--r-- root/root 3620 Jan 31 18:12 1997 usr/man/man3/btree.3db.gz -rw-r--r-- root/root 4771 Jan 31 18:12 1997 usr/man/man3/dbopen.3db.gz drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/doc/ drwxr-xr-x root/root 0 Jan 31 18:12 1997 usr/doc/libdb/ -rw-r--r-- root/root 1991 Jan 31 18:12 1997 usr/doc/libdb/changelog.upstream.gz -rw-r--r-- root/root 2434 Jan 31 18:12 1997 usr/doc/libdb/copyright -rw-r--r-- root/root 4024 Jan 31 18:12 1997 usr/doc/libdb/changelog.Debian -rw-r--r-- root/root 140 Jan 31 18:12 1997 usr/doc/libdb/README.debian -rw-r--r-- root/root 122 Jan 31 18:12 1997 usr/doc/libdb/buildinfo.Debian -rw-r--r-- root/root 1557 Jan 31 18:12 1997 usr/doc/libdb/README -rw-r--r-- root/root 312 Jan 31 18:12 1997 usr/doc/libdb/README.linux -rw-r--r-- root/root 54681 Jan 31 18:12 1997 usr/doc/libdb/hash.usenix.ps.gz -rw-r--r-- root/root 62050 Jan 31 18:12 1997 usr/doc/libdb/libtp.usenix.ps.gz -------------------------------------------------------------------------------- # debian/rules binary test -f debian/rules test root = "`whoami`" test -f debian/rules install -d debian/libdb1 echo 'usr/lib/libdb.so.*' > debian/libdb1/files echo 'shlibs:Depends=libc5 (>= 5.4.17-1)' > debian/libdb1/substvars test -f debian/rules rm -rf debian/tmp debian/*/tmp install -d debian/tmp/usr/lib/ install -d debian/tmp/usr/include/ install -d debian/tmp/usr/man/man3 debian/tmp/usr/doc/libdb cd PORT/linux ; make CFLAGS=-O2 LDFLAGS=-s \ prefix=../../debian/tmp/usr \ includedir=../../debian/tmp/usr/include/db install make[1]: Entering directory `/var/tmp/libdb-1.85.4/PORT/linux' mkdir ../../debian/tmp/usr/lib mkdir: cannot make directory `../../debian/tmp/usr/lib': File exists make[1]: [install] Error 1 (ignored) mkdir ../../debian/tmp/usr/include/db install -c -m 644 libdb.a ../../debian/tmp/usr/lib/libdb.a install -c -m 755 libdb.so.1.85.4 ../../debian/tmp/usr/lib/libdb.so.1.85.4 install -c -m 644 include/mpool.h ../../debian/tmp/usr/include/db/mpool.h install -c -m 644 include/db.h ../../debian/tmp/usr/include/db/db.h make[1]: Leaving directory `/var/tmp/libdb-1.85.4/PORT/linux' cd man ; for page in *.3; do install -m644 $page ../debian/tmp/usr/man/man3/`basename $page .3`.3db ; done cd docs ; install -m644 *[^1-9].ps ../debian/tmp/usr/doc/libdb debstd -m changelog README* -- Installing Documentation ** Package libdb1 -- Checking for executable binaries in package Warning: No executables or libraries in the package! /tmp/libdb-1.85.4/debian/libdb1 /tmp/libdb-1.85.4 -- Checking Symlinks /tmp/libdb-1.85.4 dpkg-gencontrol: warning: unknown substitution variable ${shlibs:Depends} dpkg-deb: building package `libdb1' in `../libdb1_1.85.4-3_i386.deb'. ** Main Package libdb1-dev -- Processing provided sharable libraries Sharable Library debian/tmp/usr/lib/libdb.so.1.85.4 Added ELF Library link libdb.so.1 ln: cannot create symbolic link `/tmp/libdb-1.85.4/debian/debian/tmp/usr/lib/libdb.so' to `libdb.so.1.85.4': No such file or directory Added ELF Library link libdb.so (in base package) -- Processing provided static libraries Static Library debian/tmp/usr/lib/libdb.a -- Checking for executable binaries in package debian/tmp/usr/lib/libdb.so.1.85.4 ELF Binary debian/tmp/DEBIAN/postinst Script -- Running dpkg-shlibdeps on ELF Binaries dpkg-shlibdeps: warning: unknown output from ldd on `debian/tmp/usr/lib/libdb.so.1.85.4': ` ./debian/tmp/usr/lib/libdb.so.1.85.4 => ./debian/tmp/usr/lib/libdb.so.1.85.4' dpkg-shlibdeps: warning: unknown output from ldd on `debian/tmp/usr/lib/libdb.so.1.85.4': ` ./debian/tmp/usr/lib/libdb.so.1.85.4 => ./debian/tmp/usr/lib/libdb.so.1.85.4' /tmp/libdb-1.85.4/debian/tmp /tmp/libdb-1.85.4 -- Compressing/Converting Manpages -- Compressing Documentation -- Checking Symlinks /tmp/libdb-1.85.4 dpkg-gencontrol -plibdb1-dev chown -R root.root debian/tmp chmod -R go=rX debian/tmp dpkg --build debian/tmp .. dpkg-deb: building package `libdb1-dev' in `../libdb1-dev_1.85.4-3_i386.deb'. -- System Information Debian Release: 1.1 Kernel Version: Linux fmurr.polytechnique.fr 2.0.27 #2 Fri Jan 10 13:24:51 MET 1997 i586 Versions of the packages libdb1 depends on: libc5 Version: 5.4.17-1