Your message dated Thu, 15 Sep 2016 12:48:32 +0000 with message-id <20160915124830.g6agajhi2dho3j7c@chase.mapreri.org> and subject line Re: Bug#837876: libwps FTCBFS: misses ./configure flag --host has caused the Debian Bug report #837876, regarding libwps FTCBFS: misses ./configure flag --host 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.) -- 837876: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837876 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libwps FTCBFS: misses ./configure flag --host
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Thu, 15 Sep 2016 05:39:06 +0200
- Message-id: <[🔎] 20160915033905.jo3o6rlrcf5cm5va@alf.mars>
Source: libwps Version: 0.4.3-3 Tags: patch User: helmutg@debian.org Usertags: rebootstrap libwps fails to cross build from source, because it configures the build for the build architecture and thus fails finding required componens (e.g. librevenge). In the proposed patch, I switch the explicit ./configure invocation to dh_auto_configure, which knows which flags (--host is relevant here) to pass for cross builds. After applying it, libwps cross builds just fine. Helmutdiff --minimal -Nru libwps-0.4.3/debian/changelog libwps-0.4.3/debian/changelog --- libwps-0.4.3/debian/changelog 2016-07-13 22:19:13.000000000 +0200 +++ libwps-0.4.3/debian/changelog 2016-09-15 05:31:48.000000000 +0200 @@ -1,3 +1,10 @@ +libwps (0.4.3-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass the right flags (closes: #-1) + + -- Helmut Grohne <helmut@subdivi.de> Thu, 15 Sep 2016 05:31:22 +0200 + libwps (0.4.3-3) unstable; urgency=medium * stop dependending on install in build target (forgotten in last diff --minimal -Nru libwps-0.4.3/debian/control libwps-0.4.3/debian/control --- libwps-0.4.3/debian/control 2016-07-07 16:58:15.000000000 +0200 +++ libwps-0.4.3/debian/control 2016-09-15 05:30:16.000000000 +0200 @@ -1,7 +1,7 @@ Source: libwps Priority: optional Maintainer: Rene Engelhard <rene@debian.org> -Build-Depends: debhelper (>= 5), librevenge-dev, autotools-dev, libcppunit-dev, pkg-config, dh-autoreconf, libboost-dev +Build-Depends: debhelper (>= 8), librevenge-dev, autotools-dev, libcppunit-dev, pkg-config, dh-autoreconf, libboost-dev Build-Depends-Indep: doxygen Section: libs diff --minimal -Nru libwps-0.4.3/debian/rules libwps-0.4.3/debian/rules --- libwps-0.4.3/debian/rules 2016-07-13 22:18:15.000000000 +0200 +++ libwps-0.4.3/debian/rules 2016-09-15 05:31:20.000000000 +0200 @@ -24,7 +24,7 @@ #major=`ls src/.libs/lib*.so.* | \ # awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` -CONFIGURE_FLAGS += --prefix=/usr --enable-static --disable-werror --disable-silent-rules +CONFIGURE_FLAGS += --enable-static --disable-werror build: build-arch build-indep @@ -35,7 +35,7 @@ dh_autoreconf && \ $(shell DEB_CFLAGS_MAINT_APPEND=-Wall dpkg-buildflags --export=cmdline) \ - ./configure $(CONFIGURE_FLAGS) --without-docs + dh_auto_configure -- $(CONFIGURE_FLAGS) --without-docs $(MAKE) $(NJOBS) ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS))) cd src/test; $(MAKE) check @@ -52,7 +52,7 @@ # builds the docs *in addition* if [ ! -f debian/autoreconf.after ]; then dh_autoreconf; fi && \ $(shell DEB_CFLAGS_MAINT_APPEND=-Wall dpkg-buildflags --export=cmdline) \ - ./configure $(CONFIGURE_FLAGS) + dh_auto_configure -- $(CONFIGURE_FLAGS) $(MAKE) clean:
--- End Message ---
--- Begin Message ---
- To: 837876-done@bugs.debian.org
- Subject: Re: Bug#837876: libwps FTCBFS: misses ./configure flag --host
- From: Mattia Rizzolo <mattia@debian.org>
- Date: Thu, 15 Sep 2016 12:48:32 +0000
- Message-id: <20160915124830.g6agajhi2dho3j7c@chase.mapreri.org>
- In-reply-to: <[🔎] 20160915033905.jo3o6rlrcf5cm5va@alf.mars>
- References: <[🔎] 20160915033905.jo3o6rlrcf5cm5va@alf.mars>
Version: 0.4.3-4 On Thu, Sep 15, 2016 at 05:39:06AM +0200, Helmut Grohne wrote: > libwps fails to cross build from source, because it configures the build > for the build architecture and thus fails finding required componens > (e.g. librevenge). In the proposed patch, I switch the explicit > ./configure invocation to dh_auto_configure, which knows which flags > (--host is relevant here) to pass for cross builds. After applying it, > libwps cross builds just fine. this was already done 2 days ago :) -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: https://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-Attachment: signature.asc
Description: PGP signature
--- End Message ---