This bug was fixed in the package apport - 2.33.0-0ubuntu1

---------------
apport (2.33.0-0ubuntu1) questing; urgency=medium

  * New upstream release
    - SECURITY UPDATE: Report file insecure permissions (LP: #2106338)
      + Do not change report group to report owner's primary group.
      + CVE-2025-5467
    - SECURITY UPDATE: Race condition when forwarding core files to containers
      (LP: #2107472)
      + apport: move consistency_checks call further up
      + apport: do not override options.pid
      + apport: open /proc/<pid> as early as possible
      + fileutils: respect proc_pid_fd in get_core_path
      + apport: use opened /proc/<pid> everywhere
      + apport: do consistency check before forwarding crashes
      + apport: require --dump-mode to be specified
      + apport: determine report owner by dump_mode
      + apport: do not forward crash for dump_mode == 2
      + apport: support pidfd (%F) parameter from kernel
      + CVE-2025-5054
    - test: support coreutils rename to gnu-coreutils (LP: #2111595)
    - setuptools/java: use snakecase for option name (LP: #2111595)
    - apport: look for the exe within the proc root mount (LP: #2112272)
  * Depend on gnu-coreutils for integration/system tests
  * Depend on python3-pytest-cov in addition to python3-pytest
  * Drop patches applied upstream and refresh remaining patches
  * Address some Pyright complaints in ubuntu general hook

 -- Benjamin Drung <bdr...@ubuntu.com>  Fri, 06 Jun 2025 13:53:15 +0200

** Changed in: apport (Ubuntu)
       Status: Triaged => Fix Released

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2025-5054

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2025-5467

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/2111595

Title:
  FTBFS in questing: setup.cfg command 'build_java' has no such option
  'minimum-java-release'

Status in Apport:
  Fix Released
Status in apport package in Ubuntu:
  Fix Released

Bug description:
  Apport 2.32.0-0ubuntu5 FTBFS on questing due to an error in a custom
  setuptools command:

  ```
  error: error in setup.cfg: command 'build_java' has no such option 
'minimum-java-release'
  E: pybuild pybuild:389: 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.13 returned 
exit code 13
  make: *** [debian/rules:4: binary] Error 25
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2
  debuild: fatal error at line 1185:
  dpkg-buildpackage -us -uc -ui failed
  ```

  I tried to sidestep this by commenting out the relevant option in
  setup.cfg:

  ```
   [build_java_subdir]
  -minimum-java-release=8
  +# minimum-java-release=8
  ```

  and hardcoding the release in setuptools_apport/java.py:

  ```
       def initialize_options(self) -> None:
           """Set or (reset) all options/attributes/caches to their default 
values"""
  -        self.minimum_java_release = "7"
  +        self.minimum_java_release = "8"
  ```

  and I still got the following error:

  ```
  make[1]: Entering directory '/home/octavio/apport-2.32.0'
  tests/run-linters --errors-only
  Running mypy...
  Success: no issues found in 98 source files
  Success: no issues found in 21 source files
  Running pylint...
  ************* Module debian
  debian/__init__.py:1:0: F0010: error while code parsing: Unable to load file 
debian/__init__.py:
  [Errno 2] No such file or directory: 'debian/__init__.py' (parse-error)
  make[1]: *** [debian/rules:8: override_dh_auto_test] Error 1
  make[1]: Leaving directory '/home/octavio/apport-2.32.0'
  make: *** [debian/rules:4: binary] Error 2
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 
2
  debuild: fatal error at line 1185:
  dpkg-buildpackage -us -uc -ui failed
  ```

  Let me know if I can provide further information.

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/apport/+bug/2111595/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to