Skip to content

CI: Fix Archlinux build#610

Merged
Youw merged 1 commit intomasterfrom
fix-archlinux
Aug 14, 2023
Merged

CI: Fix Archlinux build#610
Youw merged 1 commit intomasterfrom
fix-archlinux

Conversation

@Youw
Copy link
Copy Markdown
Member

@Youw Youw commented Aug 14, 2023

Apparently when installing/upgrading packages on Archlinux - need to explicitly make sure glibc is upgraded as well.

Fixes: #607

@Youw Youw marked this pull request as draft August 14, 2023 09:43
@Youw Youw marked this pull request as ready for review August 14, 2023 09:45
@Youw Youw merged commit 09ab35f into master Aug 14, 2023
@Youw Youw deleted the fix-archlinux branch August 14, 2023 10:10
@mcuee
Copy link
Copy Markdown
Member

mcuee commented Aug 14, 2023

Interesting to know about this.

I usually run Ubuntu LTS version (20.04 and 22.04) as well Debain (11/12) or distros based on them for ARM SBCs (Raspberry Pi OS, Ubuntu for ARM64, or Armbian based on Debian/Ubuntu).

Recently I played with Arch Linux and a few Arch Linxu based distros as VMs under my Intel J4105 mini PC running Proxmox Virtual Environment 7.4. I tried the build test of libusb/hidapi/libftdi/avrdude and I did not encounter issues. But I have never used an Arch Linux based container, my LXC containers are again mainly using Ubuntu and Debain.

@mcuee mcuee added the build system/CI Anything related to building the project or running on CI label Aug 14, 2023
@Youw
Copy link
Copy Markdown
Member Author

Youw commented Aug 14, 2023

Apparently what was happening here:

  • we use some docker image which has some packaged (pre)installed, like glibc;
  • by pacman -Sy we're updating a list of packages available on the remote; but it does not upgrade existing packages;
  • we install a bunch of packanges, including cmake which depends on libstdc++ which happens to depend on a never version of glibc than we had preinstalled, but does not upgrade the existing package (i believe apt wouldn't allow installing such package);

@Youw
Copy link
Copy Markdown
Member Author

Youw commented Aug 14, 2023

The "before" used to work, only because until recently the very latest version of libstdc++ was depending on the same (or older) version of glibc that was already preinstalled on the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build system/CI Anything related to building the project or running on CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken Archlinux build

2 participants