[Bug 2071204] Re: openjdk fails to build due to dpkg changes

Launchpad Bug Tracker 2071204 at bugs.launchpad.net
Fri Jul 5 05:47:11 UTC 2024


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 <vladimir.petko at canonical.com>  Mon, 01 Jul 2024
13:59:50 +1200

** Changed in: openjdk-21 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openjdk-21 in Ubuntu.
https://bugs.launchpad.net/bugs/2071204

Title:
  openjdk fails to build due to dpkg changes

Status in openjdk-21 package in Ubuntu:
  Fix Released
Status in openjdk-22 package in Ubuntu:
  New

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
  ----

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-21/+bug/2071204/+subscriptions




More information about the foundations-bugs mailing list