jammy haskell-devscripts-minimal prevent launchpad builds of ghc pkgs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haskell-devscripts (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When trying to create new ghc packages for jammy on launchpad, haskell devscripts (/usr/share/
...
Running dh_haskell_depends -plibghc-hexpat-dev
ghc-pkg: cannot parse 'List-0.
unexpected all digits or a dot in a portion of package name
expecting "-"
make: *** [/usr/share/
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
...
The error message seems is very strange, because package IDs are generated by haskell itself.
Same src package works since xenial, i.e. no probblems on xenial|
For details see: https:/
The related source packages are available via launchpad:
https:/
E.g.:
libghc-list-src (required by hexpat)
https:/
libghc-hexpat-src
https:/
Found an easy way to identify the problem:
On focal: /launchpad. net/~hets/ +archive/ ubuntu/ hets/+files/ libghc- list-dev_ 0.6.2-4. 20.4_amd64. deb list-dev_ 0.6.2-4. 20.4_amd64. deb 6.2-CBzPU1mwmz6 8Yae32Ju0Tg library-dirs
---------
cd /tmp
wget https:/
dpkg -i libghc-
ghc-pkg --global field List-0.
works.
On jammy: /launchpad. net/~hets/ +archive/ ubuntu/ hets/+files/ libghc- list-dev_ 0.6.2-5. 22.4_amd64. deb list-dev_ 0.6.2-5. 22.4_amd64. deb 6.2-CBzPU1mwmz6 8Yae32Ju0Tg library-dirs
---------
cd /tmp
wget https:/
dpkg -i libghc-
ghc-pkg --global field List-0.
fails.
So it seems, that /usr/bin/ dh_haskell_ depends needs to be adjusted to remove the trailing -$ID when getting any field from a package.