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

Bug#879078: marked as done (odt2txt FTCBFS: uses the build architecture pkg-config)



Your message dated Fri, 29 May 2020 23:15:21 -0300
with message-id <CAP+dXJd1g1+qbKoodi2+u_AXyFROLz3rHCDRf8+JTeqpEve85w@mail.gmail.com>
and subject line Re: odt2txt FTCBFS: uses the build architecture pkg-config
has caused the Debian Bug report #879078,
regarding odt2txt 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 owner@bugs.debian.org
immediately.)


-- 
879078: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879078
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: odt2txt
Version: 0.5-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

odt2txt fails to cross build from source, because debian/rules hard
codes the build architecture pkg-config and thus fails getting cflags
for libzip, which is only requested for the host architecture by
debian/control. The fix to this issue is to use a triplet-prefixed
pkg-config. After doing so, odt2txt still fails to cross build from
source, because cdbs fails to pass cross compilers to make. Please close
this bug anyway when fixing the pkg-config part.

Helmut
diff --minimal -Nru odt2txt-0.5/debian/changelog odt2txt-0.5/debian/changelog
--- odt2txt-0.5/debian/changelog	2015-05-31 02:53:01.000000000 +0200
+++ odt2txt-0.5/debian/changelog	2017-10-19 06:46:55.000000000 +0200
@@ -1,3 +1,10 @@
+odt2txt (0.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Partially fix FTCBFS: Use a triplet-prefixed pkg-config (Closes: #-1).
+
+ -- Helmut Grohne <helmut@subdivi.de>  Thu, 19 Oct 2017 06:46:55 +0200
+
 odt2txt (0.5-1) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru odt2txt-0.5/debian/rules odt2txt-0.5/debian/rules
--- odt2txt-0.5/debian/rules	2015-05-31 02:41:56.000000000 +0200
+++ odt2txt-0.5/debian/rules	2017-10-19 06:46:52.000000000 +0200
@@ -1,11 +1,12 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/makefile.mk
 
 DEB_MAKE_INSTALL_TARGET := install DESTDIR=$(CURDIR)/debian/odt2txt/usr
 DEB_MAKE_ENVVARS := HAVE_LIBZIP="true"
-CFLAGS += -DHAVE_LIBZIP `pkg-config libzip --cflags`
+CFLAGS += -DHAVE_LIBZIP `$(DEB_HOST_GNU_TYPE)-pkg-config libzip --cflags`
 
 binary-install/odt2txt::
 	mv $(CURDIR)/debian/odt2txt/usr/bin/odt2txt $(CURDIR)/debian/odt2txt/usr/bin/odt2txt.odt2txt

--- End Message ---
--- Begin Message ---
Fixed in 0.5-2 revision. Closing.

--- End Message ---

Reply to: