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

gbp issues when building for Deb9+ #9

Open
aderbenev opened this issue Jun 17, 2020 · 0 comments
Open

gbp issues when building for Deb9+ #9

aderbenev opened this issue Jun 17, 2020 · 0 comments
Assignees

Comments

@aderbenev
Copy link
Member

Adding some to my big pile of packaging debt. When this is built for Deb9 or Deb10, there are two issues:

  1. pod2man --release= cannot be blank, it results in error. Passing empty "" string there fixes the issue.
  2. Debug symbols are being generated, which results in reprepro being unhappy.

Fix:

diff --git a/debian/rules b/debian/rules
index 0861b87..5fee04c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,10 +9,13 @@ binary: binary-arch binary-indep
 binary-arch binary-indep: install
 install: build
 
+override_dh_strip:
+       dh_strip --no-ddebs
+
 override_dh_auto_build:
        dh_auto_build
-       pod2man --section=1 -c '' --release= arplothdf5.pod arplothdf5.1
-       pod2man --section=1 -c '' --release= arget.pod arget.1
+       pod2man --section=1 -c '' --release=\"\" arplothdf5.pod arplothdf5.1
+       pod2man --section=1 -c '' --release=\"\" arget.pod arget.1
 
 override_dh_auto_test:
        for pyver in `pyversions -r`; do \
@aderbenev aderbenev self-assigned this Jun 17, 2020
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