Your message dated Sun, 19 Nov 2006 05:02:50 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399208: fixed in rpm 4.4.1-12
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: rpm
Version: 4.4.1-11
Severity: important
Tags: patch
The latest version of rpm fails to build on GNU/k*BSD (and other non-linux
debian systems) because it build-depends on the linux-only package
libselinux1-dev. The attached patch corrects this.
Thanks for your cooperation,
Kostas Koukopoulos
--- rpm-4.4.1/debian/control.orig 2006-11-18 16:46:17.000000000 +0200
+++ rpm-4.4.1/debian/control 2006-11-18 16:21:34.000000000 +0200
@@ -1,7 +1,7 @@
Source: rpm
Section: admin
Priority: optional
-Build-Depends: debhelper (>= 5.0.37.2), libtool, autoconf, automake1.9, zlib1g-dev, libbz2-dev, libdb3-dev, dpkg-dev (>= 1.9.0), libpopt-dev (>= 1.6.4), python-all-dev, libbeecrypt6-dev, libneon25-dev, libxml2-dev, libreadline5-dev, libselinux1-dev, libsepol1-dev, libsqlite3-dev, python-central (>= 0.5)
+Build-Depends: debhelper (>= 5.0.37.2), libtool, autoconf, automake1.9, zlib1g-dev, libbz2-dev, libdb3-dev, dpkg-dev (>= 1.9.0), libpopt-dev (>= 1.6.4), python-all-dev, libbeecrypt6-dev, libneon25-dev, libxml2-dev, libreadline5-dev, libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsepol1-dev, libsqlite3-dev, python-central (>= 0.5)
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Uploaders: Anand Kumria <[EMAIL PROTECTED]>, VÃctor Pérez Pereira <[EMAIL PROTECTED]>
XS-Python-Version: all
@@ -53,7 +53,7 @@
Replaces: rpm (<< 2.5), librpm1-dev (<< 4.0), librpm0-dev
Provides: librpm0-dev
Conflicts: librpm1-dev (<< 4.0), librpm0-dev
-Depends: librpm4, libc6-dev, libpopt-dev (>= 1.6.4), libdb3-dev,libbz2-dev, libz-dev, libbeecrypt6-dev, libneon25-dev, libxml2-dev, libreadline5-dev, libselinux1-dev, libsqlite3-dev, ${misc:Depends}
+Depends: librpm4, libc6-dev, libpopt-dev (>= 1.6.4), libdb3-dev,libbz2-dev, libz-dev, libbeecrypt6-dev, libneon25-dev, libxml2-dev, libreadline5-dev, libselinux1-dev [!kfreebsd-i386 !kfreebsd-amd64 !hurd-i386], libsqlite3-dev, ${misc:Depends}
Description: RPM shared library, development kit
This library allows programs to make use of a rpm database or rpm packages
without going through the rpm program.
--- rpm-4.4.1/debian/rules.orig 2006-11-18 16:45:58.000000000 +0200
+++ rpm-4.4.1/debian/rules 2006-11-18 16:44:05.000000000 +0200
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
@@ -8,6 +9,12 @@
PYDEF := $(shell pyversions -vd)
PYVERS := $(shell pyversions -vr debian/control)
+ifeq (linux,$(DEB_HOST_ARCH_OS))
+ SELINUXLIBS = -lselinux -lsepol
+else
+ SELINUXLIBS = -lsepol
+endif
+
makefiles:
cd popt && aclocal && libtoolize --copy --force && automake -c -i && autoconf && ./configure
#cd beecrypt && aclocal-1.7 && libtoolize --copy --force && automake-1.7 -i -a -c -f && autoconf
@@ -37,7 +44,7 @@
./lib/.libs/librpm.a ./rpmdb/.libs/librpmdb.a \
./rpmio/.libs/librpmio.a -L/usr/local/lib -lbeecrypt -lneon \
-lssl -lcrypto -lxml2 -lm -lsqlite3 -lz -lbz2 -lpopt -ldb \
- -lselinux -lsepol -ldl -lpthread --static
+ $(SELINUXLIBS) -ldl -lpthread --static
set -e; \
for v in $(filter-out $(PYDEF), $(PYVERS)); do \
rm -rf python$$v; \
--- End Message ---
--- Begin Message ---
Source: rpm
Source-Version: 4.4.1-12
We believe that the bug you reported is fixed in the latest version of
rpm, which is due to be installed in the Debian FTP archive:
librpm-dev_4.4.1-12_i386.deb
to pool/main/r/rpm/librpm-dev_4.4.1-12_i386.deb
librpm4_4.4.1-12_i386.deb
to pool/main/r/rpm/librpm4_4.4.1-12_i386.deb
lsb-rpm_4.4.1-12_i386.deb
to pool/main/r/rpm/lsb-rpm_4.4.1-12_i386.deb
python-rpm_4.4.1-12_i386.deb
to pool/main/r/rpm/python-rpm_4.4.1-12_i386.deb
rpm_4.4.1-12.diff.gz
to pool/main/r/rpm/rpm_4.4.1-12.diff.gz
rpm_4.4.1-12.dsc
to pool/main/r/rpm/rpm_4.4.1-12.dsc
rpm_4.4.1-12_i386.deb
to pool/main/r/rpm/rpm_4.4.1-12_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.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated rpm 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: Sun, 19 Nov 2006 12:57:46 +1100
Source: rpm
Binary: python-rpm rpm librpm-dev lsb-rpm librpm4
Architecture: source i386
Version: 4.4.1-12
Distribution: unstable
Urgency: medium
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description:
librpm-dev - RPM shared library, development kit
librpm4 - RPM shared library
lsb-rpm - Red Hat package manager for LSB package building
python-rpm - Python bindings for RPM
rpm - Red Hat package manager
Closes: 399208
Changes:
rpm (4.4.1-12) unstable; urgency=medium
.
* Fixed FTBFS on non-linux archs: build-depends on
libselinux1-dev. Closes: #399208. Patch by Konstantinos
Koukopoulos <[EMAIL PROTECTED]>.
Files:
3b6424f0c0612a61584ce1f8a8002f08 1036 admin optional rpm_4.4.1-12.dsc
7275d77bb410a24b29454de74a28b158 241710 admin optional rpm_4.4.1-12.diff.gz
8ba399971197ecf278b3aa584ca935ac 829556 admin optional rpm_4.4.1-12_i386.deb
dfff6b18611d6ce49e7da7a4812e5f4e 2462968 devel optional
lsb-rpm_4.4.1-12_i386.deb
6e34917b03d63242957869241b4ca318 978062 libs optional librpm4_4.4.1-12_i386.deb
dbdcf916e348c47ee6970f47a5cdaeaa 1310284 libdevel extra
librpm-dev_4.4.1-12_i386.deb
b54b5ad0594a85f764c7a54509aea97e 496806 python extra
python-rpm_4.4.1-12_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFFYFFVipBneRiAKDwRAl2eAJ9NLc6sgH39KXDZ+KbL5tZig6C/KACgpTB6
9naD6MAX8mz02yoK3dyl+mk=
=Vjsa
-----END PGP SIGNATURE-----
--- End Message ---