Source: unhide Version: 20130526-1 Tags: patch User: [email protected] Usertags: rebootstrap
unhide fails to cross build from source, because it invokes plain gcc rather than a cross compiler. Using a triplet-prefixed compiler works in all cases. Please consider applying the attached patch. Helmut
diff --minimal -Nru unhide-20130526/debian/changelog unhide-20130526/debian/changelog --- unhide-20130526/debian/changelog 2015-11-02 23:51:16.000000000 +0100 +++ unhide-20130526/debian/changelog 2016-12-08 17:49:46.000000000 +0100 @@ -1,3 +1,10 @@ +unhide (20130526-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Use triplet-prefixed CC. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Thu, 08 Dec 2016 17:49:46 +0100 + unhide (20130526-1) unstable; urgency=medium * Team upload. diff --minimal -Nru unhide-20130526/debian/rules unhide-20130526/debian/rules --- unhide-20130526/debian/rules 2015-11-02 20:44:36.000000000 +0100 +++ unhide-20130526/debian/rules 2016-12-08 17:49:37.000000000 +0100 @@ -1,5 +1,10 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk +ifeq ($(origin CC),default) +CC := $(DEB_HOST_GNU_TYPE)-gcc +endif + export DEB_BUILD_MAINT_OPTIONS=hardening=+all CFLAGS += $(shell dpkg-buildflags --get CFLAGS) @@ -21,7 +26,7 @@ ln man/es/unhide.8 man/unhide.es.8 override_dh_auto_build: - gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O2 -pthread -o unhide-linux unhide-linux*.c unhide-output.c - gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O2 -o unhide-tcp unhide-tcp.c unhide-tcp-fast.c unhide-output.c - gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O2 -o unhide_rb unhide_rb.c - gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o unhide-posix unhide-posix.c \ No newline at end of file + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O2 -pthread -o unhide-linux unhide-linux*.c unhide-output.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O2 -o unhide-tcp unhide-tcp.c unhide-tcp-fast.c unhide-output.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -Wall -O2 -o unhide_rb unhide_rb.c + $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o unhide-posix unhide-posix.c
_______________________________________________ forensics-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/forensics-devel
