pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56498: "devel/m4" build fails on netbsd-9/sparc



>Number:         56498
>Category:       pkg
>Synopsis:       "devel/m4" build fails on netbsd-9/sparc
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 14 04:05:01 +0000 2021
>Originator:     John D. Baker
>Release:        NetBSD/sparc-9.2_STABLE, pkgsrc-2021Q3
>Organization:
>Environment:
System: NetBSD jean.technoskunk.fur 9.2_STABLE NetBSD 9.2_STABLE (JEAN) #116: Thu Oct 28 02:29:53 CDT 2021  sysop%plex760.technoskunk.fur@localhost:/r0/build/netbsd-9/obj/sparc/sys/arch/sparc/compile/JEAN sparc
Architecture: sparc
Machine: sparc
>Description:
Building "devel/m4" from pkgsrc-2021Q3 on NetBSD/sparc-9.2_STABLE fails
with:

[...]
Making all in lib
--- all ---
/usr/bin/make  all-am
--- ftello.o ---
--- getcwd-lgpl.o ---
  CC       getcwd-lgpl.o
--- ftello.o ---
  CC       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 appears 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
--- getdtablesize.o ---
--- ftello.o ---
ftello.c:133:48: error: 'FILE {aka struct __sFILE}' has no member named '_base'
           if ((fp_->_flag & _IONBF) == 0 && fp_->_base != NULL)
                                                ^~
--- getdtablesize.o ---
  CC       getdtablesize.o
--- ftello.o ---
ftello.c:134:25: error: 'FILE {aka struct __sFILE}' has no member named '_ptr'; did you mean '_p'?
             pos += fp_->_ptr - fp_->_base;
                         ^~~~
                         _p
ftello.c:134:35: error: 'FILE {aka struct __sFILE}' has no member named '_base'
             pos += fp_->_ptr - fp_->_base;
                                   ^~
*** [ftello.o] Error code 1

make[3]: stopped in /d0/build/pkgsrc/devel/m4/work/m4-1.4.19/lib
1 error
[...]

>How-To-Repeat:
See Above.
>Fix:



Home | Main Index | Thread Index | Old Index