Page MenuHomePureOS Tracker

dpkg-buildflags return empty CFLAGS
Closed, ResolvedPublic

Description

This is in our amber arm64 chroot:

# dpkg-buildflags --get CFLAGS

(empty output)

while this is on Debian buster

# dpkg-buildflags --get CFLAGS
-g -O2 -fdebug-prefix-map=/DATA/pbuilder/base-buster.cow=. -fstack-protector-strong -Wformat -Werror=format-security

both are dpkg-dev is 1.19.7.

The reason is the lack of a /usr/share/perl5/Dpkg/Vendor/PureOS.pm (which i added to our chroot to hack around this).

This currently breaks the webkit builds but should cause problems for lots of other packages (and is way less strict security wise)

Event Timeline

guido created this task.Oct 11 2019, 06:09
guido added a comment.Oct 11 2019, 06:33

I've created a dpkg reppo at

https://source.puri.sm/pureos/core/dpkg

and added our PureOS.pm as MR there:

https://source.puri.sm/pureos/core/dpkg/merge_requests/1

so we can discuss if we want to go that way or if it has to go somewhere else.

mak claimed this task.Oct 13 2019, 16:43
mak triaged this task as Unbreak Now! priority.
mak closed this task as Resolved.Oct 13 2019, 19:54

This should be fixed in amber now :-)
Thanks for reporting the issue!