Your message dated Sun, 10 Dec 2006 00:17:08 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#399208: fixed in rpm 4.4.1-14
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-14

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-14_i386.deb
  to pool/main/r/rpm/librpm-dev_4.4.1-14_i386.deb
librpm4_4.4.1-14_i386.deb
  to pool/main/r/rpm/librpm4_4.4.1-14_i386.deb
lsb-rpm_4.4.1-14_i386.deb
  to pool/main/r/rpm/lsb-rpm_4.4.1-14_i386.deb
python-rpm_4.4.1-14_i386.deb
  to pool/main/r/rpm/python-rpm_4.4.1-14_i386.deb
rpm_4.4.1-14.diff.gz
  to pool/main/r/rpm/rpm_4.4.1-14.diff.gz
rpm_4.4.1-14.dsc
  to pool/main/r/rpm/rpm_4.4.1-14.dsc
rpm_4.4.1-14_i386.deb
  to pool/main/r/rpm/rpm_4.4.1-14_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, 10 Dec 2006 09:32:59 +1100
Source: rpm
Binary: python-rpm rpm librpm-dev lsb-rpm librpm4
Architecture: source i386
Version: 4.4.1-14
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 399750
Changes: 
 rpm (4.4.1-14) unstable; urgency=medium
 .
   * Fixed FTBFS on non-linux archs: build-depends on
     libselinux1-dev. Closes: #399208. Patch by Konstantinos
     Koukopoulos <[EMAIL PROTECTED]>.
   * Fixed FTBFS on GNU/kFreeBSD. Closes: #399750.
     Patches by Petr Salinger <[EMAIL PROTECTED]>.
     Removed: 11-matchpathcon.diff
     Added: 11-matchpathcon.noselinux.diff and 21-kfreebsd.diff
Files: 
 5777cffbb3efa5dad6c24041a27f59fe 1036 admin optional rpm_4.4.1-14.dsc
 602c40871f2f85ce3ff2212431bbce01 241795 admin optional rpm_4.4.1-14.diff.gz
 7e79fdc48550f16d3f7dfe9889b2ee00 829750 admin optional rpm_4.4.1-14_i386.deb
 33938bae797afaecfb0dc6ff917310d0 2463140 devel optional 
lsb-rpm_4.4.1-14_i386.deb
 489f21cdc5189ed601b8541b6affceb5 978192 libs optional librpm4_4.4.1-14_i386.deb
 469091a82a2166ec9c7147b6ac8defd2 1310398 libdevel extra 
librpm-dev_4.4.1-14_i386.deb
 a6cbe9fe7b2be5ebc2548bd64ba38f61 496876 python extra 
python-rpm_4.4.1-14_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFe01VipBneRiAKDwRAjDDAKC3Hz9hUqKlQAd9CPStY8jbCKgUAQCffBBI
PyvNUOxszwN+vp8hASrUCbg=
=skR3
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to