Control: tags -1 patch On Tue, Dec 11, 2018 at 09:32:32AM +0100, Matthias Klose wrote: > Package: src:defoma > Version: 1:0.9.18+r243-4 > Severity: serious > > defoma ftbfs from source, at least on armhf and s390x (also on amd64 and i386 > in > Ubuntu with the same failure): > > see https://buildd.debian.org/status/package.php?p=foma > > gcc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/foma-0.9.18+r243=. > -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE > -std=c99 -fvisibility=hidden -fPIC -Wl,-z,relro -c regex.c -o regex.o > gcc -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/foma-0.9.18+r243=. > -fstack-protector-strong -Wformat -Werror=format-security -Wall -D_GNU_SOURCE > -std=c99 -fvisibility=hidden -fPIC -Wl,-z,relro -c foma.c -o foma.o > regex.c: In function 'yyparse': > regex.c:2779:3: error: unterminated comment > /* User semantic actions sometimes alter yychar, and that requires > ^ >...
This is a parallel build error. The best option would be to fix the Makefile, but sufficient to fix this bug is also the workaround --- debian/rules.old 2019-01-07 13:35:37.541340870 +0000 +++ debian/rules 2019-01-07 13:36:02.249340635 +0000 @@ -7,7 +7,7 @@ DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: - dh $@ --fail-missing + dh $@ --fail-missing --no-parallel override_dh_auto_configure: touch NEWS 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