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

Bug#1110314: nethogs FTCBFS: tries to compile nethogs at install step



Package: nethogs
Version: 0.8.8-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
X-Debbugs-Cc: debian-cross@lists.debian.org

Dear Maintainer,

nethogs fails to cross-build because it tries to build the actual nethogs binary
at the install step, where the arch prefixed triplet for CC/CXX isn't passed.

It'd also awkward to build things in install step. It'd be good to build both
the library and the binary during build itself which fixes cross build as well.

Patch pasted below fixed the problem. Please consider applying.

Thanks
Nilesh

diff --git a/debian/rules b/debian/rules
index f707666..7a90661 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ export VERSION=$(DEB_VERSION_UPSTREAM)
        dh $@
override_dh_auto_build:
-       dh_auto_build -- libnethogs
+       dh_auto_build -- libnethogs nethogs
override_dh_auto_install:
        make install DESTDIR=$(CURDIR)/debian/nethogs


Reply to: