openjdk fails to build due to dpkg changes

Bug #2071204 reported by Vladimir Petko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-21 (Ubuntu)
Fix Released
Undecided
Unassigned
openjdk-22 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The following error occurs during configure phase:

----
configure:86775: /usr/bin/x86_64-linux-gnu-gcc-13 -m64 -Wdate-time -D_FORTIFY_SOURCE=3 -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/build/openjdk-21-Rk6Vhu/openjdk-21-21.0.4~5ea=. -fstack-protector-strong -fstack-clash-protection -Wformat -fcf-protection -fdebug-prefix-map=/build/openjdk-21-Rk6Vhu/openjdk-21-21.0.4~5ea=/usr/src/openjdk-21-21.0.4~5ea-1 -fno-stack-protector -Wno-deprecated-declarations -Wdate-time -D_FORTIFY_SOURCE=3 -m64 -specs=/usr/share/dpkg/elf-package-metadata.specs -Xlinker -z -Xlinker relro -Xlinker -Bsymbolic-functions -Xlinker --no-as-needed conftest.c >&5
x86_64-linux-gnu-gcc-13: fatal error: environment variable 'DEB_VERSION' not defined
----

Related branches

Vladimir Petko (vpa1977)
summary: - openjdk-22 fails to build due to dpkg changes
+ openjdk fails to build due to dpkg changes
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openjdk-21 - 21.0.4~6ea-1ubuntu1

---------------
openjdk-21 (21.0.4~6ea-1ubuntu1) oracular; urgency=medium

  * d/rules: include /usr/share/dpkg/buildflags.mk to avoid configure
    failure due to the undefined variables (LP: #2071204).

 -- Vladimir Petko <email address hidden> Mon, 01 Jul 2024 13:59:50 +1200

Changed in openjdk-21 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.