Your message dated Sun, 10 Jul 2011 07:02:10 +0000
with message-id <[email protected]>
and subject line Bug#607274: fixed in libowfat 0.28-3
has caused the Debian Bug report #607274,
regarding libowfat: Additional shared version of the library
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.)
--
607274: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607274
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libowfat-dev
Version: 0.28-2
Severity: normal
Hi,
I know that this was not the original intention of the upstream author, but
consider the following:
Another package in Debian (in this case, gatling) links against libowfat. The
binary executable originally links against dietlibc and libowfat. But we want
to link against libssl/OpenSSL also. In Debian, libssl is available as shared
library and statically, both linked against glibc. So we can't easily (and
sensibly) follow the static approach. Linking dynamically is possible since I
can make the program (gatling) link against shared glibc. But since it also
uses libowfat (which includes some dietlibc symbols), there's some symbol clash
between glibc and dietlibc symbols. Therefore, I linked libowfat dynamically
against glibc and everything runs smoothly.
I'm attaching a patch that adds the additional binary package libowfat0 with
the respective shared library libowfat.so.0. Considering that Debian's standard
way of delivering libs is shared - why not? ;-) Further, security updates to
libowfat would minimize recompiling dependent packages (e.g. gatling).
I'm using libowfat and gatling in a separate project (using OpenSSL), so if you
integrate the attached patch, I don't need the hassle of continued forking.
(And yes, gatling has the necessary license exception of linking against
openssl while being GPL'ed.)
Thanks for considering!
bye,
Roland
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.35-trunk-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libowfat-dev depends on:
ii dietlibc-dev 0.32-5 diet libc - a libc optimized for s
ii libowfat0 0.28-2 A reimplementation of libdjb, shar
libowfat-dev recommends no packages.
libowfat-dev suggests no packages.
-- no debconf information
diff -ruN libowfat-0.28/debian/changelog debian/libowfat-0.28/debian/changelog
--- libowfat-0.28/debian/changelog 2010-12-16 00:08:58.000000000 +0100
+++ debian/libowfat-0.28/debian/changelog 2010-12-16 15:23:18.000000000 +0100
@@ -1,3 +1,9 @@
+libowfat (0.28-3) unstable; urgency=low
+
+ * Added shared library libowfat.so.0 in package libowfat0
+
+ -- Roland Stigge <[email protected]> Thu, 16 Dec 2010 11:54:15 +0100
+
libowfat (0.28-2) unstable; urgency=medium
* debian/control: Build-Depends: dietlibc-dev (>= 0.32-5) [sparc]
diff -ruN libowfat-0.28/debian/control debian/libowfat-0.28/debian/control
--- libowfat-0.28/debian/control 2010-12-16 00:08:58.000000000 +0100
+++ debian/libowfat-0.28/debian/control 2010-12-16 15:23:34.000000000 +0100
@@ -8,9 +8,9 @@
Package: libowfat-dev
Section: libdevel
Architecture: any
-Depends: dietlibc-dev
+Depends: dietlibc-dev, libowfat0 (= ${binary:Version})
Conflicts: libdjbdns1-dev
-Description: A reimplementation of libdjb
+Description: A reimplementation of libdjb, development files
This library is a reimplementation of libdjb, which means that it provides
Daniel Bernstein's interfaces (with some extensions).
.
@@ -21,3 +21,20 @@
layer of mmap and sendfile.
.
The library is available for use with the diet libc.
+
+Package: libowfat0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A reimplementation of libdjb, shared library
+ This library is a reimplementation of libdjb, which means that it provides
+ Daniel Bernstein's interfaces (with some extensions).
+ .
+ It contains wrappers around memory allocation, buffered I/O, routines for
+ formatting and scanning, a full DNS resolver, several socket routines,
+ wrappers for socket functions, mkfifo, opendir, wait, and an abstraction
+ around errno. It also includes wrappers for Unix signal functions and a
+ layer of mmap and sendfile.
+ .
+ This package contains the shared library linked against glibc. The library is
+ also available for use with the diet libc (see libowfat-dev).
diff -ruN libowfat-0.28/debian/libowfat0.postinst debian/libowfat-0.28/debian/libowfat0.postinst
--- libowfat-0.28/debian/libowfat0.postinst 1970-01-01 01:00:00.000000000 +0100
+++ debian/libowfat-0.28/debian/libowfat0.postinst 2010-12-16 11:49:25.000000000 +0100
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "configure" ] ; then
+ ldconfig
+fi
+
diff -ruN libowfat-0.28/debian/libowfat0.shlibs debian/libowfat-0.28/debian/libowfat0.shlibs
--- libowfat-0.28/debian/libowfat0.shlibs 1970-01-01 01:00:00.000000000 +0100
+++ debian/libowfat-0.28/debian/libowfat0.shlibs 2010-12-16 10:36:16.000000000 +0100
@@ -0,0 +1 @@
+libowfat 0 libowfat0
diff -ruN libowfat-0.28/debian/rules debian/libowfat-0.28/debian/rules
--- libowfat-0.28/debian/rules 2010-12-16 00:08:58.000000000 +0100
+++ debian/libowfat-0.28/debian/rules 2010-12-16 15:40:53.000000000 +0100
@@ -6,6 +6,7 @@
endif
DIR =$(shell pwd)/debian/libowfat-dev
+DIR2 =$(shell pwd)/debian/libowfat0
patch: deb-checkdir patch-stamp
patch-stamp:
@@ -16,19 +17,23 @@
build: deb-checkdir build-stamp
build-stamp: patch-stamp
+ $(MAKE) DIET='' SHARED=1 libowfat.so
+ strip --strip-unneeded libowfat.so.*
+ $(MAKE) clean
$(MAKE) DIET='diet -v -Os'
touch build-stamp
clean: deb-checkdir deb-checkuid
$(MAKE) clean DIET='diet -v -Os'
+ rm -f libowfat.so*
test ! -e patch-stamp || \
for i in `ls -1r debian/diff/*.diff || :`; do patch -p1 -R <$$i; done
- rm -rf '$(DIR)' .diet
+ rm -rf '$(DIR)' '$(DIR2)' .diet
rm -f build-stamp install-stamp patch-stamp
- rm -f debian/files changelog
+ rm -f debian/files changelog debian/substvars
install: deb-checkdir deb-checkuid build-stamp
- rm -rf '$(DIR)'
+ rm -rf '$(DIR)' '$(DIR2)'
install -d -m0755 '$(DIR)'/usr/lib/diet/lib
install -d -m0755 '$(DIR)'/usr/include/diet
install -m0644 libowfat.a '$(DIR)'/usr/lib/diet/lib/
@@ -43,11 +48,20 @@
# changelog
test -r changelog || ln -s CHANGES changelog
+ install -d -m0755 '$(DIR)'/usr/lib
+ cp -a libowfat.so '$(DIR)'/usr/lib/
+
+ install -d -m0755 '$(DIR2)'/usr/lib
+ install -m0644 libowfat.so.* '$(DIR2)'/usr/lib/
+
binary-indep:
-binary-arch: install libowfat-dev.deb
+binary-arch: install libowfat-dev.deb libowfat0.deb
+ dpkg-shlibdeps libowfat.so.*
dpkg-gencontrol -isp -plibowfat-dev -P'$(DIR)'
dpkg -b '$(DIR)' ..
+ dpkg-gencontrol -isp -plibowfat0 -P'$(DIR2)'
+ dpkg -b '$(DIR2)' ..
binary: binary-indep binary-arch
.PHONY: build clean install binary-indep binary-arch binary
diff -ruN libowfat-0.28/debian/substvars debian/libowfat-0.28/debian/substvars
--- libowfat-0.28/debian/substvars 1970-01-01 01:00:00.000000000 +0100
+++ debian/libowfat-0.28/debian/substvars 2010-12-16 15:21:53.000000000 +0100
@@ -0,0 +1 @@
+shlibs:Depends=libc6 (>= 2.3.2)
diff -ruN libowfat-0.28/GNUmakefile debian/libowfat-0.28/GNUmakefile
--- libowfat-0.28/GNUmakefile 2010-12-16 15:34:39.000000000 +0100
+++ debian/libowfat-0.28/GNUmakefile 2010-12-16 15:34:02.000000000 +0100
@@ -15,10 +15,15 @@
all: t $(LIBS) libowfat.a libsocket
+SONAME=libowfat.so.0
+
CROSS=
#CROSS=i686-mingw-
CC=$(CROSS)gcc
CFLAGS=-pipe -W -Wall -O2 -fomit-frame-pointer
+ifeq ($(SHARED),1)
+CFLAGS+=-fPIC
+endif
#CFLAGS=-pipe -Os -march=pentiumpro -mcpu=pentiumpro -fomit-frame-pointer -fschedule-insns2 -Wall
# CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
@@ -299,3 +304,9 @@
windoze:
$(MAKE) DIET= CROSS=i686-mingw32-
+
+libowfat.so: $(SONAME)
+ ln -sf $< $@
+
+$(SONAME): $(ALL_OBJS)
+ $(CC) -shared -Wl,-soname=$(SONAME) $(CFLAGS) $^ -o $@
--- End Message ---
--- Begin Message ---
Source: libowfat
Source-Version: 0.28-3
We believe that the bug you reported is fixed in the latest version of
libowfat, which is due to be installed in the Debian FTP archive:
libowfat-dev_0.28-3_i386.deb
to main/libo/libowfat/libowfat-dev_0.28-3_i386.deb
libowfat-dietlibc-dev_0.28-3_i386.deb
to main/libo/libowfat/libowfat-dietlibc-dev_0.28-3_i386.deb
libowfat0_0.28-3_i386.deb
to main/libo/libowfat/libowfat0_0.28-3_i386.deb
libowfat_0.28-3.debian.tar.gz
to main/libo/libowfat/libowfat_0.28-3.debian.tar.gz
libowfat_0.28-3.dsc
to main/libo/libowfat/libowfat_0.28-3.dsc
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Roland Stigge <[email protected]> (supplier of updated libowfat package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 09 Jul 2011 18:06:52 +0200
Source: libowfat
Binary: libowfat0 libowfat-dev libowfat-dietlibc-dev
Architecture: source i386
Version: 0.28-3
Distribution: unstable
Urgency: low
Maintainer: Roland Stigge <[email protected]>
Changed-By: Roland Stigge <[email protected]>
Description:
libowfat-dev - Reimplementation of libdjb, development files
libowfat-dietlibc-dev - Reimplementation of libdjb, dietlibc version
libowfat0 - Reimplementation of libdjb, shared library
Closes: 461150 544059 607274
Changes:
libowfat (0.28-3) unstable; urgency=low
.
[ Walter Franzini ]
* Switched to Format: 3.0 (quilt)
* Build two flavors of libowfat, one linked against glibc, the other
against dietlibc. (Closes: #461150)
* Fixed dependency
.
[ Roland Stigge ]
* New maintainer (Closes: #544059)
* Added shared library version in libowfat0 (Closes: #607274)
* debian/control: Standards-Version: 3.9.2
Checksums-Sha1:
a8092133b25935b14969db3a5fe57c36ed966d57 1031 libowfat_0.28-3.dsc
948ae1da39eac0d44ba906fbc46ae2a717cf336a 26366 libowfat_0.28-3.debian.tar.gz
2527f4aefc42ecfee8c69f5a8552ae05b82a0a0e 107526
libowfat-dietlibc-dev_0.28-3_i386.deb
eeb2bec62d998108affba9aa52c2b7d98011625a 252496 libowfat-dev_0.28-3_i386.deb
91cee65a6f4609b60aebd53d769a23650d54efdd 71514 libowfat0_0.28-3_i386.deb
Checksums-Sha256:
95b67b0bc1e62a3f317cd092f0e4e19b7c67c5e417e4b6005805424aab1581b2 1031
libowfat_0.28-3.dsc
e740734a089d88db9565217c8aa2446cd13fbf4d910339628693556c9e1804ed 26366
libowfat_0.28-3.debian.tar.gz
6dbe494e18b73c316b37b93192df12db9226bd02b49592d0b3247e6fc95f3da3 107526
libowfat-dietlibc-dev_0.28-3_i386.deb
b3ce8a3ab24165afefbffdf00bbc0fe07fd405a0cdbdd5875b979bbb15176136 252496
libowfat-dev_0.28-3_i386.deb
65170907582e2105a9dfc9080d8cbda6398fcb06944a7c89837234d50cafa113 71514
libowfat0_0.28-3_i386.deb
Files:
9e59adf2d88f426cf290c5d41f1a5a40 1031 libs optional libowfat_0.28-3.dsc
8c813cda688443b7090738a19c21afc9 26366 libs optional
libowfat_0.28-3.debian.tar.gz
4a208012cb4299ad4deabb597e03dcf0 107526 libdevel optional
libowfat-dietlibc-dev_0.28-3_i386.deb
d1f5da740a9356e3567a3c3ee7954668 252496 libdevel optional
libowfat-dev_0.28-3_i386.deb
b549d038146678c8235b2c31808d7db9 71514 libs optional libowfat0_0.28-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFOGL3bcaH/YBv43g8RAvqnAKCVEz4mqtAtgzHJfEMO8lGnGuli9gCfeoi5
zTCCabv2I0CxSoAazkkQUVk=
=nn5A
-----END PGP SIGNATURE-----
--- End Message ---