These are the steps to reproduce the test failure:

lxc launch ubuntu-daily:questing
sudo vim /etc/apt/sources.list.d/ubuntu.sources
# add deb-src and questing proposed to the primary mirror

sudo vim /etc/apt/preferences.d/99proposed
# Add the content:
Package: *
Pin: release a=questing-proposed
Pin-Priority: 1001

sudo apt update && sudo apt upgrade -y
sudo apt install build-essential devscripts
sudo apt remove coreutils-from-gnu --allow-remove-essential
apt source openvswitch
cd openvswitch-3.5.1
sudo apt build-dep . -y
debuild -us -uc

---------------

The key step is:
sudo apt remove coreutils-from-gnu --allow-remove-essential

When using gnu coreutils the build succeeds. It seems like this is a well known 
issue:
https://bugs.launchpad.net/coreutils/+bug/2115033

and has even been patched upstream:
https://github.com/uutils/coreutils/pull/8336

I've rebuilt the rust-coreutils package after cherry-picking the above
PR and including it as a distro series patch in d/p see PPA:
https://launchpad.net/~bryanfraschetti/+archive/ubuntu/rust-
coreutils/+packages

After installing rust-coreutils from the PPA the build succeeds (see
attached build log and manifest).

Essentially the build-failure is a result of a rust-coreutils bug, which
is a regression introduced by the replacement of gnu coreutils.
According to juliank's comment a few days ago:
https://bugs.launchpad.net/coreutils/+bug/2115033/comments/3 the patch
will be brought into questing images (seemingly shortly), though it is
currently blocked on some missing messages. Will we need to block the
SRU on this?


** Attachment added: "openvswitch_3.5.1-0ubuntu1_amd64.build"
   
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/2109823/+attachment/5892929/+files/openvswitch_3.5.1-0ubuntu1_amd64.build

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

Title:
  [SRU] openvswitch 3.3.4 (noble) 3.5.1 (plucky/questing) point release

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/caracal/+bug/2109823/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to