Source: libnb-platform18-java
Version: 12.1-2
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-binary-20230816 ftbfs-binary-after-build
User: debian...@lists.debian.org
Usertags: qa-doublebuild

Hi,

This package fails to do build a binary-only build (not source) after a
successful build (dpkg-buildpackage ; dpkg-buildpackage -b).

This is probably a clear violation of Debian Policy section 4.9 (clean target),
but this is filed as severity:minor for now, because a discussion on
debian-devel showed that we might want to revisit the requirement of a working
'clean' target.

More information about this class of issues, included common problems and
solutions, is available at
https://wiki.debian.org/qa.debian.org/FTBFS/DoubleBuild

Relevant part of the build log:
> -do-compile:
>    [depend] Deleted 2 out of date files in 0 seconds
>  [nb-javac] Using javac -source 1.6 is no longer supported, switching to 7
>  [nb-javac] Using javac -target 1.6 is no longer supported, switching to 7
>  [nb-javac] Compiling 1 source file to 
> /<<PKGBUILDDIR>>/platform/api.io/build/classes
>    [repeat] warning: [path] bad path element 
> "/<<PKGBUILDDIR>>/nbbuild/netbeans/platform/core/org-openide-filesystems.jar":
>  no such file or directory
>    [repeat] warning: [path] bad path element 
> "/<<PKGBUILDDIR>>/nbbuild/netbeans/platform/lib/org-openide-util.jar": no 
> such file or directory
>    [repeat] warning: [path] bad path element 
> "/<<PKGBUILDDIR>>/nbbuild/netbeans/platform/lib/org-openide-util-lookup.jar": 
> no such file or directory
>    [repeat] warning: [options] bootstrap class path not set in conjunction 
> with -source 7
>    [repeat] warning: [options] source value 7 is obsolete and will be removed 
> in a future release
>    [repeat] warning: [options] target value 7 is obsolete and will be removed 
> in a future release
>    [repeat] warning: [options] To suppress warnings about obsolete options, 
> use -Xlint:-options.
>    [repeat] 
> /<<PKGBUILDDIR>>/nbbuild/build/public-package-jars/org-netbeans-api-annotations-common.jar(/org/netbeans/api/annotations/common/NonNull.class):
>  warning: Cannot find annotation method 'when()' in type 'Nonnull': class 
> file for javax.annotation.Nonnull not found
>    [repeat] warning: unknown enum constant When.ALWAYS
>    [repeat]   reason: class file for javax.annotation.meta.When not found
>    [repeat] error: Bad service configuration file, or exception thrown while 
> constructing Processor object: 
> org/openide/filesystems/annotations/LayerGeneratingProcessor
>    [repeat] 1 error
>    [repeat] 9 warnings
>   [nbmerge] Failed to build target: all-api.io
> 
> BUILD FAILED
> /<<PKGBUILDDIR>>/nbbuild/build.xml:579: The following error occurred while 
> executing this line:
> /<<PKGBUILDDIR>>/nbbuild/build.xml:574: The following error occurred while 
> executing this line:
> /<<PKGBUILDDIR>>/nbbuild/build.xml:604: The following error occurred while 
> executing this line:
> /<<PKGBUILDDIR>>/nbbuild/build.xml:651: The following error occurred while 
> executing this line:
> /<<PKGBUILDDIR>>/nbbuild/templates/common.xml:204: Compile failed; see the 
> compiler error output for details.
> 
> Total time: 4 seconds
> make[1]: *** [debian/rules:53: override_dh_auto_build] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:46: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
> 
> E: Command 'cd /<<PKGBUILDDIR>> && runuser -u user42 -- dpkg-buildpackage 
> --sanitize-env -us -uc -rfakeroot -b' failed to run.


The full build log is available from:
http://qa-logs.debian.net/2023/08/16/libnb-platform18-java_12.1-2_unstable.log

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to