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

Bug#901270: marked as done (trickle FTCBFS: configures for the build architecture)



Your message dated Tue, 21 Sep 2021 19:52:03 +0200
with message-id <YUobw/g8m4NdQkbV@alf.mars>
and subject line Re: Bug#901270: trickle FTCBFS: configures for the build architecture
has caused the Debian Bug report #901270,
regarding trickle FTCBFS: configures for the build architecture
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.)


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

trickle fails to cross build from source, because it configures for the
build architecture. The easiest way of fixing that is using
dh_auto_configure. After doing so trickle continues to fail due to its
use of AC_TRY_RUN. I have no fix for that to offer. Please consider
fixing the --host part anyway. The attached patch implements that.
Please close this bug when trickle passes --host to ./configure. That
will make the next failure more visible to interested cross builders.

Helmut
diff -u trickle-1.07/debian/changelog trickle-1.07/debian/changelog
--- trickle-1.07/debian/changelog
+++ trickle-1.07/debian/changelog
@@ -1,3 +1,10 @@
+trickle (1.07-10.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Address FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 10 Jun 2018 20:57:14 +0200
+
 trickle (1.07-10.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u trickle-1.07/debian/rules trickle-1.07/debian/rules
--- trickle-1.07/debian/rules
+++ trickle-1.07/debian/rules
@@ -9,8 +9,7 @@
 	dh_testdir
 	dh_autoreconf
 	CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
-        LDFLAGS="$(LDFLAGS)" ./configure --prefix=/usr \
-            --mandir=/usr/share/man --sysconfdir=/etc --with-pic
+        LDFLAGS="$(LDFLAGS)" dh_auto_configure -- --with-pic
 
 build: build-arch build-indep
 build-arch: build-stamp

--- End Message ---
--- Begin Message ---
Version: 1.07-11

Hi Axel,

On Tue, Sep 21, 2021 at 03:49:30PM +0200, Axel Beckert wrote:
> I did a QA upload of trickle last night rewriting most of debian/rules
> to use the dh sequencer and dh compat level 13. (So your patch no more
> applies.)

Thank you.

> I see no --host in my build log, but it now (obviously) uses
> dh_auto_configure.

--host is only passed for cross builds by dh_auto_configure.

> It would be nice if you could check if this cross-build issue still
> exists with trickle 1.07-11. If that's the case, I'll happily close
> your bug report and add an according bug report reference
> retroactively to the changelog entry in git.

Next time, please do yourself and myself a favour and just close the
bug. If you did a reasonable stab at fixing the problem (and using
dh_auto_configure is such a thing), please just close ftcbfs bugs (in
general) right away without confirming. Packages are automatically
retested on uploads. If it continues to fail, I'll see it anyway, but if
it doesn't you save me from looking into it again.

And if you want to go the extra mile and check, then go
http://crossqa.debian.net/src/trickle (this is also linked from
tracker.d.o as "cross"). If it hasn't built your version yet (which it
usually does within three days), you may click the "cross build" button
at the bottom and it should do it within an hour. And there you see your
build and it does pass --host. It fails on the AC_TRY_RUN mentioned in
my submission. I still don't have a fix for that.

You'd also save yourself from reading a long reply from me. :)

Helmut

--- End Message ---

Reply to: