Skip to content

gbp issues when building for Deb9+ #9

@aderbenev

Description

@aderbenev

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 \

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions