Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Reproducible build fails on libc6 version conflict #18368

Open
jusherma opened this issue Mar 14, 2024 · 4 comments
Open

[build] Reproducible build fails on libc6 version conflict #18368

jusherma opened this issue Mar 14, 2024 · 4 comments
Assignees
Labels
MSFT Triaged this issue has been triaged

Comments

@jusherma
Copy link
Contributor

Description

When using SONiC reproducible build feature, build fails with:

The following packages have unmet dependencies:
 libc6-dev : Depends: libc6 (= 2.31-13+deb11u7) but 2.31-13+deb11u8 is to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c apt-get update         &&     apt-get install -y                apt-utils                     build-essential               python3-dev' returned a non-zero code: 100
[  FAIL LOG END  ] [ target/docker-config-engine-bullseye.gz ]

This is seen on 202305, but presumably affects other branches too, as even master references the outdated 2.31-13+deb11u7 version of libc6 (and related packages):

Steps to reproduce the issue:

make SONIC_DPKG_CACHE_SOURCE=/dpkg-cache SONIC_DPKG_CACHE_METHOD=cache NOSTRETCH=1 SONIC_VERSION_CONTROL_COMPONENTS=py2,py3,web,git,docker MIRROR_SNAPSHOT=y all

Describe the results you received:

Error above.

Describe the results you expected:

Build should work.

Output of show version:

n/A

Output of show techsupport:

n/A

Additional information you deem important (e.g. issue happens only occasionally):

@prgeor
Copy link
Contributor

prgeor commented Mar 27, 2024

@saiarcot895 is this a known build failure on bullseye?

@prgeor prgeor added MSFT Triaged this issue has been triaged labels Mar 27, 2024
@prgeor
Copy link
Contributor

prgeor commented Mar 27, 2024

@xumia could you take a look if this is because of cache missing

@saiarcot895
Copy link
Contributor

#16965 is supposed to update the files for 202305, but it's failing on KVM tests.

@saiarcot895
Copy link
Contributor

saiarcot895 commented Mar 27, 2024

#18037 is the master branch PR. However, the main pipeline itself is failing because marvell_armhf is failing to build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MSFT Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

4 participants