Your message dated Thu, 02 Aug 2007 00:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#412878: fixed in libelf 0.8.6-4
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: libelf
Version: 0.8.6-3
Severity: normal
Tags: patch
Hi,
In Maemo[0] we'd like to have all package using the warning flags, so
I added that in the rules files, and fixed other build issues, namely:
* Reverted part of the diff on Makefile.in, so that configure can
detect the correct values by itself.
* Remove the hardcoded LINK_SHLIB in debian/rules, now that the
Makefile.in DTRT.
* Pass the arguments to configure so that it can allow cross-building.
* Support noopt, per policy.
* Enable -Wall by default.
regards,
guillem
[0] <http://www.maemo.org/>
diff -u libelf-0.8.6/lib/Makefile.in libelf-0.8.6/lib/Makefile.in
--- libelf-0.8.6/lib/Makefile.in
+++ libelf-0.8.6/lib/Makefile.in
@@ -44,12 +44,15 @@
DEPSHLIBS = @DEPSHLIBS@
DO_SHLIB = @DO_SHLIB@
-PICFLAGS = -fPIC
-SHLIB_SFX = .so.$(VERSION)
+PICFLAGS = @PICFLAGS@
+SHLIB_SFX = @SHLIB_SFX@
SHLINK_SFX = .so.$(word 1,$(subst ., ,$(VERSION))).$(word 2,$(subst ., ,$(VERSION)))
-SONAME_SFX = .so.$(MAJOR)
-LINK_SHLIB = $(CC) -shared
-INSTALL_SHLIB = @INSTALL_PROGRAM@
+#SHLINK_SFX = @SHLINK_SFX@
+SONAME_SFX = @SONAME_SFX@
+LINK_SHLIB = @LINK_SHLIB@
+INSTALL_SHLIB = @INSTALL_SHLIB@
+#INSTALL_SHLIB = @INSTALL_PROGRAM@
+
SHLIB = libelf$(SHLIB_SFX)
SHLINK = libelf$(SHLINK_SFX)
diff -u libelf-0.8.6/debian/rules libelf-0.8.6/debian/rules
--- libelf-0.8.6/debian/rules
+++ libelf-0.8.6/debian/rules
@@ -2,17 +2,25 @@
#
# Alex Pennace
-MAJOR=0
-CFLAGS=-O2 -g -D_REENTRANT
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+CFLAGS = -Wall -g -D_REENTRANT
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
build: build-stamp
build-stamp:
dh_testdir
mv po/de.gmo po/de.gmo.orig
cp po/de.gmo.orig po/de.gmo
- ./configure --prefix=/usr --enable-shared --host=$(DEB_HOST_GNU_TYPE)
- make CFLAGS="$(CFLAGS)" \
- LINK_SHLIB='gcc -shared -Wl,-soname,libelf.so.$(MAJOR) -lc'
+ ./configure --prefix=/usr --enable-shared \
+ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)
+ make CFLAGS="$(CFLAGS)"
touch build-stamp
clean:
--- End Message ---
--- Begin Message ---
Source: libelf
Source-Version: 0.8.6-4
We believe that the bug you reported is fixed in the latest version of
libelf, which is due to be installed in the Debian FTP archive:
libelf_0.8.6-4.diff.gz
to pool/main/libe/libelf/libelf_0.8.6-4.diff.gz
libelf_0.8.6-4.dsc
to pool/main/libe/libelf/libelf_0.8.6-4.dsc
libelfg0-dev_0.8.6-4_i386.deb
to pool/main/libe/libelf/libelfg0-dev_0.8.6-4_i386.deb
libelfg0_0.8.6-4_i386.deb
to pool/main/libe/libelf/libelfg0_0.8.6-4_i386.deb
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.
Alex Pennace <[EMAIL PROTECTED]> (supplier of updated libelf 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.7
Date: Wed, 1 Aug 2007 19:47:26 -0400
Source: libelf
Binary: libelfg0 libelfg0-dev
Architecture: source i386
Version: 0.8.6-4
Distribution: unstable
Urgency: low
Maintainer: Alex Pennace <[EMAIL PROTECTED]>
Changed-By: Alex Pennace <[EMAIL PROTECTED]>
Description:
libelfg0 - an ELF object file access library
libelfg0-dev - an ELF object file access library: development files
Closes: 412878
Changes:
libelf (0.8.6-4) unstable; urgency=low
.
* Closes: #412878: warnings, cross-building and other minor build
fixes. Thanks, Guillem Jover
Files:
6742b92e889fc1d613b89cd0b483cb32 578 devel optional libelf_0.8.6-4.dsc
16ca6008bbdee5db0d764d464526f1ea 5556 devel optional libelf_0.8.6-4.diff.gz
acbd5fe3cd0feabd24117fea562765a0 51566 libs optional libelfg0_0.8.6-4_i386.deb
88cd11ebf944f35132f40e9659b8950a 59514 libdevel optional
libelfg0-dev_0.8.6-4_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFGsR0Q+coB1eJqbygRAslQAJ9qL6x3KC2p3Te2DB20vyFBxYGBJACgkk4L
s43VcrYVK80ZvX3Qvls6+tU=
=d7DY
-----END PGP SIGNATURE-----
--- End Message ---