Source: autoclass Version: 3.3.6.dfsg.1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
autoclass fails to cross build from source, because it does not pass cross tools to make. Using dh_auto_build fixes that part, but it then calls the build architecture strip via install -s. Stripping at install time is bad, because it also breaks -dbgsym packages. Removing the -s flag (dh_strip still strips) fixes that and enables cross building autoclass-dbgsym. Please consider applying the attached patch. Helmut
diff -u autoclass-3.3.6.dfsg.1/debian/rules autoclass-3.3.6.dfsg.1/debian/rules --- autoclass-3.3.6.dfsg.1/debian/rules +++ autoclass-3.3.6.dfsg.1/debian/rules @@ -22,13 +22,6 @@ else CFLAGS += -O2 endif -ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) -INSTALL_PROGRAM += -s -endif -ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) - MAKEFLAGS += -j$(NUMJOBS) -endif DOC= doc/checkpoint-c.text \ doc/classes-c.text \ @@ -65,7 +58,7 @@ dh_testdir # Add here commands to compile the package. - (cd prog; $(MAKE) $(MAKEFLAGS)) + dh_auto_build --sourcedirectory=prog --parallel # assemble changelog in reverse chronological order -rm changelog diff -u autoclass-3.3.6.dfsg.1/debian/changelog autoclass-3.3.6.dfsg.1/debian/changelog --- autoclass-3.3.6.dfsg.1/debian/changelog +++ autoclass-3.3.6.dfsg.1/debian/changelog @@ -1,3 +1,12 @@ +autoclass (3.3.6.dfsg.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: (Closes: #-1) + + Let dh_auto_build pass cross tools to make. + + Do not strip before dh_strip with the wrong strip. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 23 Jun 2018 00:34:09 +0200 + autoclass (3.3.6.dfsg.1-1) unstable; urgency=low * QA upload.