Your message dated Sun, 28 Feb 2010 10:17:39 +0000
with message-id <e1nlgdt-0000tj...@ries.debian.org>
and subject line Bug#570277: fixed in openscap 0.5.7-1
has caused the Debian Bug report #570277,
regarding openscap: FTBFS on kfreebsd
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 ow...@bugs.debian.org
immediately.)


-- 
570277: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570277
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: openscap
Version: 0.5.6-1
Severity: serious
Tags: patch
User: debian-...@lists.debian.org
Usertags: kfreebsd
Justification: FTBFS

Hello,

Your package no longer builds from source on kfreebsd-*. The attached patch should fix this problem.

--
Jakub Wilk
diff -u openscap-0.5.6/debian/control openscap-0.5.6/debian/control
--- openscap-0.5.6/debian/control
+++ openscap-0.5.6/debian/control
@@ -8,7 +8,7 @@
     swig,
     python-all-dev, python-support (>= 0.5.3),
     libperl-dev,
-    libnl-dev,
+    libnl-dev [!kfreebsd-i386 kfreebsd-amd64],
     pkg-config
 XS-Python-Version: all
 Standards-Version: 3.8.3
only in patch2:
unchanged:
--- openscap-0.5.6.orig/src/OVAL/probes/fsdev.c
+++ openscap-0.5.6/src/OVAL/probes/fsdev.c
@@ -11,7 +11,7 @@
 #if defined(__linux__)
 # include <mntent.h>
 # include <unistd.h>
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 # include <sys/param.h>
 # include <sys/ucred.h>
 # include <sys/mount.h>
@@ -129,7 +129,7 @@
 
 	return (lfs);
 }
-#elif defined(__FreeBSD__)
+#elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
 static fsdev_t *__fsdev_init(fsdev_t * lfs, const char **fs, size_t fs_cnt)
 {
 	struct statfs *mntbuf = NULL;
only in patch2:
unchanged:
--- openscap-0.5.6.orig/src/OVAL/probes/unix/runlevel.c
+++ openscap-0.5.6/src/OVAL/probes/unix/runlevel.c
@@ -43,7 +43,7 @@
 
 static int get_runlevel (struct runlevel_req *req, struct runlevel_rep *rep);
 
-#if defined(__linux__)
+#if defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
 static int get_runlevel_redhat (struct runlevel_req *req, struct runlevel_rep *rep)
 {
         char pathbuf[PATH_MAX];
only in patch2:
unchanged:
--- openscap-0.5.6.orig/src/OVAL/probes/unix/file.c
+++ openscap-0.5.6/src/OVAL/probes/unix/file.c
@@ -24,7 +24,7 @@
 
 #if defined(__FreeBSD__)
 # define OS_FREEBSD
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)
 # define OS_LINUX
 #elif defined(sun) || defined(__sun)
 # if defined(__SVR4) || defined(__svr4__)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: openscap
Source-Version: 0.5.7-1

We believe that the bug you reported is fixed in the latest version of
openscap, which is due to be installed in the Debian FTP archive:

libopenscap-dev_0.5.7-1_amd64.deb
  to main/o/openscap/libopenscap-dev_0.5.7-1_amd64.deb
libopenscap-perl_0.5.7-1_amd64.deb
  to main/o/openscap/libopenscap-perl_0.5.7-1_amd64.deb
libopenscap0-dbg_0.5.7-1_amd64.deb
  to main/o/openscap/libopenscap0-dbg_0.5.7-1_amd64.deb
libopenscap0_0.5.7-1_amd64.deb
  to main/o/openscap/libopenscap0_0.5.7-1_amd64.deb
openscap_0.5.7-1.diff.gz
  to main/o/openscap/openscap_0.5.7-1.diff.gz
openscap_0.5.7-1.dsc
  to main/o/openscap/openscap_0.5.7-1.dsc
openscap_0.5.7.orig.tar.gz
  to main/o/openscap/openscap_0.5.7.orig.tar.gz
python-openscap_0.5.7-1_amd64.deb
  to main/o/openscap/python-openscap_0.5.7-1_amd64.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 570...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre Chifflier <pol...@debian.org> (supplier of updated openscap 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 28 Feb 2010 10:08:23 +0100
Source: openscap
Binary: libopenscap-dev libopenscap0 python-openscap libopenscap-perl 
libopenscap0-dbg
Architecture: source amd64
Version: 0.5.7-1
Distribution: unstable
Urgency: low
Maintainer: Pierre Chifflier <pol...@debian.org>
Changed-By: Pierre Chifflier <pol...@debian.org>
Description: 
 libopenscap-dev - Set of libraries enabling integration of the SCAP line of 
standar
 libopenscap-perl - Set of libraries enabling integration of the SCAP line of 
standar
 libopenscap0 - Set of libraries enabling integration of the SCAP line of 
standar
 libopenscap0-dbg - Set of libraries enabling integration of the SCAP line of 
standar
 python-openscap - Set of libraries enabling integration of the SCAP line of 
standar
Closes: 570277
Changes: 
 openscap (0.5.7-1) unstable; urgency=low
 .
   * Imported Upstream version 0.5.7
   * Update watch URL
   * Add libcurl-dev and libapt-pkg-dev to build-deps
   * Bump standards version to 3.8.4
   * Install probes in /usr/lib/openscap
   * Apply patch to fix FTBFS on kfreebsd (Closes: #570277)
Checksums-Sha1: 
 c28f3d20acf5d8dc8e6beaefaa254102f4ef9746 1312 openscap_0.5.7-1.dsc
 37883e5033f7006902d5682ebb251ce3bd8ade78 2354823 openscap_0.5.7.orig.tar.gz
 78cfa254355292a7721f6b5cc251be33e7c6c691 4127 openscap_0.5.7-1.diff.gz
 6324c9ec53ec3e642b08437cca1bec1f379cacf7 934126 
libopenscap-dev_0.5.7-1_amd64.deb
 3a7c905c2b89385b42014d0e2aad7c4ef67bd421 249446 libopenscap0_0.5.7-1_amd64.deb
 04869a5d855ef26b7f0ff49432abf813908f8ca1 315586 
python-openscap_0.5.7-1_amd64.deb
 9a8771754f9322c608d061d01b7749a5e1d0bfc8 297730 
libopenscap-perl_0.5.7-1_amd64.deb
 8be2d77267357ab52a7ec8eb8187d67d92af7794 1303724 
libopenscap0-dbg_0.5.7-1_amd64.deb
Checksums-Sha256: 
 c901adbc70f9fdb178161a474c566a092deb1e04bee1a9c02be66b286235d860 1312 
openscap_0.5.7-1.dsc
 6aa196607cb2dc1c22eca5f8515302ac10958b410b35527ab69880d4c0e8caed 2354823 
openscap_0.5.7.orig.tar.gz
 a42cde4918cd987a3b4c4cbd3ba635469ab97f36a8aeb292ea321ab5b619acd6 4127 
openscap_0.5.7-1.diff.gz
 75fdcb05f580ef4f21274c00a8aa0186b87713a49ed83fd869105496f1e2cbb5 934126 
libopenscap-dev_0.5.7-1_amd64.deb
 60502f1556ed6d8471a5a6b08c577b08fcec9157afa361fbacf4a130b4f4956d 249446 
libopenscap0_0.5.7-1_amd64.deb
 b8dda624d69d44583a29f0af558efe7ad6019bb42fe863d567cc5f38938e3d1b 315586 
python-openscap_0.5.7-1_amd64.deb
 bb0ef1832e32c97230bc4da21cef0b6006911914db522a0ebc9030d3d296965e 297730 
libopenscap-perl_0.5.7-1_amd64.deb
 1da5bb185b24b73159004dd0a8aca25d80402a33c4041a90b2a06145845dd2c9 1303724 
libopenscap0-dbg_0.5.7-1_amd64.deb
Files: 
 13ce4232ca8973b30e31932627717378 1312 libs extra openscap_0.5.7-1.dsc
 0c72fb5549f71ea095e0fe537f8030e8 2354823 libs extra openscap_0.5.7.orig.tar.gz
 06c7aa8d776592dfb9af2d322046cd65 4127 libs extra openscap_0.5.7-1.diff.gz
 54d1f725560dc8f82f8269cdbd894c79 934126 libdevel extra 
libopenscap-dev_0.5.7-1_amd64.deb
 69cde46c90a7bf8ab3a4ba6304337ccb 249446 libs extra 
libopenscap0_0.5.7-1_amd64.deb
 0ed7fdb626734c5127ef54950bf9f89a 315586 python extra 
python-openscap_0.5.7-1_amd64.deb
 fc0af076023b546d8771a0c01f54bdd6 297730 perl extra 
libopenscap-perl_0.5.7-1_amd64.deb
 22e05759ee6539de0f96be96c33cbff4 1303724 debug extra 
libopenscap0-dbg_0.5.7-1_amd64.deb

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

iD8DBQFLij+2twVrWo1fQMsRAvC/AKCZX2dAh/eZN1U0BaD12pBBE/w5lwCbB4l/
JJZC38fFZn2HdVvgze6q+Ww=
=jrg2
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to