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

dpkg-deb must be called in container if Ubuntu 22.04 or force xz as compress type #12822

Closed
collivier opened this issue Nov 24, 2022 · 0 comments · Fixed by #12823
Closed

dpkg-deb must be called in container if Ubuntu 22.04 or force xz as compress type #12822

collivier opened this issue Nov 24, 2022 · 0 comments · Fixed by #12823

Comments

@collivier
Copy link
Contributor

Description

Ubuntu 22.04 leverages Zstandard compression to dpkg.
Debian doesn't support it yet https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

In the current build process any installation of packages built on ubuntu 22.04 and installed in Debian containers failed.

Steps to reproduce the issue:

vs Ubuntu 22.04

  1. NOSTRETCH=y NOJESSIE=y make configure PLATFORM=vs

Describe the results you received:

All Docker builds installing buildinfo/sonic-build-hooks_1.0_all.deb fail.

Describe the results you expected:

Only checking $(shell which dpkg-deb) in src/sonic-build-hooks/Makefile isn't enough.
This condition must also check if ubuntu and if newer or equal than 22.04.

The best solution would be to add -Zxz when creating the containers.

collivier added a commit to Orange-OpenSource/sonic-buildimage that referenced this issue Nov 24, 2022
Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix sonic-net#12822

Signed-off-by: Cédric Ollivier <[email protected]>
lguohan pushed a commit that referenced this issue Nov 25, 2022
… debs (#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix #12822

Signed-off-by: Cédric Ollivier <[email protected]>
StormLiangMS pushed a commit to StormLiangMS/sonic-buildimage that referenced this issue Dec 8, 2022
… debs (sonic-net#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix sonic-net#12822

Signed-off-by: Cédric Ollivier <[email protected]>
StormLiangMS pushed a commit that referenced this issue Dec 10, 2022
… debs (#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix #12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 1, 2023
… debs (sonic-net#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix sonic-net#12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 1, 2023
… debs (sonic-net#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix sonic-net#12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 11, 2023
… debs (sonic-net#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix sonic-net#12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this issue May 11, 2023
… debs (sonic-net#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix sonic-net#12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit that referenced this issue May 16, 2023
… debs (#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix #12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit that referenced this issue May 18, 2023
… debs (#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix #12822

Signed-off-by: Cédric Ollivier <[email protected]>
mssonicbld pushed a commit that referenced this issue May 19, 2023
… debs (#12823)

Ubuntu 22.04 leverages Zstandard compression to dpkg by default.
Debian doesn't support it yet
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

Fix #12822

Signed-off-by: Cédric Ollivier <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant