[Bug 2070015] Re: dpkg-buildpackage broke rp-pppoe building
Gianfranco Costamagna
2070015 at bugs.launchpad.net
Fri Jun 21 07:47:27 UTC 2024
Not sure how much this makes sense, but the warnings might disappear
with this patch?
diff -Nru dpkg-1.22.6ubuntu13/scripts/t/mk/buildflags.mk dpkg-1.22.6ubuntu14/scripts/t/mk/buildflags.mk
--- dpkg-1.22.6ubuntu13/scripts/t/mk/buildflags.mk 2024-06-14 16:08:27.000000000 +0200
+++ dpkg-1.22.6ubuntu14/scripts/t/mk/buildflags.mk 2024-06-21 08:19:46.000000000 +0200
@@ -24,3 +24,5 @@
test "$(OBJCFLAGS_FOR_BUILD)" = "$(TEST_OBJCFLAGS_FOR_BUILD)"
test "$(OBJCXXFLAGS)" = "$(TEST_OBJCXXFLAGS)"
test "$(OBJCXXFLAGS_FOR_BUILD)" = "$(TEST_OBJCXXFLAGS_FOR_BUILD)"
+ test "$(RUSTFLAGS)" = "$(TEST_RUSTFLAGS)"
+ test "$(RUSTFLAGS_FOR_BUILD)" = "$(TEST_RUSTFLAGS_FOR_BUILD)"
--- dpkg-1.22.6ubuntu13/scripts/Dpkg/BuildFlags.pm 2024-06-18 19:48:56.000000000 +0200
+++ dpkg-1.22.6ubuntu14/scripts/Dpkg/BuildFlags.pm 2024-06-21 08:17:23.000000000 +0200
@@ -94,6 +94,8 @@
FCFLAGS_FOR_BUILD
LDFLAGS
LDFLAGS_FOR_BUILD
+ RUSTFLAGS
+ RUSTFLAGS_FOR_BUILD
);
$self->{features} = {};
--
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:
dpkg-buildpackage broke rp-pppoe building
Status in dpkg package in Ubuntu:
New
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/dpkg/+bug/2070015/+subscriptions
More information about the foundations-bugs
mailing list