[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#883530: vtun FTCBFS: uses the build architecture strip



Source: vtun
Version: 3.0.3-4
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

vtun fails to cross build from source, because the install target of its
Makefile runs the build architecture strip. Such stripping also prevents
dh_strip from doing its job and generating useful -dbgsym packages.
Simply removing it fixes both the cross build and the -dbgsym package.
Please consider applying the attached patch.

Helmut
Index: vtun-3.0.3/Makefile.in
===================================================================
--- vtun-3.0.3.orig/Makefile.in
+++ vtun-3.0.3/Makefile.in
@@ -99,6 +99,5 @@
 	$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(LOCK_DIR)
 	$(INSTALL) -d -m 755 $(INSTALL_OWNER) $(DESTDIR)$(SBIN_DIR)
 	$(INSTALL) -m 755 $(INSTALL_OWNER) vtund $(DESTDIR)$(SBIN_DIR)
-	$(BIN_DIR)/strip $(DESTDIR)$(SBIN_DIR)/vtund
 
 # DO NOT DELETE THIS LINE -- make depend depends on it.

Reply to: