From 18870e37874ac9401e2244ff990f657fb22943b4 Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 2 Mar 2023 14:23:46 +0100 Subject: [PATCH 1/2] GH action: be consistent in the install --- .github/workflows/GnuTests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index fd2d66835..b74364f14 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -86,7 +86,7 @@ jobs: run: | ## Install dependencies sudo apt-get update - sudo apt-get install autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl + sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl - name: Add various locales shell: bash run: | @@ -316,8 +316,8 @@ jobs: - name: Install dependencies run: | ## Install dependencies - sudo apt update - sudo apt install autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl -y + sudo apt-get update + sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl - name: Add various locales run: | ## Add various locales From 794df2ae7a53dfec25e658d53515dc43cc9d93cd Mon Sep 17 00:00:00 2001 From: Sylvestre Ledru Date: Thu, 2 Mar 2023 14:24:43 +0100 Subject: [PATCH 2/2] GH action: install missing dependencies Fails with: ``` 2023-03-01T22:02:40.2587471Z configure: WARNING: libacl development library was not found or not usable. 2023-03-01T22:02:40.2588131Z configure: WARNING: GNU coreutils will be built without ACL support. 2023-03-01T22:03:03.7621309Z configure: WARNING: libattr development library was not found or not usable. 2023-03-01T22:03:03.7621976Z configure: WARNING: GNU coreutils will be built without xattr support. 2023-03-01T22:03:04.6538269Z configure: WARNING: libcap library was not found or not usable. 2023-03-01T22:03:04.6539022Z configure: WARNING: GNU coreutils will be built without capability support. ``` --- .github/workflows/GnuTests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index b74364f14..7c8c307ec 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -86,7 +86,7 @@ jobs: run: | ## Install dependencies sudo apt-get update - sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl + sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev - name: Add various locales shell: bash run: | @@ -317,7 +317,7 @@ jobs: run: | ## Install dependencies sudo apt-get update - sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl + sudo apt-get install -y autoconf autopoint bison texinfo gperf gcc g++ gdb python3-pyinotify jq valgrind libexpect-perl libacl1-dev libattr1-dev libcap-dev - name: Add various locales run: | ## Add various locales