Adeodato Simó <d...@net.com.org.es> writes:

> Hello,
>
>> Right, I have made this change in the 1.14-2 upload.  I ended up using:
>> Build-Depends: debhelper (>= 6), autotools-dev, gcj [!arm !hppa !hurd-i386], 
>> fastjar
>
>> Because only arm, hppa, and hurd-i386 are official debian architectures
>> that lack gcj packages in unstable.
>
> Okay.

The sparc experimental buildd has failed to build the latest upload,
since the buildd doesn't seem to have gcj.  As far as I can tell, that
would be a problem with the sparc buildd.  There are gcj packages for
sparc in the archive.

> I’ve looked at what you did. It indeed does the job, and that’s the
> basic idea to use, debhelper’s -N. A bit more idiomatic code is:
>
>   | NO_JAVA_ARCHES := arm hppa hurd-i386
>   | DEB_HOST_ARCH  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
>   | 
>   | ifeq (,$(filter $(DEB_HOST_ARCH),$(NO_JAVA_ARCHES)))
>   |     ENABLE_JAVA := --enable-java
>   | else
>   |     export DH_OPTIONS=-Nlibidn11-java
>   | endif
>
> And then, you can lose all the $(DH_NO_JAVA) part when calling the dh_
> commands, because debhelper picks it up via DH_OPTIONS from the
> environment.

Oh, much nicer, thank you.  I'm using it now.

I'm going to wait some days to see if any experimental buildd's fail
unexpectedly, but then I'll upload to unstable.

> Anyway, your version worked, as you can see in:
>
>     
> http://buildd.ayous.org/fetch.php?&pkg=libidn&ver=1.14-2&arch=hppa&stamp=1239910858&file=log&as=raw
>
> You can see in the resulting .changes file that the libidn11-java
> package was not built.

Great.

/Simon



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to