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

libltdl-dev isn't present on Ubuntu 24.04, but was present on 22.04 #11316

Open
3 of 16 tasks
KKhanhH opened this issue Jan 7, 2025 · 5 comments
Open
3 of 16 tasks

libltdl-dev isn't present on Ubuntu 24.04, but was present on 22.04 #11316

KKhanhH opened this issue Jan 7, 2025 · 5 comments

Comments

@KKhanhH
Copy link

KKhanhH commented Jan 7, 2025

Description

libltdl-dev is a package recommended by libtool. However, while libtool is installed on both images, libltdl-dev is only present on 22.04. This might break workflows as a result of the migration of ubuntu-latest to 24.04 without an obvious reason.

Platforms affected

  • Azure DevOps
  • GitHub Actions - Standard Runners
  • GitHub Actions - Larger Runners

Runner images affected

  • Ubuntu 20.04
  • Ubuntu 22.04
  • Ubuntu 24.04
  • macOS 12
  • macOS 13
  • macOS 13 Arm64
  • macOS 14
  • macOS 14 Arm64
  • macOS 15
  • macOS 15 Arm64
  • Windows Server 2019
  • Windows Server 2022
  • Windows Server 2025

Image version and build link

Ubuntu 24.04

https://github.com/KKhanhH/libxcrypt-build-test/actions/runs/12646381337

Is it regression?

yes

Expected behavior

Here is a working build on Ubuntu 22.04. Libxcrypt build process requires libltdl-dev.

https://github.com/KKhanhH/libxcrypt-build-test/actions/runs/12646431200

Actual behavior

Missing dev package.

Repro steps

Use vcpkg to build libxcrypt on Ubuntu 24.04.

@vidyasagarnimmagaddi
Copy link
Contributor

Hi @KKhanhH , Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

@RaviAkshintala
Copy link
Contributor

RaviAkshintala commented Jan 8, 2025

Hi @KKhanhH Can you please add the following workaround to your workflow file for Ubuntu 24, It is currently passing.

     - name: Install libltdldev
      run: sudo apt-get update && sudo apt-get install -y libltdl-dev

FYI, refer https://github.com/RaviAkshintala/libxcrypt-build-test/actions/runs/12664428397/workflow#L28 , Thanks.

@KKhanhH
Copy link
Author

KKhanhH commented Jan 8, 2025

Hi @RaviAkshintala, yes it does pass if explicitly installed. I'm requesting that it be included in the default image since it was included in 22.04 by default without an explicit installation step.

@dbushong
Copy link

dbushong commented Jan 8, 2025

I believe some stuff was removed from the template file (I'm seeing a similar issue with missing ODBC-related stuff). e.g. this script:

https://github.com/actions/runner-images/blob/main/images/ubuntu/scripts/build/install-mssql-tools.sh

is not present in https://github.com/actions/runner-images/blob/main/images/ubuntu/templates/ubuntu-24.04.pkr.hcl whereas it was present in 22:

https://github.com/actions/runner-images/blob/main/images/ubuntu/templates/ubuntu-22.04.pkr.hcl#L312

@dbushong
Copy link

dbushong commented Jan 8, 2025

Here's a diff snippet of the removals 22 -> 24:

-      "${path.root}/../scripts/build/install-aliyun-cli.sh",
-      "${path.root}/../scripts/build/install-heroku.sh",
-      "${path.root}/../scripts/build/install-oc-cli.sh",
-      "${path.root}/../scripts/build/install-leiningen.sh",
-      "${path.root}/../scripts/build/install-mono.sh",
-      "${path.root}/../scripts/build/install-mssql-tools.sh",
-      "${path.root}/../scripts/build/install-sqlpackage.sh",
-      "${path.root}/../scripts/build/install-oras-cli.sh",
-      "${path.root}/../scripts/build/install-rlang.sh",
-      "${path.root}/../scripts/build/install-sbt.sh",
-      "${path.root}/../scripts/build/install-terraform.sh",

If these removals were intentional, they should be marked as a "breaking change" in some fashion.

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

No branches or pull requests

4 participants