Skip to contentSkip to conversation

Fix LibreSSL not building in Github Actions

PATCH In review Arne Schwabe 2 participants 2 messages Feb 9, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix LibreSSL not building in Github Actions

During the build of LibreSSL portable it pulls in a branch from OpenBSD upstream. Unfortunately they use master there instead of a fixed branch. So we work around this issue.

---
 .github/workflows/build.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)
.github/workflows/build.yaml +8 -0
index 132624547..5888e91e5 100644
@@ -415,6 +415,14 @@ jobs:
           path: libressl
           repository: libressl-portable/portable
           ref: v3.7.0
+      # LibreSSL has master in the OPENBSD_BRANCH by default even in the tagged releases
+      # Manually use the OpenBSD branch that is more appropiate and remove git pull that
+      # breaks when checking out a tag instead of branch
+      - name: "libressl: fix build"
+        run: |
+           echo libressl-v3.7.0 > OPENBSD_BRANCH
+           sed -i -e 's/ git pull --rebase//' update.sh
+        working-directory: libressl
       - name: "libressl: autogen.sh"
         run: ./autogen.sh
         working-directory: libressl
Signature · 1 line
2.37.1 (Apple Git-137.1)
Acked-by on v1 1/1
#1 lore raw

Arne has said I should not look at this patch. So I'm despearately looking elsewhere. I do not want to know.

(Github says "it builds with this change")

Your patch has been applied to the master branch.

commit 589cca156357e05c6c3f07517184157585c8e9fc (master) commit dabfebc4731b7cccda36a09eaaa11f912b8a9fde (release/2.6)

Author: Arne Schwabe
Date:   Thu Feb 9 17:31:15 2023 +0100
     Fix LibreSSL not building in Github Actions

     Signed-off-by: Arne Schwabe <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/search?l=mid&[email protected]...
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering