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

Bug#905741: marked as done (ploop FTCBFS: hard codes the build architecture pkg-config)



Your message dated Fri, 28 Feb 2020 18:11:12 +0000
with message-id <E1j7k6S-000F4R-HD@fasolo.debian.org>
and subject line Bug#905741: fixed in ploop 1.15-8
has caused the Debian Bug report #905741,
regarding ploop FTCBFS: hard codes 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 owner@bugs.debian.org
immediately.)


-- 
905741: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905741
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ploop
Version: 1.15-6
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

ploop fails to cross build from source, because it hard codes the build
architecture pkg-config and thus fails finding host architecture .pc
files. After making pkg-config substitutable, ploop cross builds
successfully. Please consider applying the attached patch.

Helmut
--- ploop-1.15.orig/Makefile.inc
+++ ploop-1.15/Makefile.inc
@@ -3,6 +3,7 @@
 RELEASE=
 
 CC=gcc
+PKG_CONFIG ?= pkg-config
 INSTALL=install
 SBINDIR=/sbin
 USRSBINDIR=/usr/sbin
--- ploop-1.15.orig/lib/Makefile
+++ ploop-1.15/lib/Makefile
@@ -37,9 +37,9 @@
 SOURCES=$(LIBOBJS:.o=.c)
 GENERATED=symbols.c
 
-CFLAGS += $(shell pkg-config libxml-2.0 --cflags) -fPIC -fvisibility=hidden
+CFLAGS += $(shell $(PKG_CONFIG) libxml-2.0 --cflags) -fPIC -fvisibility=hidden
 LDFLAGS+= -shared -Wl,-soname,$(LIBPLOOP_SO_X)
-LDLIBS += $(shell pkg-config libxml-2.0 --libs) -lpthread -lrt
+LDLIBS += $(shell $(PKG_CONFIG) libxml-2.0 --libs) -lpthread -lrt
 
 all: $(LIBPLOOP) $(LIBPLOOP_SO) $(PC)
 .PHONY: all

--- End Message ---
--- Begin Message ---
Source: ploop
Source-Version: 1.15-8
Done: Sudip Mukherjee <sudipm.mukherjee@gmail.com>

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

Debian distribution maintenance software
pp.
Sudip Mukherjee <sudipm.mukherjee@gmail.com> (supplier of updated ploop 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: Sun, 23 Feb 2020 17:27:26 +0000
Source: ploop
Architecture: source
Version: 1.15-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Closes: 905741
Changes:
 ploop (1.15-8) unstable; urgency=medium
 .
   * QA upload.
   * Update Standards-Version to 4.5.0
   * Add Vcs link to salsa.
   * Fix FTCBFS. (Closes: #905741)
     - Thanks to Helmut Grohne.
   * Add symbols file for libploop1
Checksums-Sha1:
 e9df8ad97e065ba8579ea8f2004b6397c42f6453 1978 ploop_1.15-8.dsc
 0210cb298f782ed78055715ec84a771f5a81b67a 7968 ploop_1.15-8.debian.tar.xz
 f4ca57bf64fafcd5a7c7a3177d8407298b18a4e9 5575 ploop_1.15-8_source.buildinfo
Checksums-Sha256:
 32715a68289349a7246bcd8b7212185a1023a2c20911b77d243ef3cd78e66fe8 1978 ploop_1.15-8.dsc
 119215d2bff7df83a6abf42aaa4e6870cfd82b99fc4dd793fcb7b3fa77b17aab 7968 ploop_1.15-8.debian.tar.xz
 24bb659a6ccb5ba3e6e9bdb82ae719fed6fe98fe3eb72b5f7b87cd54023987e6 5575 ploop_1.15-8_source.buildinfo
Files:
 fd268f997f71e174f599e0e4f89ffc32 1978 libs optional ploop_1.15-8.dsc
 c436501e58cb1ab76938324276ec35ca 7968 libs optional ploop_1.15-8.debian.tar.xz
 7c7e673510109e2243bfc480ee5cd22e 5575 libs optional ploop_1.15-8_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAl5ZUtgACgkQweDZLphv
fH7tDRAA17uNv6zjBjme45GBc3+Wv9iJdokJq+iPQX/SvnO01CiDK65fBHFQ160I
8aSvnxG7ag9zrLFpo6XPjTBLfJAt0ROIN2h0cHmw83QQ/ij36RCrUs4Wpd0bEHqE
6zaO7BtAezf307ZjbQj9bFgsHfLgZZXgjFI1dZCy84E2kIsCIXT2nn/cuEoAb/3q
S+6Rcv8n9WdKz9MCcGQtgJfz7nQcu/gpHKVa6eBEi6nWdTiFIkjSNdYT1tiW/9Tq
dR9ZjxSAeyrdjPJ6YcB5keoeenex1y4jmeUWU4hjtjIQMQf/ZB8Pc48A2dSyMxRA
9tfCkrMYaguCztDDBsvub1ecNeUTHmlUEQrtNUkyrtEE+8AoYG1AuSi9dHOk+MNA
pvpdE5E5acKuSOfQNzy0/Us5nRAwfnQquRsIzIhCD9kA3lDBzAjz+mFs8iHjP7u/
w7QtmYaGpXmEwfUOWO7F4rVAuHFcp4WD4b6ag/xxdWjxmYSVGj1tntxazuzLhuxq
kckIxaJ9XX+WnsgGIhEUOJJHWKJkl7XR61dDn3YqxHs6uspJWVBONkvP/bKyTae7
DOCCeOVEHd8GkjSJucSkb6WcVGc3CcfyMDlRMhonwrwJwK1wPBP/nMiZm7upNDFd
8TfkgkH23SPbToIMnoYnXUZZJgMwPXHNzbxAsSUbwiC35X4FzCg=
=SDti
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: