Package: src:libwps
Version: 0.4.3-2
User: [email protected]
Usertags: binary-indep
Severity: important
Dear maintainer:
I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:
--------------------------------------------------------------------------------
[...]
debian/rules build-indep
dh_testdir
# There apparently is no way to build *only* the docs, so do it
# completely. If we already ran build-arch (full build) this only
# builds the docs *in addition*
if [ ! -f debian/autoreconf.after ]; then dh_autoreconf; fi && \
CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall"
CPPFLAGS="-Wdate-time -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" \
./configure --prefix=/usr --enable-static --disable-werror
--disable-silent-rules
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
[... snipped ...]
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_testdir
dh_autoreconf && \
CFLAGS="-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall"
CPPFLAGS="-Wdate-time -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" \
./configure --prefix=/usr --enable-static --disable-werror
--disable-silent-rules --without-docs
dh_autoreconf: Can only be run once, see dh-autoreconf(7)
debian/rules:34: recipe for target 'build-arch-stamp' failed
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit
status 2
--------------------------------------------------------------------------------
Sorry not to have a fix, as I am reporting many bugs similar to
this one.
My recommendation in this case is that you switch to "dh" and use the
dh_override_foo-arch and dh_override_foo-indep targets as appropriate.
Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.
Thanks.