[Debian-med-packaging] Bug#894473: prodigal FTBFS on armel/armhf: Build killed with signal TERM after 150 minutes of inactivity
Adrian Bunk
bunk at debian.org
Fri Mar 30 20:38:36 UTC 2018
Source: prodigal
Version: 1:2.6.3-1
Severity: serious
Tags: buster sid patch
https://buildd.debian.org/status/package.php?p=prodigal&suite=sid
...
E: Build killed with signal TERM after 150 minutes of inactivity
On armhf gcc needs 6.5 hours (sic) to compile training.c
This can be workarounded with the attached patch plus the
following debian/rules change:
--- debian/rules.old 2018-03-27 16:19:52.842571587 +0000
+++ debian/rules 2018-03-27 16:21:55.221340424 +0000
@@ -3,6 +3,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/dpkg/architecture.mk
+
+ifneq (,$(filter $(DEB_HOST_ARCH), armel armhf))
+ export DEB_CFLAGS_MAINT_APPEND = -O1
+else
+ export DEB_CFLAGS_MAINT_APPEND = -O3
+endif
+
+
CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
CFLAGS+=$(HARDENING_CFLAGS)
-------------- next part --------------
Description: Stop overwriting the optimization with -O3
Author: Adrian Bunk <bunk at debian.org>
--- prodigal-2.6.3.orig/Makefile
+++ prodigal-2.6.3/Makefile
@@ -21,7 +21,7 @@
SHELL = /bin/sh
CC = gcc
-CFLAGS += -pedantic -Wall -O3
+CFLAGS += -pedantic -Wall
LFLAGS = -lm $(LDFLAGS)
TARGET = prodigal
More information about the Debian-med-packaging
mailing list