Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade on Debian #8

Open
JulienPalard opened this issue May 13, 2019 · 0 comments
Open

Upgrade on Debian #8

JulienPalard opened this issue May 13, 2019 · 0 comments
Assignees

Comments

@JulienPalard
Copy link
Owner

helmutg contributed this patch:

diff --minimal -Nru logtop-0.4.3/debian/changelog logtop-0.4.3/debian/changelog
--- logtop-0.4.3/debian/changelog	2012-06-05 22:39:38.000000000 +0200
+++ logtop-0.4.3/debian/changelog	2019-03-28 19:22:57.000000000 +0100
@@ -1,3 +1,10 @@
+logtop (0.4.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 28 Mar 2019 19:22:57 +0100
+
 logtop (0.4.3-1) unstable; urgency=low
 
   * New Support LDFLAGS in Makefile
diff --minimal -Nru logtop-0.4.3/debian/rules logtop-0.4.3/debian/rules
--- logtop-0.4.3/debian/rules	2012-05-28 13:26:36.000000000 +0200
+++ logtop-0.4.3/debian/rules	2019-03-28 19:22:56.000000000 +0100
@@ -5,7 +5,7 @@
 include /usr/share/dpkg/buildflags.mk
 
 override_dh_auto_build:
-	$(MAKE) CFLAGS="$(CFLAGS) -D_FORTIFY_SOURCE=2" LDFLAGS="$(LDFLAGS)"
+	dh_auto_build -- CFLAGS="$(CFLAGS) -D_FORTIFY_SOURCE=2" LDFLAGS="$(LDFLAGS)"
 
 %:
 	dh $@

with this message:

logtop fails to cross build from source, because it does not pass cross tools to make. The easiest way of fixing that - using dh_auto_build - makes logtop cross buildable. Please consider applying the attached patch.

see man 7 debhelper for an upgrading checklist.
@JulienPalard JulienPalard self-assigned this May 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant