Skip to content

Commit c7651f3

Browse files
committed
(maint) Install libcurl dev package for gem dependencies
Bundler is failing to build the patron gem because it can't find curl header files: /home/runner/work/puppetlabs-peadm/puppetlabs-peadm/vendor/bundle/ruby/2.7.0/gems/patron-0.13.3/ext/patron /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/ruby -I /opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/2.7.0 -r ./siteconf20241122-2121-nayw1.rb extconf.rb checking for curl-config... no checking for -lcurl... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. ... extconf.rb:10:in `<main>': Can't find libcurl or curl/curl.h (RuntimeError) Installing the libcurl4-openssl-dev package fixes this.
1 parent 7637d8b commit c7651f3

19 files changed

+38
-0
lines changed

.github/workflows/test-add-compiler-matrix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
steps:
4242
- name: Checkout Source
4343
uses: actions/checkout@v4
44+
- name: Install libcurl dev for gem deps
45+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4446
- name: Activate Ruby 2.7
4547
uses: ruby/setup-ruby@v1
4648
with:

.github/workflows/test-add-compiler.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
SSH_PASS: ${{ secrets.SSH_PASS }}
4343
- name: Checkout Source
4444
uses: actions/checkout@v4
45+
- name: Install libcurl dev for gem deps
46+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4547
- name: Activate Ruby 2.7
4648
uses: ruby/setup-ruby@v1
4749
with:

.github/workflows/test-add-replica-matrix.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
steps:
4242
- name: Checkout Source
4343
uses: actions/checkout@v4
44+
- name: Install libcurl dev for gem deps
45+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4446
- name: Activate Ruby 2.7
4547
uses: ruby/setup-ruby@v1
4648
with:

.github/workflows/test-add-replica.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
SSH_PASS: ${{ secrets.SSH_PASS }}
4343
- name: Checkout Source
4444
uses: actions/checkout@v4
45+
- name: Install libcurl dev for gem deps
46+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4547
- name: Activate Ruby 2.7
4648
uses: ruby/setup-ruby@v1
4749
with:

.github/workflows/test-backup-restore-migration.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ jobs:
3737
SSH_PASS: ${{ secrets.SSH_PASS }}
3838
- name: Checkout Source
3939
uses: actions/checkout@v4
40+
- name: Install libcurl dev for gem deps
41+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4042
- name: Activate Ruby 2.7
4143
uses: ruby/setup-ruby@v1
4244
with:

.github/workflows/test-backup-restore.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ jobs:
4747
SSH_PASS: ${{ secrets.SSH_PASS }}
4848
- name: Checkout Source
4949
uses: actions/checkout@v4
50+
- name: Install libcurl dev for gem deps
51+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
5052
- name: Activate Ruby 2.7
5153
uses: ruby/setup-ruby@v1
5254
with:

.github/workflows/test-failover.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
SSH_PASS: ${{ secrets.SSH_PASS }}
4747
- name: Checkout Source
4848
uses: actions/checkout@v4
49+
- name: Install libcurl dev for gem deps
50+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4951
- name: Activate Ruby 2.7
5052
uses: ruby/setup-ruby@v1
5153
with:

.github/workflows/test-fips-install-matrix.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
steps:
4444
- name: Checkout Source
4545
uses: actions/checkout@v4
46+
- name: Install libcurl dev for gem deps
47+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4648
- name: Activate Ruby 2.7
4749
uses: ruby/setup-ruby@v1
4850
with:

.github/workflows/test-install-latest-dev.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
SSH_PASS: ${{ secrets.SSH_PASS }}
4646
- name: Checkout Source
4747
uses: actions/checkout@v4
48+
- name: Install libcurl dev for gem deps
49+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
4850
- name: Activate Ruby 2.7
4951
uses: ruby/setup-ruby@v1
5052
with:

.github/workflows/test-install-latest-xlarge-dev-nightly.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
SSH_PASS: ${{ secrets.SSH_PASS }}
3232
- name: Checkout Source
3333
uses: actions/checkout@v4
34+
- name: Install libcurl dev for gem deps
35+
run: sudo apt update && sudo apt install -y libcurl4-openssl-dev
3436
- name: Activate Ruby 2.7
3537
uses: ruby/setup-ruby@v1
3638
with:

0 commit comments

Comments
 (0)