Hi. I'm trying to make gettext buildable on hppa (and every other non-java arch), but there is a subtle problem with debhelper, maybe you can help.

After accepting the modifications proposed in Bug#982085 (with minor changes), this is what I have in debian/gettext.install

[!hppa !hurd-i386 !kfreebsd-any] <!nojava> usr/share/gettext/gettext.jar usr/share/java [!hppa !hurd-i386 !kfreebsd-any] <!nojava> usr/share/gettext/javaversion.class

which AFAIK means "only if the arch supports Java, and only if nojava has not been selected".

So far, so good.

Then I have this in debian/not-installed

[hppa hurd-i386 kfreebsd-any] <nojava> usr/share/gettext/gettext.jar
[hppa hurd-i386 kfreebsd-any] <nojava> usr/share/gettext/javaversion.class

which apparently means "only if the architecture does not support Java AND only if nojava is selected"

This is really a problem, because we would really want that to be OR,
not AND, so that we have the logical negation of the *.install script.

As a result, gettext on hppa finally is "buildable" (in the sense that build-dependencies may finally be met), but it fails to build from source.

https://buildd.debian.org/status/fetch.php?pkg=gettext&arch=hppa&ver=0.21-8&stamp=1660663945&raw=0

Is there a way to tell dh-exec that we want those conditions in "not-installed" to be combined with OR?

(I'm Cc:ing also Jessica Clarke, who initially provided the patch for this).

I believe there is not, so what I will surely do in the meantime is to
call dh_missing with --list-missing.

However, before doing so, I wonder if it would be possible for you to try the current gettext in unstable with nojava profile, just to be sure that it will work when I upload the version using --list-missing.

(I also would like to hear from hurd-i386 porters before making more uploads, as the failure there is not the same).

Thanks.

Reply via email to