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

Add support for Debian 12 #610

Merged
merged 3 commits into from
Apr 23, 2024
Merged

Add support for Debian 12 #610

merged 3 commits into from
Apr 23, 2024

Conversation

damonbarry
Copy link
Member

No description provided.

@damonbarry
Copy link
Member Author

@arsing any thoughts on the packages workflow failures for debian 12 armhf and aarch64?

@arsing
Copy link
Member

arsing commented Apr 23, 2024

(nvm my previous comment, I can't read.)

I don't know where /usr/bin/arm-linux-gnueabihf-pkg-config comes from on Debian 11. It seems to not belong to any package but seems to appear automatically if pkg-config is installed while armhf architecture is enabled.

$ dpkg --add-architecture armhf && apt update -y && apt install -y pkg-config

...

$ ls -l /usr/bin/arm-linux-gnueabihf-pkg-config

lrwxrwxrwx 1 root root 34 Apr 23 21:27 /usr/bin/arm-linux-gnueabihf-pkg-config -> /usr/share/pkg-config-crosswrapper

$ dpkg -S /usr/bin/arm-linux-gnueabihf-pkg-config

dpkg-query: no path found matching pattern /usr/bin/arm-linux-gnueabihf-pkg-config

... and in fact, installing pkg-config:armhf will uninstall the pkg-config:amd64 one, ie they're not coinstallable.

On Debian 12 it requires installing pkg-config:armhf explicitly and it is even coninstallable with pkg-config:amd64.

$ dpkg --add-architecture armhf && apt update -y && apt install -y pkg-config

...

$ ls -l /usr/bin/arm-linux-gnueabihf-pkg-config

ls: cannot access '/usr/bin/arm-linux-gnueabihf-pkg-config': No such file or directory

$ apt install -y pkg-config:armhf

...

$ ls -l /usr/bin/arm-linux-gnueabihf-pkg-config

lrwxrwxrwx 1 root root 7 Jan 22  2023 /usr/bin/arm-linux-gnueabihf-pkg-config -> pkgconf

$ dpkg -S /usr/bin/arm-linux-gnueabihf-pkg-config

pkgconf:armhf: /usr/bin/arm-linux-gnueabihf-pkg-config

Same thing for aarch64.

@kodiakhq kodiakhq bot merged commit d1cf0f5 into Azure:main Apr 23, 2024
67 checks passed
@damonbarry damonbarry deleted the deb12 branch April 23, 2024 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants