I am trying to rebuild some ruby packages as part of the ruby 3.3
transition, and I see some packages failing to build  because of this:

gcc: fatal error: environment variable ‘DEB_VERSION’ not defined

I see they are using dpkg version 1.22.11ubuntu1 (which in theory should
contain the fix):

Get:46 http://archive.ubuntu.com/ubuntu oracular/main amd64 dpkg amd64
1.22.11ubuntu1 [1301 kB]

To reproduce this error in one of those packages you can run:

$ pull-lp-source ruby-bcrypt
$ cd ruby-bcrypt-3.1.18
$ sbuild -d oracular --build-dep-resolver=aspcud --no-clean-source 
--no-run-lintian --add-depends="ruby-all-dev (>= 1:3.3~ubuntu2)" 
--extra-repository="deb http://archive.ubuntu.com/ubuntu/ oracular-proposed 
main universe"

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

Title:
  DEB_* environment variables not set when using
  /usr/share/dpkg/buildflags.mk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cdbs/+bug/2070015/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to