You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CI cannot support Ubuntu 26.04 due to broken build-essential package #12512
CI needs build-essential and GNU coreutils as system binary for testing. However, Ubuntu 26.04's build-essential strongly depends on uutils and rejects GNU as system binary.
If Ubuntu decided to not fix the broken dependency, we need to build our own custom build-essential, or just abandon supporting one of the most common target.
Hmm yes this is a problem indeed. Where does the CI break?
Naively, a quick (hacky) fix is to append gnu to the calls where the GNU alternatives are wanted, e.g. gnuls. Both uutils and GNU are co-installable, it's just that the symlinks are forced to point to uutils in this scenario. However this "fix" is problematic if one does not have direct control of the code.
Judging by the changelog, the build-essential dependency on uutils should be a temporary hack though and I would not expect it to remain.
I know fuzzer only. I guess it is used much more, but I forgot...
The name gnuls is Ubuntu specific, so using the name disallows running fuzzer locally.
Good point. There is an associated bug report on Launchpad for Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/build-essential/+bug/2148691. One rationale for the strict dependency on uutils seems to be to not allow building in an unsupported environment (i.e. uutils is the coreutils provider on Ubuntu -> building with GNU is unsupported). Still, I would think that it should be possible for the user to decide this. Let me investigate and see what the best solution could be on the Ubuntu side.
Another solution I see is separating the build and test job such that the test uses the build artifact without any explicit dependencies on the build environment. In this case, the GNU alternative can be forced using the following command:
Intuitively I would expect cargo to be agnostic of the coreutils provider. We should be able to share build artifacts using actions/upload-artifact@v4.
If uutils breaks CI however, that should definitely be looked into. Do you have any logs available that I could investigate?
I know it is difficult to do that (until GitHub provide Arch runner), but I want to use latest GNU since it is goal of this project.
Yeah I understand, that's reasonable IMO. Would it work if we provided a PPA for this purpose? Then you could add that as a repository and explicitly install the latest available version.
No worries! The current version got a FTBFS due to a test that (expectedly) failed in the build environment. Pushing a fix now and there should be an installable package soon.
In this case, they would be shipped with the gnu prefix so no "real" conflicts. The GNU coreutils package already does this for every other util also though.
Sure thing, that's alright with me! Please mention that it's to be used as a reference in that case and not as a replacement for the archive's coreutils; it will not receive ordinary bug fixes and updates.
curl https://launchpad.net/~bamf0/+archive/ubuntu/coreutils-reference/+files/gnu-coreutils_9.11-0ubuntu1~ppa3_amd64.deb > 9.11.deb causes network error. No problem with web browser.
curl https://launchpad.net/~bamf0/+archive/ubuntu/coreutils-reference/+files/gnu-coreutils_9.11-0ubuntu1~ppa3_amd64.deb > 9.11.deb causes network error. No problem with web browser.
For reference, you need to specify the -L (--location) option for this to work, otherwise curl will not follow the redirects.
Activity
BAMF0 commentedon May 29, 2026
Hmm yes this is a problem indeed. Where does the CI break?
Naively, a quick (hacky) fix is to append
gnuto the calls where the GNU alternatives are wanted, e.g.gnuls. Both uutils and GNU are co-installable, it's just that the symlinks are forced to point to uutils in this scenario. However this "fix" is problematic if one does not have direct control of the code.Judging by the changelog, the
build-essentialdependency on uutils should be a temporary hack though and I would not expect it to remain.oech3 commentedon May 29, 2026
I know fuzzer only. I guess it is used much more, but I forgot...
The name
gnulsis Ubuntu specific, so using the name disallows running fuzzer locally.BAMF0 commentedon May 29, 2026
Good point. There is an associated bug report on Launchpad for Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/build-essential/+bug/2148691. One rationale for the strict dependency on uutils seems to be to not allow building in an unsupported environment (i.e. uutils is the coreutils provider on Ubuntu -> building with GNU is unsupported). Still, I would think that it should be possible for the user to decide this. Let me investigate and see what the best solution could be on the Ubuntu side.
Another solution I see is separating the build and test job such that the test uses the build artifact without any explicit dependencies on the build environment. In this case, the GNU alternative can be forced using the following command:
Would this work?
oech3 commentedon May 29, 2026
BAMF0 commentedon May 29, 2026
Intuitively I would expect cargo to be agnostic of the coreutils provider. We should be able to share build artifacts using
actions/upload-artifact@v4.If uutils breaks CI however, that should definitely be looked into. Do you have any logs available that I could investigate?
oech3 commentedon May 29, 2026
oech3 commentedon May 31, 2026
BAMF0 commentedon Jun 1, 2026
Awesome! Glad it got fixed.
oech3 commentedon Jun 29, 2026
GNU coreutils on https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2604-Readme.md is too old for us...
BAMF0 commentedon Jun 29, 2026
Weird, 26.04 Resolute Racoon has GNU coreutils version
9.7(ref: https://launchpad.net/ubuntu/+source/coreutils), not sure how they could be using9.5in their runner image. Is9.7still too old?oech3 commentedon Jun 29, 2026
I know it is difficult to do that (until GitHub provide Arch runner), but I want to use latest GNU since it is goal of this project.
BAMF0 commentedon Jun 29, 2026
Thanks for bringing it up! My 26.04 system also has
9.5installed for some reason... this is odd. Let me have a look.oech3 commentedon Jun 29, 2026
#13200
BAMF0 commentedon Jun 29, 2026
Yeah I understand, that's reasonable IMO. Would it work if we provided a PPA for this purpose? Then you could add that as a repository and explicitly install the latest available version.
oech3 commentedon Jun 29, 2026
5 remaining items
oech3 commentedon Jun 30, 2026
Thankyou! I'll try.
BAMF0 commentedon Jun 30, 2026
No worries! The current version got a FTBFS due to a test that (expectedly) failed in the build environment. Pushing a fix now and there should be an installable package soon.
oech3 commentedon Jun 30, 2026
Does it include binaries conflicting with util-linux, procps-ng and inetutils?
coreutils/util/build-gnu.sh
Line 128 in b64a26e
BAMF0 commentedon Jun 30, 2026
No it doesn't at the moment AFAIK. Do you want them included?
oech3 commentedon Jun 30, 2026
BAMF0 commentedon Jun 30, 2026
In this case, they would be shipped with the
gnuprefix so no "real" conflicts. The GNU coreutils package already does this for every other util also though.oech3 commentedon Jun 30, 2026
If you are fine, I'd like to link https://launchpad.net/~bamf0/+archive/ubuntu/coreutils-reference/+files/gnu-coreutils_9.11-0ubuntu1~ppa3_amd64.deb to somewhere of CONTRIBUTING.md for people not on roling release Linux distribution. There are many bug reports coming from outdated version.
cc @sylvestre
BAMF0 commentedon Jun 30, 2026
Sure thing, that's alright with me! Please mention that it's to be used as a reference in that case and not as a replacement for the archive's
coreutils; it will not receive ordinary bug fixes and updates.oech3 commentedon Jul 1, 2026
curl https://launchpad.net/~bamf0/+archive/ubuntu/coreutils-reference/+files/gnu-coreutils_9.11-0ubuntu1~ppa3_amd64.deb > 9.11.debcauses network error. No problem with web browser.BAMF0 commentedon Jul 1, 2026
Launchpad has been under load recently, might be related? I managed to download it successfully just using
wget:oech3 commentedon Jul 2, 2026
Yes.
wgetworked on the CI whilecurlcorrupts*.deb. Thankyou.empierre commentedon Jul 2, 2026
Hello, as a sum-up, what should do people that have the issue ?
thanks
oech3 commentedon Jul 2, 2026
GitHub runner probably hacked
build-essentialto work with GNU coreutils, I guess... Closing,xtqqczze commentedon Jul 25, 2026
For reference, you need to specify the
-L(--location) option for this to work, otherwise curl will not follow the redirects.