Bug#919802: libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#919802: libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)

Santiago Vila-2
Package: src:libjstun-java
Version: 0.7.3+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with javahelper
   dh_update_autotools_config -i
   jh_linkjars -i
   jh_build -i
find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.libjstun-java -source 1.7 -target 1.7 -encoding ISO8859-1
warning: [options] bootstrap class path not set in conjunction with -source 7
Note: src/de/javawi/jstun/test/demo/ice/ICENegociator.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7
Creating destination directory: "debian/_jh_build.javadoc/api/"
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules.
2 errors
make: *** [debian/rules:11: build-indep] Error 123
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the builds ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libjstun-java.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply | Threaded
Open this post in threaded view
|

Bug#919802: libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)

Ying-Chun Liu (PaulLiu)-3
Santiago Vila 於 2019/1/20 上午1:35 寫道:

> Package: src:libjstun-java
> Version: 0.7.3+dfsg-1
> Severity: serious
> Tags: ftbfs
>
> Dear maintainer:
>
> I tried to build this package in buster but it failed:
>
> --------------------------------------------------------------------------------
> [...]
>  debian/rules build-indep
> dh build-indep --with javahelper
>    dh_update_autotools_config -i
>    jh_linkjars -i
>    jh_build -i
> find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.libjstun-java -source 1.7 -target 1.7 -encoding ISO8859-1
> warning: [options] bootstrap class path not set in conjunction with -source 7
> Note: src/de/javawi/jstun/test/demo/ice/ICENegociator.java uses unchecked or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
> 1 warning
> find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7
> Creating destination directory: "debian/_jh_build.javadoc/api/"
> javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
> javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules.
> 2 errors
> make: *** [debian/rules:11: build-indep] Error 123
> dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
> --------------------------------------------------------------------------------
>
> (The above is just how the builds ends and not necessarily the most relevant part)
>
> The build was made in my autobuilder with "dpkg-buildpackage -A"
> and it also fails here:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libjstun-java.html
>
> where you can get a full build log if you need it.
>
> If this is really a bug in one of the build-depends, please use reassign and affects,
> so that this is still visible in the BTS web page for this package.
>
> Thanks.
>
Hi Santiago,

It seems to me that this line causes the problem.
find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0
/usr/lib/jvm/default-java/bin/javadoc -locale en_US -link
/usr/share/doc/default-jdk-doc/api -link
/usr/share/doc/default-jre-headless/api -classpath
/usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java
-d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp
-source 1.7

But if remove "-link /usr/share/doc/default-jdk-doc/api -link
/usr/share/doc/default-jre-headless/api", then it will pass.

I'm wondering if javahelper needs to call javadoc in different way.

Yours,
Paul

--
                                PaulLiu (劉穎駿)
E-mail: Ying-Chun Liu (PaulLiu) <[hidden email]>


signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#919802: libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)

Gilles Filippini-2
Hi,

On Sun, 20 Jan 2019 13:28:57 +0800 "Ying-Chun Liu (PaulLiu)"
<[hidden email]> wrote:

> Santiago Vila 於 2019/1/20 上午1:35 寫道:
> > Package: src:libjstun-java
> > Version: 0.7.3+dfsg-1
> > Severity: serious
> > Tags: ftbfs
> >
> > Dear maintainer:
> >
> > I tried to build this package in buster but it failed:
> >
> > --------------------------------------------------------------------------------
> > [...]
> >  debian/rules build-indep
> > dh build-indep --with javahelper
> >    dh_update_autotools_config -i
> >    jh_linkjars -i
> >    jh_build -i
> > find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.libjstun-java -source 1.7 -target 1.7 -encoding ISO8859-1
> > warning: [options] bootstrap class path not set in conjunction with -source 7
> > Note: src/de/javawi/jstun/test/demo/ice/ICENegociator.java uses unchecked or unsafe operations.
> > Note: Recompile with -Xlint:unchecked for details.
> > 1 warning
> > find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7
> > Creating destination directory: "debian/_jh_build.javadoc/api/"
> > javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
> > javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules.
> > 2 errors
> > make: *** [debian/rules:11: build-indep] Error 123
> > dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
> > --------------------------------------------------------------------------------
> >
> > (The above is just how the builds ends and not necessarily the most relevant part)
> >
> > The build was made in my autobuilder with "dpkg-buildpackage -A"
> > and it also fails here:
> >
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libjstun-java.html
> >
> > where you can get a full build log if you need it.
> >
> > If this is really a bug in one of the build-depends, please use reassign and affects,
> > so that this is still visible in the BTS web page for this package.
> >
> > Thanks.
> >
>
> Hi Santiago,
>
> It seems to me that this line causes the problem.
> find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0
> /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link
> /usr/share/doc/default-jdk-doc/api -link
> /usr/share/doc/default-jre-headless/api -classpath
> /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java
> -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp
> -source 1.7
>
> But if remove "-link /usr/share/doc/default-jdk-doc/api -link
> /usr/share/doc/default-jre-headless/api", then it will pass.
>
> I'm wondering if javahelper needs to call javadoc in different way.
I've got the very same result for #919803 affecting src:mac-widgets.

Thanks,

_g.


signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#919802: Fwd: Re: Bug#919802: libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)

Gilles Filippini-2
In reply to this post by Santiago Vila-2
Hi Emmanuel, Niels,

Any input on this topic?

Thanks in advance,

_g.

-------- Message transféré --------
Sujet : Re: Bug#919802: libjstun-java: FTBFS (The code being documented
uses packages in the unnamed module)
Date : Mon, 21 Jan 2019 16:58:08 +0100
De : Gilles Filippini <[hidden email]>
Pour : [hidden email], Ying-Chun Liu (PaulLiu)
<[hidden email]>, Santiago Vila <[hidden email]>

Hi,

On Sun, 20 Jan 2019 13:28:57 +0800 "Ying-Chun Liu (PaulLiu)"
<[hidden email]> wrote:

> Santiago Vila 於 2019/1/20 上午1:35 寫道:
> > Package: src:libjstun-java
> > Version: 0.7.3+dfsg-1
> > Severity: serious
> > Tags: ftbfs
> >
> > Dear maintainer:
> >
> > I tried to build this package in buster but it failed:
> >
> > --------------------------------------------------------------------------------
> > [...]
> >  debian/rules build-indep
> > dh build-indep --with javahelper
> >    dh_update_autotools_config -i
> >    jh_linkjars -i
> >    jh_build -i
> > find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.libjstun-java -source 1.7 -target 1.7 -encoding ISO8859-1
> > warning: [options] bootstrap class path not set in conjunction with -source 7
> > Note: src/de/javawi/jstun/test/demo/ice/ICENegociator.java uses unchecked or unsafe operations.
> > Note: Recompile with -Xlint:unchecked for details.
> > 1 warning
> > find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7
> > Creating destination directory: "debian/_jh_build.javadoc/api/"
> > javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
> > javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules.
> > 2 errors
> > make: *** [debian/rules:11: build-indep] Error 123
> > dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
> > --------------------------------------------------------------------------------
> >
> > (The above is just how the builds ends and not necessarily the most relevant part)
> >
> > The build was made in my autobuilder with "dpkg-buildpackage -A"
> > and it also fails here:
> >
> > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libjstun-java.html
> >
> > where you can get a full build log if you need it.
> >
> > If this is really a bug in one of the build-depends, please use reassign and affects,
> > so that this is still visible in the BTS web page for this package.
> >
> > Thanks.
> >
>
> Hi Santiago,
>
> It seems to me that this line causes the problem.
> find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0
> /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link
> /usr/share/doc/default-jdk-doc/api -link
> /usr/share/doc/default-jre-headless/api -classpath
> /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java
> -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp
> -source 1.7
>
> But if remove "-link /usr/share/doc/default-jdk-doc/api -link
> /usr/share/doc/default-jre-headless/api", then it will pass.
>
> I'm wondering if javahelper needs to call javadoc in different way.
I've got the very same result for #919803 affecting src:mac-widgets.

Thanks,

_g.




signature.asc (499 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#919802: libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)

Santiago Vila
In reply to this post by Santiago Vila-2
On Tue, Jan 29, 2019 at 11:00:25PM +0100, Gilles Filippini wrote:

> No, this is a misunderstanding: the code snippet above scans
> Build-Depends* fields from debian/control. If default-jdk-doc is
> installed but not referenced in Build-Depends*, then the package will
> build fine. I've tested this configuration.

Ah, yes, I see it now.

Simple question: Is this solution (dropping default-jdk-doc from
build-depends) valid in general for all the packages failing in a
similar way? (Do other packages have the same construct which scans
debian/control?).

(I started to report them, then I stopped when I was told there was a
common cause, then I was told each package was to be fixed separately,
and I suspect there are still a bunch of packages to be reported).

Thanks a lot.

Reply | Threaded
Open this post in threaded view
|

Bug#919802: marked as done (libjstun-java: FTBFS (The code being documented uses packages in the unnamed module))

Debian Bug Tracking System
In reply to this post by Santiago Vila-2
Your message dated Sun, 17 Feb 2019 10:04:29 +0000
with message-id <[hidden email]>
and subject line Bug#919802: fixed in libjstun-java 0.7.3+dfsg-2
has caused the Debian Bug report #919802,
regarding libjstun-java: FTBFS (The code being documented uses packages in the unnamed module)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [hidden email]
immediately.)


--
919802: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919802
Debian Bug Tracking System
Contact [hidden email] with problems

Package: src:libjstun-java
Version: 0.7.3+dfsg-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with javahelper
   dh_update_autotools_config -i
   jh_linkjars -i
   jh_build -i
find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.libjstun-java -source 1.7 -target 1.7 -encoding ISO8859-1
warning: [options] bootstrap class path not set in conjunction with -source 7
Note: src/de/javawi/jstun/test/demo/ice/ICENegociator.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
find src/de -name *.java -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javadoc -locale en_US -link /usr/share/doc/default-jdk-doc/api -link /usr/share/doc/default-jre-headless/api -classpath /usr/share/java/slf4j-jdk14.jar:/usr/share/java/slf4j-api.jar:/usr/share/java/junit.jar:debian/_jh_build.libjstun-java -d debian/_jh_build.javadoc/api -quiet -encoding ISO8859-1 -notimestamp -source 1.7
Creating destination directory: "debian/_jh_build.javadoc/api/"
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jdk-doc/api/ are in named modules.
javadoc: error - The code being documented uses packages in the unnamed module, but the packages defined in /usr/share/doc/default-jre-headless/api/ are in named modules.
2 errors
make: *** [debian/rules:11: build-indep] Error 123
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the builds ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libjstun-java.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Source: libjstun-java
Source-Version: 0.7.3+dfsg-2

We believe that the bug you reported is fixed in the latest version of
libjstun-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ying-Chun Liu (PaulLiu) <[hidden email]> (supplier of updated libjstun-java package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [hidden email])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 17 Feb 2019 15:42:02 +0800
Source: libjstun-java
Binary: libjstun-java libjstun-java-doc
Architecture: source
Version: 0.7.3+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Ying-Chun Liu (PaulLiu) <[hidden email]>
Changed-By: Ying-Chun Liu (PaulLiu) <[hidden email]>
Description:
 libjstun-java - Java-based STUN implementation
 libjstun-java-doc - Java-based STUN implementation (documentation)
Closes: 919802
Changes:
 libjstun-java (0.7.3+dfsg-2) unstable; urgency=low
 .
   * Remove Build-Depends-Indep on default-jdk-doc. (Closes: #919802)
     - This bug is not caused by this package. However we need to fix this bug
       to avoid AUTORM. We should add default-jdk-doc back to
       Build-Depends-Indep later when the bug is properly fixed in other place.
Checksums-Sha1:
 2b0e4648cecaec2042e83ad7281b28d5265e49d8 1948 libjstun-java_0.7.3+dfsg-2.dsc
 a19749be912010d747ae4189592246fd4c1b7736 2188 libjstun-java_0.7.3+dfsg-2.debian.tar.xz
 13bdf4f0a819189c052581c09a9a365c4d9cb455 13712 libjstun-java_0.7.3+dfsg-2_source.buildinfo
Checksums-Sha256:
 4a2238dacfb2a1552a1eced7b1ac83ace9457f09f694130bc69931f57f38b39c 1948 libjstun-java_0.7.3+dfsg-2.dsc
 735cfd2d4e8fbc0a21f211037be5a4de1466f5bb180ee5b5ca3b0fa39b141bb7 2188 libjstun-java_0.7.3+dfsg-2.debian.tar.xz
 2ecb199f5e2ff308079581c9ed3d4a8e6a97168173608b68601d02aa8b909317 13712 libjstun-java_0.7.3+dfsg-2_source.buildinfo
Files:
 bb56add1ef9972ec6a966f67d9fe53f7 1948 java optional libjstun-java_0.7.3+dfsg-2.dsc
 2c75abc944df2c99609c5529f93db0ae 2188 java optional libjstun-java_0.7.3+dfsg-2.debian.tar.xz
 0eb36e1a6d6b63a85d7dafe247340da5 13712 java optional libjstun-java_0.7.3+dfsg-2_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEo2h49GQQhoFgDLZIRBc/oT0FiIgFAlxpLo4THHBhdWxsaXVA
ZGViaWFuLm9yZwAKCRBEFz+hPQWIiGIYD/42NKQlxBcoeMiuHJlgC+b79xbICXaZ
zyVQf92vy0K0XFgQv/Fc//+6vE4YvbSfKZmh4uRn8V+8Zp2+xpyhN4RmEFMadPlg
T7ip0Hczp/sWx3fFT+g6EGXoK5VWoB0g8sdbzfFrZPZXw/2XifP6Id65XKvbVoVl
Tlg4jDhs+Izym9NT19GKJ/9s2dCml7sTu1a6sffVSIZLBKcwAvWKarzwIqbAKqDL
AxCV/+stxISm8CAGG1v2pWcGaLEO9lf9IDPRqRoB0b674O8CFAYX7bY726ahEdS0
kknhfCYNx+RFz3VUQH/AsP/jKi4p5XZLyPEeGF9KZsKBgSgf1x8mGpFkGKYzu2hI
Dl/0BPkEYJ8yZO/FJjlrkgHFSqiuQQP//3S4ryQqBXwilwFnRpNIJTzpjhEFNxzZ
gSf31yElZXKgwlVYNZgPlvzJNiDzR3g4UzdAuEFIpfcSatsu4nt7aVK2OjE3qShq
7xh/5MpxJgTwE0Uue1QQcE9UWSbJtrsUtxlpF4akAKfADcp+WN6WVwzUQ+mBMVwk
Zhf5VPRx8mmV39wFgikjBm7+o5CpNTxgvplJ0pXE3AfIlJ2K4IUZlLw2u1C7sRro
h1hHpm2ct2GauNjoaBypY9tMvDBUWhsSs135QeYFqxuG+34aZnW/fc/WWKv8yB0J
it0HReF8IxMXDA==
=LIjK
-----END PGP SIGNATURE-----