Bug 273410 - devel/zziplib: build fails with Clang 16 when SDL option is enabled
Summary: devel/zziplib: build fails with Clang 16 when SDL option is enabled
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-28 20:13 UTC by Maigurs Stalidzans
Modified: 2023-09-06 20:56 UTC (History)
0 users

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


Attachments
zziplib build log (46.86 KB, text/plain)
2023-08-28 20:13 UTC, Maigurs Stalidzans
no flags Details
poudirere make.conf (493 bytes, text/plain)
2023-08-28 20:14 UTC, Maigurs Stalidzans
no flags Details
poudriere src.conf (431 bytes, text/plain)
2023-08-28 20:15 UTC, Maigurs Stalidzans
no flags Details
installed package list (29.19 KB, text/plain)
2023-08-28 20:16 UTC, Maigurs Stalidzans
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maigurs Stalidzans 2023-08-28 20:13:23 UTC
Created attachment 244432 [details]
zziplib build log

With SDL option disabled builds fine.
uname -a:
FreeBSD 15.0-CURRENT amd64 1500000 main-n265054-97d044bb43d4 VLOCAL amd64
Comment 1 Maigurs Stalidzans 2023-08-28 20:14:38 UTC
Created attachment 244434 [details]
poudirere make.conf
Comment 2 Maigurs Stalidzans 2023-08-28 20:15:18 UTC
Created attachment 244435 [details]
poudriere src.conf
Comment 3 Maigurs Stalidzans 2023-08-28 20:16:02 UTC
Created attachment 244436 [details]
installed package list
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-09-06 03:23:19 UTC
AFAIK, it is caused by Clang 16. It builds fine with older Clang. I'll commit a fix later.
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-09-06 20:55:07 UTC
A commit in branch main references this bug:

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

commit 8b6f11e5cbd6261a380d4ae0d2a7f0840ce669cf
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-09-06 20:50:51 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-09-06 20:50:51 +0000

    devel/zziplib: Fix build with Clang 16

    PR:             273410
    Reported by:    Maigurs Stalidzans <neimsaci@gmx.com>
    Tested on:      14.0-ALPHA4 (amd64 and i386)

 devel/zziplib/files/patch-clang16 (new) | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
Comment 6 Po-Chuan Hsieh freebsd_committer freebsd_triage 2023-09-06 20:56:59 UTC
Committed. Thanks!