Your message dated Fri, 23 Feb 2018 19:04:20 +0000
with message-id <e1epido-0001hx...@fasolo.debian.org>
and subject line Bug#858102: fixed in exif 0.6.21-2
has caused the Debian Bug report #858102,
regarding exif FTCBFS: uses the build architecture 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 ow...@bugs.debian.org
immediately.)


-- 
858102: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=858102
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: exif
Version: 0.6.21-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

exif fails to cross build from source, because GP_PKG_CONFIG fails to
consider $ac_tool_prefix when searching for pkg-config. Thus it fails
finding required libraries as those are only requested for the host
architecture. Replacing it with the upstream equivalent
PKG_PROG_PKG_CONFIG fixes the cross build.  Please consider applying the
attached patch after stretch is released.

Helmut
diff --minimal -Nru exif-0.6.21/debian/changelog exif-0.6.21/debian/changelog
--- exif-0.6.21/debian/changelog        2013-01-28 19:28:37.000000000 +0100
+++ exif-0.6.21/debian/changelog        2017-03-18 11:20:43.000000000 +0100
@@ -1,3 +1,10 @@
+exif (0.6.21-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: cross.patch (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 18 Mar 2017 11:20:43 +0100
+
 exif (0.6.21-1) unstable; urgency=low
 
   * New upstream release
diff --minimal -Nru exif-0.6.21/debian/patches/cross.patch 
exif-0.6.21/debian/patches/cross.patch
--- exif-0.6.21/debian/patches/cross.patch      1970-01-01 01:00:00.000000000 
+0100
+++ exif-0.6.21/debian/patches/cross.patch      2017-03-18 11:20:43.000000000 
+0100
@@ -0,0 +1,79 @@
+From: Helmut Grohne <hel...@subdivi.de>
+Subject: Fix cross compilation
+
+Replace GP_PKG_CONFIG with upstream macro PKG_PROG_PKG_CONFIG as the former
+fails to consider $ac_tool_prefix.
+
+Index: exif-0.6.21/configure.ac
+===================================================================
+--- exif-0.6.21.orig/configure.ac
++++ exif-0.6.21/configure.ac
+@@ -37,8 +37,6 @@
+ 
+ AC_CHECK_FUNCS([isatty fileno])
+ 
+-GP_PKG_CONFIG
+-
+ # ---------------------------------------------------------------------------
+ # i18n support
+ # ---------------------------------------------------------------------------
+Index: exif-0.6.21/m4m/gp-check-library.m4
+===================================================================
+--- exif-0.6.21.orig/m4m/gp-check-library.m4
++++ exif-0.6.21/m4m/gp-check-library.m4
+@@ -103,7 +103,7 @@
+ # ----------------------------------------------------------------------
+ dnl
+ AC_REQUIRE([GP_CONFIG_MSG])dnl
+-AC_REQUIRE([GP_PKG_CONFIG])dnl
++AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
+ AC_REQUIRE([_GP_CHECK_LIBRARY_SOEXT])dnl
+ dnl Use _CFLAGS and _LIBS given to configure.
+ dnl This makes it possible to set these vars in a configure script
+Index: exif-0.6.21/m4m/gp-pkg-config.m4
+===================================================================
+--- exif-0.6.21.orig/m4m/gp-pkg-config.m4
++++ /dev/null
+@@ -1,42 +0,0 @@
+-dnl @synopsis GP_PKG_CONFIG
+-dnl
+-dnl If you want to set the PKG_CONFIG_PATH, best do so before
+-dnl calling GP_PKG_CONFIG
+-AC_DEFUN([GP_PKG_CONFIG],[
+-#
+-# [GP_PKG_CONFIG]
+-#
+-AC_ARG_VAR([PKG_CONFIG],[pkg-config package config utility])
+-export PKG_CONFIG
+-AC_ARG_VAR([PKG_CONFIG_PATH],[directory where pkg-config looks for *.pc 
files])
+-export PKG_CONFIG_PATH
+-
+-AC_MSG_CHECKING([PKG_CONFIG_PATH])
+-if test "x${PKG_CONFIG_PATH}" = "x"; then
+-      AC_MSG_RESULT([empty])
+-else
+-      AC_MSG_RESULT([${PKG_CONFIG_PATH}])
+-fi
+-
+-dnl AC_REQUIRE([PKG_CHECK_MODULES])
+-AC_PATH_PROG([PKG_CONFIG],[pkg-config],[false])
+-if test "$PKG_CONFIG" = "false"; then
+-AC_MSG_ERROR([
+-*** Build requires pkg-config
+-***
+-*** Possible solutions:
+-***   - set PKG_CONFIG to where your pkg-config is located
+-***   - set PATH to include the directory where pkg-config is installed
+-***   - get it from http://freedesktop.org/software/pkgconfig/ and install it
+-])
+-fi
+-])dnl
+-
+-dnl Please do not remove this:
+-dnl filetype: d87b877b-80ec-447c-b042-21ec4a27c6f0
+-dnl I use this to find all the different instances of this file which 
+-dnl are supposed to be synchronized.
+-
+-dnl Local Variables:
+-dnl mode: autoconf
+-dnl End:
diff --minimal -Nru exif-0.6.21/debian/patches/series 
exif-0.6.21/debian/patches/series
--- exif-0.6.21/debian/patches/series   2013-01-27 15:47:53.000000000 +0100
+++ exif-0.6.21/debian/patches/series   2017-03-18 10:18:45.000000000 +0100
@@ -1 +1,2 @@
 fix_hyphens_manpage
+cross.patch

--- End Message ---
--- Begin Message ---
Source: exif
Source-Version: 0.6.21-2

We believe that the bug you reported is fixed in the latest version of
exif, 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 858...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hugh McMaster <hugh.mcmas...@outlook.com> (supplier of updated exif 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...@ftp-master.debian.org)


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

Format: 1.8
Date: Tue, 20 Feb 2018 22:32:27 +1100
Source: exif
Binary: exif
Architecture: source
Version: 0.6.21-2
Distribution: unstable
Urgency: medium
Maintainer: Debian PhotoTools Maintainers 
<pkg-phototools-de...@lists.alioth.debian.org>
Changed-By: Hugh McMaster <hugh.mcmas...@outlook.com>
Closes: 858102
Description: 
 exif       - command-line utility to show EXIF information in JPEG files
Changes:
 exif (0.6.21-2) unstable; urgency=medium
 .
   * Team upload.
   * debhelper update:
     - Update package compatibility to level 11.
   * debian/control:
     - Build-Depend on debhelper version 11.
     - Build-Depend on libexif-dev 0.6.21.
     - Remove dh-autoreconf and autotools-dev from the Build-Depends list.
     - Raise Standards-Version from 3.9.4 to 4.1.3.
     - Update the Homepage field to point to https://libexif.github.io.
     - Update the Vcs fields to point to https://salsa.debian.org.
     - Mark exif Multi-Arch: foreign.
   * debian/copyright:
     - Update the Format specification URI.
     - Update the Source URL field to point to https://libexif.github.io.
   * debian/patches:
     - add-am_prog_ar.patch: Add the AM_PROG_AR macro to configure.ac to avoid
       an automake warning.
     - cross-build-pkg-config.patch: Enable cross-compiling from source by
       allowing pkg-config to find libraries from the build architecture
       (thanks to Helmut Grohne for the patch) (Closes: #858102).
     - fix-hyphens-in-manpage.patch: Add .patch file extension and
       update the patch description.
     - fix-size_t-warnings.patch: Cast size_t precision and width specifiers
       to unsigned int to avoid compile-time warnings with printf().
   * debian/rules:
     - Add 'hardening=+all' to DEB_BUILD_MAINT_OPTIONS.
     - Remove '--with autotools_dev,autoreconf', as these options are now
       handled by debhelper level 11.
   * debian/source/options:
     - Remove from package. Debhelper handles the specified options by default.
Checksums-Sha1: 
 964076b32b41a1f29b30da127b0087c32752ac20 1999 exif_0.6.21-2.dsc
 7c35efcf124091015161e0ba96e20d14d75e75d2 8116 exif_0.6.21-2.debian.tar.xz
Checksums-Sha256: 
 5052789b465a7e6a6e4a4ebf2d2c77c6d3606a93834ff2072204b1ce026c694a 1999 
exif_0.6.21-2.dsc
 32e7ae9bc4097000ebd35a192a21ad4d3065063806c4ae698c0df4ef46f1202f 8116 
exif_0.6.21-2.debian.tar.xz
Files: 
 1eb68ed5da34560f98c0b4db6f1f3bde 1999 graphics optional exif_0.6.21-2.dsc
 e33ef279834b13b52e957e03bcea2605 8116 graphics optional 
exif_0.6.21-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE0uCSA5741Jbt9PpepU8BhUOCFIQFAlqQX/8ACgkQpU8BhUOC
FISiLA/+P+zMDKqagUBiOWp3rLFo72lsH+QiNG8jPBVtIwcEG/+T3WjcaYshXRt1
1bJYpMaCOAssyDt5NC5jlGuZ4PVuFIxG5JcHV4I7DpdhKl8hFrlgQnrkYhlkH312
FYfRpKQ3HDDvyK+Xf0fmme2bnUaY44lybganhKmyNL1X05L5DYbw6T5RojEUcoc8
TVxcFyUfMzW5yfWxgyGIRdc26Vsu/CTObat+4+SK78+p6wWW9mZZevtCgMRmr7LJ
AYogZBiradQj8JQtBlAvsuMj+/wSl2ElCGqQCYCbRx2DMUlARmmsLXkQRwX+o80u
Vz1IqOCzI5SFaOAby+RsETmo9WOkH7R1gsPL8PwrkJLfLm1ImQatGax7lvezqZMm
KVYTBOoQwBeUIz6TBft9v/SiLax+0AedfMGLtCjm0jxJOZmdD9SdCTTpamJc9HcR
jU/YuPqTt3OThz2VAiREmalsp7FeKVxYjip5J6tYXSCLdRyXAoiFEatNkoYYZGry
xh02YM5aTEmWIxwvMpPPgtFq0aR6J1r1ho1Toxt0KIvaZA0VEC8TtUIuNcIrFR74
T8bhdERUYoEXaBUSuOu4MzKfFiFDvt0/G1oPcOd1XzKXdOqrHke5u0v/1wJobwmh
TAnI2R3F4pyz7+HuYIGFFucF57oXdPU6gxOlIYJq0AhCkrzxgmU=
=WnIM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to