How can I rebuild package recipe for lablgtk3_3.1.1+official-1 (groovy)?

Asked by Jason Gross on 2021-04-10

I am trying to backport lablgtk3_3.1.1+official-1 to groovy and focal using OCaml 4.11, and both fail at https://launchpadlibrarian.net/532874840/buildlog_ubuntu-groovy-amd64.lablgtk3_3.1.1+official-1.1~groovy~ppa14_BUILDING.txt.gz and https://launchpadlibrarian.net/532874827/buildlog_ubuntu-focal-amd64.lablgtk3_3.1.1+official-1.1~focal~ppa14_BUILDING.txt.gz with
```
dh_installdocs: error: Cannot find (any matches for) "/usr/doc/lablgtk3/CHANGES.md" (tried in .)

make: *** [debian/rules:9: binary] Error 25
```

How can I fix this error?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu lablgtk3 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Jason Gross (jgross-h) said : #1

I *think* the issue is that the contents of `debian/liblablgtk3-ocaml-dev.docs` is
```
/usr/doc/lablgtk3/CHANGES.md
/usr/doc/lablgtk3/README.md
/usr/doc/lablgtk3/README.dune.md
/usr/doc/lablgtk3/CHANGELOG.API
```
and that these files start with `/`, which is invalid, but then I'm confused how this package ever built in the first place...

Jason Gross (jgross-h) said : #2

Removing the leading slash does not seem to fix the issue. I remain confused about how this package ever built in the first place.

Manfred Hampl (m-hampl) said : #3

"dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use)"

Have you tried changing the debhelper compatibility level (e.g. by removing the debian/compat file)?

Can you help with this problem?

Provide an answer of your own, or ask Jason Gross for more information if necessary.

To post a message you must log in.