pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/57425: gettext-tools build errors out on >= 2023Q1 for sparc
>Number: 57425
>Category: pkg
>Synopsis: gettext-tools build errors out on >= 2023Q1 for sparc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 20 19:25:00 +0000 2023
>Originator: Brandon Applegate
>Release: 9.3 / 9.0_2023Q1
>Organization:
>Environment:
NetBSD qemu.internal.burn.net 9.3 NetBSD 9.3 (GENERIC.MP) #0: Thu Aug 4 15:30:37 UTC 2022 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc/compile/GENERIC.MP sparc
>Description:
Trying to build gettext-tools on sparc on 9.0_2023Q1 or newer (I just tried a cvs pull the other day - same issue) results in it erroring out. It builds fine on 9.0_2022Q4 however.
I have more information in this mailing list post I made:
https://mail-index.netbsd.org/pkgsrc-users/2023/05/12/msg037280.html
If you read that message - you will see 2 links of other folks (however running macOS / fink / brew) which seem to be hitting the same issue.
I was actually trying to build bash - of which gettext-tools was pulled in as a depend. I believe gettext-tools is a depend on many things - so I would imagine this will cause many packages to fail to build.
The file causing this seems to be ftello.c. Here is a snippet/beginning of the error:
gettext-tools/work/.buildlink/include -O2 -D_FORTIFY_SOURCE=2 -c ftello.c -fPIC -DPIC -o .libs/
ftello.o
ftello.c: In function 'rpl_ftello':
ftello.c:122:12: error: 'FILE {aka struct __sFILE}' has no member named '_flag'; did you mean '_
flags'?
if (fp_->_flag & _IOWRT)
^~~~~
_flags
ftello.c:122:20: error: '_IOWRT' undeclared (first use in this function); did you mean '_IOFBF'?
if (fp_->_flag & _IOWRT)
^~~~~~
_IOFBF
ftello.c:122:20: note: each undeclared identifier is reported only once for each function it app
ears in
ftello.c:133:21: error: 'FILE {aka struct __sFILE}' has no member named '_flag'; did you mean '_
flags'?
if ((fp_->_flag & _IONBF) == 0 && fp_->_base != NULL)
^~~~~
_flags
>How-To-Repeat:
Attempt build of gettext-tools on sparc on pkgsrc 9.0_2023Q1 or later.
>Fix:
Home |
Main Index |
Thread Index |
Old Index