pkgsrc-Bugs archive

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

pkg/40198: www/amaya compile errors (modular xorg, NetBSD 4.0) .. again

>Number:         40198
>Category:       pkg
>Synopsis:       www/amaya compile errors (modular xorg, NetBSD 4.0) .. again
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 16 10:55:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE  (pkgsrc current within past 4 hours)
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        Attempting to build www/amaya on a NetBSD 4.0 system without
        the 4.0 x sets, but with X11_TYPE=modular (modular xorg)
        bombs with a compilation errro (redefinition of __intptr_t)

        I use pkg_comp with NetBSD 4.0 (release) sets istalled, except the
        X sets (none of those), with libkver simulating a 4.0 execution
        environment, and X11_TYPE=modular to get pkgsrc's modular xorg.

        Aside (perhaps) from NetBSD 4 (rather than 5_BETA or current)
        I doubt any of the above is relevant to this error.

        When building, we eventually get to ...

gmake[1]: Leaving directory 
gmake[1]: Entering directory 
c++ -O2 -Dunix -fno-strict-aliasing -I/usr/pkg/include 
-I/usr/pkg/include/freetype2 -I/usr/include -Wall -x c++ -D__cplusplus -D_UNIX 
-D_GL -D_WX -DHAVE_CONFIG_H -I.. -I../../amaya/xpm -I../../thotlib/include 
-I../../thotlib/internals/var -I../../thotlib/internals/h 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread -I/usr/include   
-I/usr/pkg/include/freetype2 -I/usr/pkg/include  -c 
../../thotlib/base/AmayaAppInstance.cpp -o base/AmayaAppInstance.o
../../thotlib/include/thot_sys.h:257: error: conflicting declaration 'typedef 
long int __intptr_t'
/usr/include/machine/int_types.h:65: error: '__intptr_t' has a previous 
declaration as 'typedef int __intptr_t'
gmake[1]: *** [base/AmayaAppInstance.o] Error 1
gmake[1]: Leaving directory 
gmake: *** [all] Error 1
*** Error code 2

make: stopped in /usr/pkgsrc/www/amaya

        Remove the typedef ??   Apps shouldn't be providing their own
        __*_t types, should they?

Home | Main Index | Thread Index | Old Index