#700898 commons-daemon: FTBFS because it whitelists architectures

#700898#5
Date:
2013-02-18 22:09:19 UTC
From:
To:
Source: commons-daemon
Version: 1.0.10-3
Severity: important
Justification: FTBFS

Hi,

your package needs positive porting to architectures.
Please do not make it Architecture: any in this case,
list the architectures or port it to all of them, both
Debian and Debian-Ports ones.

.oO(This pattern is getting common… maybe I should write a Wiki page)

Thanks,
//mirabilos

#700898#10
Date:
2013-02-18 23:24:40 UTC
From:
To:
Hi Thorsten,

According to the buildd logs [1], the package builds on every
architecture except for hurd-i386.  Instead of white-listing
architectures, doesn't it make more sense to patch around the PATH_MAX
issue on hurd-i386?  That seems to be the reason for the FTBFS, not the
use of Arch: any

If this isn't what you're referring to, please let me know.

Thank you,
tony

[1] https://buildd.debian.org/status/package.php?p=commons-daemon

#700898#17
Date:
2014-01-01 20:31:07 UTC
From:
To:
This also affects ubuntu's new ppc64el architecture.
#700898#22
Date:
2015-06-22 21:56:01 UTC
From:
To:
Hi Tony!

No, you have to look at the ports architectures [1]. On sh4, for
example, I get:

*** Host support ***
checking for strip... strip
checking C flags dependant on host system type... failed
configure: error: Unsupported CPU architecture "sh4"
dh_auto_configure: ./configure --build=sh4-linux-gnu --prefix=/usr
--includedir=${prefix}/include --mandir=${prefix}/share/man
--infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-silent-rules --libdir=${prefix}/lib/sh4-linux-gnu
--libexecdir=${prefix}/lib/sh4-linux-gnu --disable-maintainer-mode
--disable-dependency-tracking --with-java=/usr/lib/jvm/default-java
CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security
CPPFLAGS=-D_FORTIFY_SOURCE=2 CXXFLAGS=-g -O2 -fstack-protector-strong
-Wformat -Werror=format-security FCFLAGS=-g -O2 -fstack-protector-strong
FFLAGS=-g -O2 -fstack-protector-strong GCJFLAGS=-g -O2
-fstack-protector-strong LDFLAGS=-Wl,-z,relro OBJCFLAGS=-g -O2
-fstack-protector-strong -Wformat -Werror=format-security OBJCXXFLAGS=-g
-O2 -fstack-protector-strong -Wformat -Werror=format-security returned
exit code 1
make[1]: *** [override_dh_auto_configure] Error 2
debian/rules:19: recipe for target 'override_dh_auto_configure' failed
make[1]: Leaving directory '/«PKGBUILDDIR»'
debian/rules:16: recipe for target 'build-arch' failed
make: *** [build-arch] Error 2

So it's definitely a matter of architectures being white-listed.

Please add support for hppa, m68k, ppc64 and sh4.

Thanks,
Adrian
http://buildd.debian-ports.org/status/package.php?p=commons-daemon&suite=sid