[Bug 297546] graphics/png 1.6.58 fails to be built with gawk 5.4.1
| Newsgroups | gmane.os.freebsd.devel.ports.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=297546
Bug ID: 297546
Summary: graphics/png 1.6.58 fails to be built with gawk 5.4.1
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: [email protected]
Reporter: [email protected]
Flags: maintainer-feedback?([email protected])
Assignee: [email protected]
Attachment #273785 text/plain
mime type:
Created attachment 273785
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=273785&action=edit
partial build log of png 1.6.58
graphics/png 1.6.58 build fails as attached when lang/gawk 5.4.1 is installed.
It is seccessfully built with lang/gawk 5.4.0 or with the system awk
(i.e. without gawk)
I confirmed this on both FreeBSD 15.0-RELEASE-p12 and 15.1-RELEASE-p2.
The problem can be avoided by just deinstalling gawk 5.4.1
temporarily when one needs to build png.
Or it can be avoided by modifying CMakeLists.txt not to use gawk.
*** CMakeLists.txt.orig Sat Aug 15 16:48:51 2026
--- CMakeLists.txt Sat Aug 15 16:50:29 2026
***************
*** 433,439 ****
# Find an AWK language processor.
# Start with specific AWK implementations like gawk and nawk, which are
# known to work with our scripts, then fall back to the system awk.
! find_program(AWK NAMES gawk nawk awk)
if(AWK)
message(STATUS "Found AWK program: ${AWK}")
else()
--- 433,439 ----
# Find an AWK language processor.
# Start with specific AWK implementations like gawk and nawk, which are
# known to work with our scripts, then fall back to the system awk.
! find_program(AWK NAMES nawk awk)
if(AWK)
message(STATUS "Found AWK program: ${AWK}")
else()
Though these are not favorable solutions...
--
You are receiving this mail because:
You are the assignee for the bug.