pkgsrc-Bugs archive

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

pkg/30377: lang/nhc98 doesn't compile



>Number:         30377
>Category:       pkg
>Synopsis:       lang/nhc98 doesn't compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 30 13:35:00 +0000 2005
>Originator:     Magnus Henoch
>Release:        NetBSD 3.99.3
>Organization:
        
>Environment:
        
        
System: NetBSD zemdatav 3.99.3 NetBSD 3.99.3 (IBOOKFAN) #19: Tue May 24 
13:38:27 CEST 2005 magnus@zemdatav:/usr/src/sys/arch/macppc/compile/IBOOKFAN 
macppc
Architecture: powerpc
Machine: macppc
>Description:
        lang/nhc98 (version 1.18, revision 1) fails to compile on
        -current NetBSD/powerpc, with the following output:

cd BinArray; /usr/pkg/bin/gmake fromC
gmake[2]: Entering directory 
`/usr/pkgsrc/lang/nhc98/work/nhc98-1.18/src/prelude/BinArray'
cc -c -I/usr/pkgsrc/lang/nhc98/work/nhc98-1.18/include -DHIGH_BYTE_FIRST 
-I../Binary -o 
/usr/pkgsrc/lang/nhc98/work/nhc98-1.18/targets/powerpc-NetBSD/obj/prelude/BinArray/cLowUnboxedArray.o
 cLowUnboxedArray.c
In file included from /usr/include/machine/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from cLowUnboxedArray.c:2:
/usr/include/sys/endian.h:68: error: `__uint32_t' redeclared as different kind 
of symbol
/usr/include/powerpc/int_types.h:51: error: previous declaration of `__uint32_t'
/usr/include/sys/endian.h:70: error: parse error before "__uint32_t"
/usr/include/sys/endian.h:70: error: conflicting types for `__uint32_t'
/usr/include/sys/endian.h:68: error: previous declaration of `__uint32_t'
In file included from /usr/include/machine/endian.h:3,
                 from /usr/include/sys/types.h:98,
                 from /usr/include/stdlib.h:41,
                 from cLowUnboxedArray.c:2:
/usr/include/sys/endian.h:223: error: parse error before "__uint32_t"
/usr/include/sys/endian.h: In function `be32enc':
/usr/include/sys/endian.h:225: error: `buf' undeclared (first use in this 
function)
/usr/include/sys/endian.h:225: error: (Each undeclared identifier is reported 
only once
/usr/include/sys/endian.h:225: error: for each function it appears in.)
/usr/include/sys/endian.h:227: error: `u' undeclared (first use in this 
function)
/usr/include/sys/endian.h: At top level:
/usr/include/sys/endian.h:234: error: parse error before "__uint32_t"
/usr/include/sys/endian.h: In function `le32enc':
/usr/include/sys/endian.h:236: error: `buf' undeclared (first use in this 
function)
/usr/include/sys/endian.h:238: error: `u' undeclared (first use in this 
function)
/usr/include/sys/endian.h: At top level:
/usr/include/sys/endian.h:245: error: conflicting declarations of `__uint32_t'
/usr/include/sys/endian.h:70: error: `__uint32_t' previously declared here
/usr/include/sys/endian.h:245: error: parse error before "be32dec"
/usr/include/sys/endian.h:253: error: parse error before "le32dec"
/usr/include/sys/endian.h: In function `be64enc':
/usr/include/sys/endian.h:265: error: called object is not a function
/usr/include/sys/endian.h:266: error: called object is not a function
/usr/include/sys/endian.h: In function `le64enc':
/usr/include/sys/endian.h:274: error: called object is not a function
/usr/include/sys/endian.h:275: error: called object is not a function
In file included from /usr/include/stdlib.h:41,
                 from cLowUnboxedArray.c:2:
/usr/include/sys/types.h: At top level:
/usr/include/sys/types.h:132: error: parse error before "blksize_t"
/usr/include/sys/types.h:156: error: parse error before "dev_t"
/usr/include/sys/types.h:157: error: parse error before "fixpt_t"
/usr/include/sys/types.h:164: error: parse error before "id_t"
/usr/include/sys/types.h:165: error: parse error before "ino_t"
/usr/include/sys/types.h:173: error: parse error before "nlink_t"
In file included from cLowUnboxedArray.c:2:
/usr/include/stdlib.h:259: error: parse error before "__mode_t"
/usr/include/stdlib.h:260: error: parse error before "getdevmajor"
gmake[2]: *** 
[/usr/pkgsrc/lang/nhc98/work/nhc98-1.18/targets/powerpc-NetBSD/obj/prelude/BinArray/cLowUnboxedArray.o]
 Error 1
gmake[2]: Leaving directory 
`/usr/pkgsrc/lang/nhc98/work/nhc98-1.18/src/prelude/BinArray'
gmake[1]: *** [BinArray.fromC] Error 2
gmake[1]: Leaving directory `/usr/pkgsrc/lang/nhc98/work/nhc98-1.18/src/prelude'
gmake: *** [targets/powerpc-NetBSD/prelude-gcc] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/lang/nhc98
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/lang/nhc98/work/.work.log
===>
*** Error code 1


>How-To-Repeat:
        cd /usr/pkgsrc/lang/nhc98
        make
        
>Fix:
        

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index