Bug 284153 - security/liboqs: Fix aarch64 build
Summary: security/liboqs: Fix aarch64 build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL: https://github.com/open-quantum-safe/...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-19 11:36 UTC by Bernard Spil
Modified: 2025-04-20 11:51 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
git diff for security/liboqs. (478 bytes, patch)
2025-01-19 11:36 UTC, Bernard Spil
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Spil freebsd_committer freebsd_triage 2025-01-19 11:36:39 UTC
Created attachment 256795 [details]
git diff for security/liboqs.

On aarch64, liboqs builds and installs the kem_bike.h files (since 0.12.0?), but these are masked by the @comment.

This makes dependent ports fail as another header includes the kem_bike.h leading to a problem.

See https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p7c3dbec016b0_s62e841ccce3/logs/openssl-oqsprovider-0.8.0_1.log

Patch adds the kem_bike header for aarch64 builds.
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-04-20 11:49:08 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a0cc8107915c774f54f87147cb386a8115591180

commit a0cc8107915c774f54f87147cb386a8115591180
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2025-04-20 11:47:21 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2025-04-20 11:47:21 +0000

    security/liboqs: Fix aarch64 build

    PR:             284153
    Approved by:    Maintainer time-out

 security/liboqs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)