Your message dated Sun, 22 May 2011 11:02:09 +0000
with message-id <[email protected]>
and subject line Bug#627433: fixed in dose2 1.4.2-4
has caused the Debian Bug report #627433,
regarding dose2: fails to build with rpm 4.9.0
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.)


-- 
627433: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627433
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dose2
Version: 1.4.2-3
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch oneiric

dose2 fails to build with rpm 4.9.0 from experimental:

  checking for library containing fdWritable... no
  configure: error: Could not find RPM library.

http://www.rpm.org/wiki/Releases/4.9.0 says:

  Unused fdReadable() and fdWritable() functions have been removed.

Since dose2 doesn't actually use fdWritable itself, it would make more
sense to check for a symbol it uses.  Fopen seems reasonable.

  * fdWritable no longer exists in RPM 4.9.0.  Look for a symbol we actually
    use instead.

diff -Nru dose2-1.4.2/debian/patches/rpm-4.9.0.patch 
dose2-1.4.2/debian/patches/rpm-4.9.0.patch
--- dose2-1.4.2/debian/patches/rpm-4.9.0.patch  1970-01-01 01:00:00.000000000 
+0100
+++ dose2-1.4.2/debian/patches/rpm-4.9.0.patch  2011-05-20 15:57:46.000000000 
+0100
@@ -0,0 +1,86 @@
+Description: fdWritable no longer exists in RPM 4.9.0
+ Look for a symbol we actually use instead.
+Author: Colin Watson <[email protected]>
+Last-Update: 2011-05-20
+
+Index: b/configure.ac
+===================================================================
+--- a/configure.ac
++++ b/configure.ac
+@@ -145,7 +145,7 @@
+ AC_CHECK_HEADERS([caml/custom.h],,AC_MSG_ERROR(Could not find OCaml headers.))
+ AC_CHECK_MEMBER([struct rpmlead.major],[AC_DEFINE([HAVE_RPMLEAD],[1],[Define 
if rpmlead exists.])])
+ AC_SEARCH_LIBS([poptGetContext],[popt],,AC_MSG_ERROR(Could not find popt 
library.))
+-AC_SEARCH_LIBS([fdWritable],[rpmio],,AC_MSG_ERROR(Could not find RPM 
library.))
++AC_SEARCH_LIBS([Fopen],[rpmio],,AC_MSG_ERROR(Could not find RPM library.))
+ AC_SEARCH_LIBS([rpmdbOpen],[rpmdb],,,[-lrpm],,AC_MSG_ERROR(Could not find RPM 
library.))
+ AC_SEARCH_LIBS([rpmVerifyFile],[rpm],,AC_MSG_ERROR(Could not find RPM 
library.))
+ 
+Index: b/configure
+===================================================================
+--- a/configure
++++ b/configure
+@@ -5315,9 +5315,9 @@
+    { (exit 1); exit 1; }; }
+ fi
+ 
+-{ $as_echo "$as_me:$LINENO: checking for library containing fdWritable" >&5
+-$as_echo_n "checking for library containing fdWritable... " >&6; }
+-if test "${ac_cv_search_fdWritable+set}" = set; then
++{ $as_echo "$as_me:$LINENO: checking for library containing Fopen" >&5
++$as_echo_n "checking for library containing Fopen... " >&6; }
++if test "${ac_cv_search_Fopen+set}" = set; then
+   $as_echo_n "(cached) " >&6
+ else
+   ac_func_search_save_LIBS=$LIBS
+@@ -5334,11 +5334,11 @@
+ #ifdef __cplusplus
+ extern "C"
+ #endif
+-char fdWritable ();
++char Fopen ();
+ int
+ main ()
+ {
+-return fdWritable ();
++return Fopen ();
+   ;
+   return 0;
+ }
+@@ -5371,7 +5371,7 @@
+        test "$cross_compiling" = yes ||
+        $as_test_x conftest$ac_exeext
+        }; then
+-  ac_cv_search_fdWritable=$ac_res
++  ac_cv_search_Fopen=$ac_res
+ else
+   $as_echo "$as_me: failed program was:" >&5
+ sed 's/^/| /' conftest.$ac_ext >&5
+@@ -5382,21 +5382,21 @@
+ rm -rf conftest.dSYM
+ rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+       conftest$ac_exeext
+-  if test "${ac_cv_search_fdWritable+set}" = set; then
++  if test "${ac_cv_search_Fopen+set}" = set; then
+   break
+ fi
+ done
+-if test "${ac_cv_search_fdWritable+set}" = set; then
++if test "${ac_cv_search_Fopen+set}" = set; then
+   :
+ else
+-  ac_cv_search_fdWritable=no
++  ac_cv_search_Fopen=no
+ fi
+ rm conftest.$ac_ext
+ LIBS=$ac_func_search_save_LIBS
+ fi
+-{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_fdWritable" >&5
+-$as_echo "$ac_cv_search_fdWritable" >&6; }
+-ac_res=$ac_cv_search_fdWritable
++{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_Fopen" >&5
++$as_echo "$ac_cv_search_Fopen" >&6; }
++ac_res=$ac_cv_search_Fopen
+ if test "$ac_res" != no; then
+   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
+ 
diff -Nru dose2-1.4.2/debian/patches/series dose2-1.4.2/debian/patches/series
--- dose2-1.4.2/debian/patches/series   2011-02-10 20:47:56.000000000 +0000
+++ dose2-1.4.2/debian/patches/series   2011-05-20 15:55:45.000000000 +0100
@@ -1 +1,2 @@
 debian-changes-1.4.2-3
+rpm-4.9.0.patch

Thanks,

-- 
Colin Watson                                       [[email protected]]



--- End Message ---
--- Begin Message ---
Source: dose2
Source-Version: 1.4.2-4

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

dose2_1.4.2-4.debian.tar.gz
  to main/d/dose2/dose2_1.4.2-4.debian.tar.gz
dose2_1.4.2-4.dsc
  to main/d/dose2/dose2_1.4.2-4.dsc
libdose2-ocaml-dev_1.4.2-4_amd64.deb
  to main/d/dose2/libdose2-ocaml-dev_1.4.2-4_amd64.deb
libdose2-ocaml_1.4.2-4_amd64.deb
  to main/d/dose2/libdose2-ocaml_1.4.2-4_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mehdi Dogguy <[email protected]> (supplier of updated dose2 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: SHA256

Format: 1.8
Date: Sun, 22 May 2011 12:09:33 +0200
Source: dose2
Binary: libdose2-ocaml-dev libdose2-ocaml
Architecture: source amd64
Version: 1.4.2-4
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <[email protected]>
Changed-By: Mehdi Dogguy <[email protected]>
Description: 
 libdose2-ocaml - OCaml libraries for managing packages and their dependencies
 libdose2-ocaml-dev - OCaml libraries for package dependencies (development 
files)
Closes: 627433
Changes: 
 dose2 (1.4.2-4) unstable; urgency=low
 .
   * Team upload.
   * Fix build failure when building with rpm 4.9 (Closes: #627433).
     - Add patch 0001-RPM-4.9.0.patch, by Colin Watson (Thanks for the patch).
   * Put changes made in 1.4.2-3 to source in debian/patches/0002-Ralf.patch
Checksums-Sha1: 
 88155271e95048ad17c4811cad6f40125fc70aee 1744 dose2_1.4.2-4.dsc
 76ccf25b033e47b3608ec1101ac13cc80890db0d 5669 dose2_1.4.2-4.debian.tar.gz
 cc3c9548dd75c7fdb7242451c938a3f43486dbd0 336850 
libdose2-ocaml-dev_1.4.2-4_amd64.deb
 e30d66885f1683d73a2e170ca5b6db4d5ae4e93c 13240 libdose2-ocaml_1.4.2-4_amd64.deb
Checksums-Sha256: 
 281145b1d3fa1a1c89977185fd74c67a355dabb214b17df469665186a2cf6587 1744 
dose2_1.4.2-4.dsc
 937595fe956444050256ed1e17cf142078b3da7d8d247bf46564e92fbe0a212e 5669 
dose2_1.4.2-4.debian.tar.gz
 5b116cc13b5c285043768faa4e743e473f4b47e858a767923a75b1f0c3606cad 336850 
libdose2-ocaml-dev_1.4.2-4_amd64.deb
 abf8f8ada86916d645d7dedcf2abe0ef97a3ffbb48e1e4c0083b4bec01ff8467 13240 
libdose2-ocaml_1.4.2-4_amd64.deb
Files: 
 8d9348ca197e6b3e3901069574e27f57 1744 ocaml extra dose2_1.4.2-4.dsc
 17f7f5b6a1662942b51184a974f183d1 5669 ocaml extra dose2_1.4.2-4.debian.tar.gz
 7a7542423ca2f91e419c18b598ac95bb 336850 ocaml extra 
libdose2-ocaml-dev_1.4.2-4_amd64.deb
 0629382699661ce0f88b209e3705d090 13240 ocaml extra 
libdose2-ocaml_1.4.2-4_amd64.deb

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

iQEcBAEBCAAGBQJN2OpkAAoJEDe1GR0FRlJofUEH/iNb5P/Z4XPOui2wFOgimf0w
jx9/jjl+wKfW5H23St+FnTI6iu1/AeiZsn9MyGKy4dKCGUfkwNQco95OaU7wHiyV
OhhFlVip+6e03BpSjtmioia59qVWy7LOrXaYCspgNLty+aRpdIrcUayFAT1INSFP
uLOI4bk7ED2HArYFd+q+Mq8mmHDxMrdFDsSfzUXOc8/gyqiVYOOyIQNZsrtZLMIU
Lxwo7hMrdCIhdbSgLqW3umbgga7W3yqC3+zEOcKZtONxyQP1NeHLSXkTPOhw3Nj5
mKq+8g/nf3bB6yVwBT6e/R2xr/sgubFp7ZC6aOL6YU71mG5KyNvxypfRAyGDvUM=
=1ufv
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to