Skip to contentSkip to conversation

Change in openvpn[master]: [GHA] Install aws-lc under /opt/aws-lc and chache it

Openvpn-devel In review plaisthos (Code Review) 2 participants 13 messages Mar 11 – Mar 13 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1773243451000.I090f5b201d67f51d2e42df1914a8466bcfcb6bf8@...2715...

#1 lore raw

plaisthos has uploaded this change for review. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: [GHA] Install aws-lc under /opt/aws-lc and chache it
......................................................................

[GHA] Install aws-lc under /opt/aws-lc and chache it

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
---
M .github/workflows/build.yaml

1 file changed, 17 insertions(+), 6 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/65/1565/1

.github/workflows/build.yaml +17 -6
index b213192..2e9b62a 100644
@@ -454,20 +454,29 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
+      AWS_LC_VERSION: v1.70.0
 
     steps:
       - name: Install dependencies
         run: sudo apt update && sudo apt install -y gcc golang make liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils python3-jinja2 python3-jsonschema libtool automake autoconf pkg-config libcap-ng-dev libnl-genl-3-dev
+      - name: Restore AWS-LC from cache
+        uses: actions/[email protected]...
+        id: aws-lc-cache
+        with:
+          path: ${{ env.AWS_LC_INSTALL }}
+          key: ${{ matrix.os }}-aws-lc-${{ env.AWS_LC_VERSION }}
       - name: "AWS-LC: checkout"
+        if: steps.aws-lc-cache.outputs.cache-hit != 'true'
         uses: actions/[email protected]... # v6.0.2
         with:
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: ${{ env.AWS_LC_VERSION }}
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
+        if: steps.aws-lc-cache.outputs.cache-hit != 'true'
         run: |
           mkdir build
           cd build
@@ -478,12 +487,14 @@
         uses: actions/[email protected]... # v6.0.2
       - name: autoconf
         run: autoreconf -fvi
+      - name: list aws-lc install
+        run: find ${{ env.AWS_LC_INSTALL }}
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: plaisthos.

flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: [GHA] Install aws-lc under /opt/aws-lc and chache it
......................................................................

Patch Set 1: Code-Review-1

(1 comment)

File .github/workflows/build.yaml:

http://gerrit.openvpn.net/c/openvpn/+/1565/comment/c79a40cd_3727f7f2?usp=email :
PS1, Line 476: ref: ${{ env.AWS_LC_VERSION }}
This breaks the renovate update

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Wed, 11 Mar 2026 16:05:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes

#3 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: [GHA] Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: flichtenheld, plaisthos.

Hello flichtenheld,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email

to look at the new patch set (#2).

The following approvals got outdated and were removed:
Code-Review-1 by flichtenheld

Change subject: [GHA] Install aws-lc under /opt/aws-lc
......................................................................

[GHA] Install aws-lc under /opt/aws-lc

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
---
M .github/workflows/build.yaml

1 file changed, 8 insertions(+), 6 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/65/1565/2

.github/workflows/build.yaml +8 -6
index b213192..b3b731b 100644
@@ -454,7 +454,7 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
 
     steps:
       - name: Install dependencies
@@ -465,7 +465,7 @@
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: v1.70.0
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
         run: |
@@ -478,12 +478,14 @@
         uses: actions/[email protected]... # v6.0.2
       - name: autoconf
         run: autoreconf -fvi
+      - name: list aws-lc install
+        run: find ${{ env.AWS_LC_INSTALL }}
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>

#4 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: [GHA] Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: flichtenheld.

plaisthos has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: [GHA] Install aws-lc under /opt/aws-lc
......................................................................

Patch Set 2:

(2 comments)

Patchset:

PS2:
GHA build: https://github.com/schwabe/openvpn/actions/runs/23050632702

File .github/workflows/build.yaml:

http://gerrit.openvpn.net/c/openvpn/+/1565/comment/d29ff2c2_8cd5970c?usp=email :
PS1, Line 476: ref: ${{ env.AWS_LC_VERSION }}

Quoted 1 line

This breaks the renovate update

Done

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Fri, 13 Mar 2026 12:25:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld <[email protected]...>

#5 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: [GHA] Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: flichtenheld.

plaisthos has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: [GHA] Install aws-lc under /opt/aws-lc
......................................................................

Patch Set 2:

(1 comment)

Patchset:

PS2:
GHA build of 1567+ + this one: It looks like we need 1567 for the unit tests to not fail rather just only for the compile warnings: https://github.com/schwabe/openvpn/actions/runs/23051676293

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 2
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>
Gerrit-Comment-Date: Fri, 13 Mar 2026 13:13:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No

#6 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: [GHA] Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: flichtenheld.

Hello flichtenheld,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email

to look at the new patch set (#3).

Change subject: [GHA] Install aws-lc under /opt/aws-lc
......................................................................

[GHA] Install aws-lc under /opt/aws-lc

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
---
M .github/workflows/build.yaml

1 file changed, 6 insertions(+), 6 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/65/1565/3

.github/workflows/build.yaml +6 -6
index b213192..2a2616b 100644
@@ -454,7 +454,7 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
 
     steps:
       - name: Install dependencies
@@ -465,7 +465,7 @@
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: v1.70.0
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
         run: |
@@ -480,10 +480,10 @@
         run: autoreconf -fvi
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: flichtenheld <[email protected]...>

#7 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: [GHA] Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: plaisthos.

flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: [GHA] Install aws-lc under /opt/aws-lc
......................................................................

Patch Set 3: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 3
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 13 Mar 2026 13:25:25 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#8 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: GHA: Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: flichtenheld, plaisthos.

Hello flichtenheld,

I'd like you to reexamine a change. Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email

to look at the new patch set (#4).

The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld

The change is no longer submittable: Code-Review and checks~ChecksSubmitRule are unsatisfied now.

Change subject: GHA: Install aws-lc under /opt/aws-lc
......................................................................

GHA: Install aws-lc under /opt/aws-lc

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
---
M .github/workflows/build.yaml

1 file changed, 6 insertions(+), 6 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/65/1565/4

.github/workflows/build.yaml +6 -6
index b213192..2a2616b 100644
@@ -454,7 +454,7 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
 
     steps:
       - name: Install dependencies
@@ -465,7 +465,7 @@
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: v1.70.0
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
         run: |
@@ -480,10 +480,10 @@
         run: autoreconf -fvi
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: flichtenheld <[email protected]...>

#9 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: GHA: Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

Attention is currently required from: plaisthos.

flichtenheld has posted comments on this change by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: GHA: Install aws-lc under /opt/aws-lc
......................................................................

Patch Set 4: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 4
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Comment-Date: Fri, 13 Mar 2026 13:59:37 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#10 lore raw

PATCH v4 1/1 GHA: Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

From: Arne Schwabe <[email protected]...>

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id I090f5b201d67f51d2e42df1914a8466bcfcb6bf8

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1565
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1565
This mail reflects revision 4 of this Change.

Signed-off-by line for the author was added as per our policy.

Acked-by according to Gerrit (reflected above):
Frank Lichtenheld <[email protected]...>

.github/workflows/build.yaml +6 -6
index b213192..2a2616b 100644
@@ -454,7 +454,7 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
 
     steps:
       - name: Install dependencies
@@ -465,7 +465,7 @@
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: v1.70.0
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
         run: |
@@ -480,10 +480,10 @@
         run: autoreconf -fvi
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks
#11 lore raw

[Openvpn-devel] [PATCH applied] Re: GHA: Install aws-lc under /opt/aws-lc

This is a build fix, so no actual code change - just ensure that our GH actions actually *do* build with AWS-LC (... and subsequently discover the error fixed by the just-applied commit)

Mildly tested by pushing to my GH repo.

Your patch has been applied to the master and release/2.7 branch.

commit 30c1c8cd61db9eb35f6c263a0ca3ec0714c88eb4 (master) commit 7158e76feb980443d97ebe321b2a7a54659b7ab4 (release/2.7)

Author: Arne Schwabe
Date:   Fri Mar 13 16:30:01 2026 +0100
     GHA: Install aws-lc under /opt/aws-lc

     Signed-off-by: Arne Schwabe <[email protected]...>
     Acked-by: Frank Lichtenheld <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1565
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg36106.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#12 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: GHA: Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

cron2 has uploaded a new patch set (#5) to the change originally created by plaisthos. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by flichtenheld

Change subject: GHA: Install aws-lc under /opt/aws-lc
......................................................................

GHA: Install aws-lc under /opt/aws-lc

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id I090f5b201d67f51d2e42df1914a8466bcfcb6bf8

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1565
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36106.html

---
M .github/workflows/build.yaml

1 file changed, 6 insertions(+), 6 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/65/1565/5

.github/workflows/build.yaml +6 -6
index b213192..2a2616b 100644
@@ -454,7 +454,7 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
 
     steps:
       - name: Install dependencies
@@ -465,7 +465,7 @@
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: v1.70.0
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
         run: |
@@ -480,10 +480,10 @@
         run: autoreconf -fvi
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 5
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#13 lore raw

[Openvpn-devel] [S] Change in openvpn[master]: GHA: Install aws-lc under /opt/aws-lc

In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email )

Change subject: GHA: Install aws-lc under /opt/aws-lc
......................................................................

GHA: Install aws-lc under /opt/aws-lc

The previous installation inside the OpenVPN workspace directory caused the AWS-LC installation to be deleted. And that caused to OpenSSL to be used instead of AWS-LC during the build

This also removes the --enable-werror flag from AWS-LC because it currently not even close to build without warnings.

Change-Id I090f5b201d67f51d2e42df1914a8466bcfcb6bf8

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1565
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg36106.html

---
M .github/workflows/build.yaml

1 file changed, 6 insertions(+), 6 deletions(-)
.github/workflows/build.yaml +6 -6
index b213192..2a2616b 100644
@@ -454,7 +454,7 @@
       CC: ${{matrix.cc}}
       CXX: ${{matrix.cxx}}
       UBSAN_OPTIONS: print_stacktrace=1
-      AWS_LC_INSTALL: ${{ github.workspace }}/aws-lc/aws-lc-install
+      AWS_LC_INSTALL: /opt/aws-lc
 
     steps:
       - name: Install dependencies
@@ -465,7 +465,7 @@
           path: aws-lc
           # versioning=semver-coerced
           repository: aws/aws-lc
-          ref: v1.67.0
+          ref: v1.70.0
       - uses: lukka/[email protected]... # v4.2.3
       - name: "AWS-LC: build"
         run: |
@@ -480,10 +480,10 @@
         run: autoreconf -fvi
       - name: configure with AWS-LC
         run: |
-          OPENSSL_CFLAGS="-I/${{ env.AWS_LC_INSTALL }}/include" \
-          OPENSSL_LIBS="-L/${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
-          LDFLAGS="-Wl,-rpath=/${{ env.AWS_LC_INSTALL }}/lib" \
-          ./configure --with-crypto-library=openssl --enable-werror
+          OPENSSL_CFLAGS="-I${{ env.AWS_LC_INSTALL }}/include" \
+          OPENSSL_LIBS="-L${{ env.AWS_LC_INSTALL }}/lib -lssl -lcrypto" \
+          LDFLAGS="-Wl,-rpath=${{ env.AWS_LC_INSTALL }}/lib" \
+          ./configure --with-crypto-library=openssl
       - name: make all
         run: make -j3
       - name: configure checks

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1565?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I090f5b201d67f51d2e42df1914a8466bcfcb6bf8
Gerrit-Change-Number: 1565
Gerrit-PatchSet: 5
Gerrit-Owner: plaisthos <[email protected]...>
Gerrit-Reviewer: flichtenheld <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>