[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914739: marked as done (rdiff-backup-fs FTCBFS: uses the wrong pkg-config)



Your message dated Tue, 12 Jul 2022 00:48:53 +0000
with message-id <E1oB457-000F0z-EZ@fasolo.debian.org>
and subject line Bug#914739: fixed in rdiff-backup-fs 1.0.0-7
has caused the Debian Bug report #914739,
regarding rdiff-backup-fs FTCBFS: uses the wrong pkg-config
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 owner@bugs.debian.org
immediately.)


-- 
914739: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=914739
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: rdiff-backup-fs
Version: 1.0.0-5
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

rdiff-backup-fs fails to cross build from source, because configure.ac
hard codes the build architecture pkg-config. The attached patch makes
it use PKG_CHECK_MODULES, which automatically picks up the right
pkg-config, and makes rdiff-backup-fs cross build successfully. Please
consider applying it.

Helmut
--- rdiff-backup-fs-1.0.0.orig/configure.ac
+++ rdiff-backup-fs-1.0.0/configure.ac
@@ -15,7 +15,7 @@
 dnl checks for libraries
 
 AC_CHECK_LIB([z], [gzgets],,[AC_MSG_ERROR(No zlib library!)])
-AC_CHECK_LIB(fuse, fuse_main, FUSE_LIBS="-lfuse", AC_MSG_ERROR(No fuse library!))
+PKG_CHECK_MODULES([FUSE],[fuse])
 
 dnl checks for header files
 
@@ -46,12 +46,12 @@
 dnl checking type of system to provide proper compile and linking flags
 
 case ${host} in
-    *-*-linux-*|*-*-k*bsd*-*)	AC_SUBST(CFLAGS, ["-Wall -g -O3 `pkg-config --cflags fuse`"])
-			AC_SUBST(LIBS, ["$LIBS `pkg-config --cflags --libs fuse` -lz"]);;
-    *-*-bsd-*)		AC_SUBST(CFLAGS, ["-Wall -g -O3 `pkg-config --cflags fuse`"])
-			AC_SUBST(LIBS, ["$LIBS `pkg-config --cflags --libs fuse` -lz"]);;
-    *-*-darwin*)	AC_SUBST(CFLAGS, ["-Wall -g -O3 `pkg-config --cflags fuse`"])
-			AC_SUBST(LIBS, ["$LIBS `pkg-config --cflags --libs fuse` -lz"]);;
+    *-*-linux-*|*-*-k*bsd*-*)	AC_SUBST(CFLAGS, ["-Wall -g -O3 $FUSE_CFLAGS"])
+			AC_SUBST(LIBS, ["$LIBS $FUSE_CFLAGS $FUSE_LIBS -lz"]);;
+    *-*-bsd-*)		AC_SUBST(CFLAGS, ["-Wall -g -O3 $FUSE_CFLAGS"])
+			AC_SUBST(LIBS, ["$LIBS $FUSE_CFLAGS $FUSE_LIBS -lz"]);;
+    *-*-darwin*)	AC_SUBST(CFLAGS, ["-Wall -g -O3 $FUSE_CFLAGS"])
+			AC_SUBST(LIBS, ["$LIBS $FUSE_CFLAGS $FUSE_LIBS -lz"]);;
     *)			AC_MSG_WARN(No automatic flags for this host system; set compile/linking flags manually);;
 esac
 

--- End Message ---
--- Begin Message ---
Source: rdiff-backup-fs
Source-Version: 1.0.0-7
Done: Vagrant Cascadian <vagrant@debian.org>

We believe that the bug you reported is fixed in the latest version of
rdiff-backup-fs, which is due to be installed in the Debian FTP archive.

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 914739@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated rdiff-backup-fs 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 11 Jul 2022 17:31:23 -0700
Source: rdiff-backup-fs
Architecture: source
Version: 1.0.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 914739
Changes:
 rdiff-backup-fs (1.0.0-7) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Helmut Grohne ]
   * Fix: FTCBFS: uses the wrong pkg-config (Closes: #914739)
Checksums-Sha1:
 6d4b2f1fd339627d1059d55cffda8dfbd51b02a8 1370 rdiff-backup-fs_1.0.0-7.dsc
 8988b643ab6adbcbe91164b5398557dd7b804734 5036 rdiff-backup-fs_1.0.0-7.debian.tar.xz
Checksums-Sha256:
 9ffd82674a109b05984704dc5b0420c5b80817c7bd2494612a56b51802cf6b18 1370 rdiff-backup-fs_1.0.0-7.dsc
 8888aa075fbb2493c68867461ecfe8b263152c7019295c44ae21c7964bb2189a 5036 rdiff-backup-fs_1.0.0-7.debian.tar.xz
Files:
 ba1a855dd78d3cd2e04811c50ff205b0 1370 utils optional rdiff-backup-fs_1.0.0-7.dsc
 488d9b93cc9b27e89882ad31cedd70e0 5036 utils optional rdiff-backup-fs_1.0.0-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYszCIBMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqIugA+QE87K60Q9Ip9YBydP5S5vtbtM8p+7m6
YHJAbx97aXA7AQCvLvFB6pBN0+HrSrFvrOTmQRlmFUcsVs5g0QWjb5EdDA==
=NZxv
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: