FTBFS with default Java 21
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
High
|
Unassigned | ||
apport (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Dear Maintainers,
The package apport ftbfs with default Java 21.
The relevant part of the build log:
---------------
running build_java_subdir
warning: [options] bootstrap class path not set in conjunction with -source 7
error: Source option 7 is no longer supported. Use 8 or later.
error: Target option 7 is no longer supported. Use 8 or later.
Traceback (most recent call last):
File "/<<PKGBUILDDIR
DistUtilsEx
File "/usr/lib/
setuptools.
File "/usr/lib/
return distutils.
File "/usr/lib/
return run_commands(dist)
File "/usr/lib/
dist.
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
cmd_obj.run()
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
super(
File "/usr/lib/
cmd_obj.run()
File "/<<PKGBUILDDIR
subprocess.
File "/usr/lib/
raise CalledProcessEr
subprocess.
E: pybuild pybuild:395: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build
dh_auto_build: error: pybuild --build -i python{version} -p "3.12 3.11" returned exit code 13
make[1]: *** [debian/rules:12: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
-------
Build finished at 2023-12-
---------------
Changed in apport (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in apport: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in apport: | |
status: | Fix Committed → Fix Released |
Changed in apport (Ubuntu): | |
status: | Triaged → Fix Committed |
What is the recommended source/target version that should nowadays be used?