[Debian-med-packaging] Bug#861281: rnahybrid: FTBFS on armel

Adrian Bunk bunk at debian.org
Wed Sep 27 22:49:50 UTC 2017


Control: reopen -1

On Wed, Sep 27, 2017 at 10:42:05AM -0400, Lennart Sorensen wrote:
> On Wed, Sep 27, 2017 at 04:39:39PM +0200, Andreas Tille wrote:
>...
> > To make things really clear for me: Edmund suggested another upload
> > with only -O1 (how can I make sure that -O1 is used only on armel?)
> > but your suggestion seems to affect the autobuilder which means for
> > me: "Wait until we tell you something else."  Is this correct?
> 
> I tried with -O1 and it did not make any noticeable reduction in compile
> time, so don't bother.  The only option for this package is to increase
> the timeout on armel.  It needs that much time.

What compile times exactly did you measure?

The numbers I got are:
-O0: 11s
-O1: 82m
-O2: 249m

The following builds for me easily within the 150m time limit:

--- debian/rules.old	2017-09-27 18:38:24.225620119 +0000
+++ debian/rules	2017-09-27 18:40:59.878867203 +0000
@@ -1,6 +1,13 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+# work around the #861281 gcc >= 6 compile time regression on 32bit arm
+ifneq (,$(findstring $(DEB_HOST_ARCH), armel))
+    export DEB_CFLAGS_MAINT_APPEND = -O1
+endif
+
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
 %:


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed



More information about the Debian-med-packaging mailing list