[Bug 2070015] Re: DEB_* environment variables not set when using /usr/share/dpkg/buildflags.mk
Benjamin Drung
2070015 at bugs.launchpad.net
Mon Sep 2 08:29:18 UTC 2024
The problem is probably that some ruby package capture and store the
CFLAGS on disk. Rebuilding those will be the solution.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/2070015
Title:
DEB_* environment variables not set when using
/usr/share/dpkg/buildflags.mk
Status in cdbs package in Ubuntu:
Fix Released
Status in dpkg package in Ubuntu:
Fix Released
Bug description:
Hello, few things broke with last dpkg uploads:
https://pastebin.ubuntu.com/p/2GN5fdtpsz/
configure:2498: gcc -g -O2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -ffile-prefix-map=/rp-pppoe-4.0-1ubuntu1=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fdebug-prefix-map=/rp-pppoe-4.0-1ubuntu1=/usr/src/rp-pppoe-4.0-1ubuntu1 -Wdate-time -D_FORTIFY_SOURCE=3 -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -specs=/usr/share/dpkg/elf-package-metadata.specs conftest.c >&5
gcc: fatal error: environment variable 'DEB_VERSION' not defined
(probably this is due to not having the standard dh calls)
Also,
Use of uninitialized value in string eq at /usr/bin/dpkg-genbuildinfo line 337.
Are printed for newly introduced variables:
DEB_BUILD_OS_RELEASE_ID DEB_SOURCE DEB_VERSION
Example of failing package:
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/2070015
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdbs/+bug/2070015/+subscriptions
More information about the foundations-bugs
mailing list