pkgsrc-Bugs archive

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

pkg/37907: x11/kdebase3 compilation error on NetBSD 3.0

>Number:         37907
>Category:       pkg
>Synopsis:       x11/kdebase3 compilation error on NetBSD 3.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 29 15:35:00 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15   (pkgsrc current within past 8 hours)
        Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
        When compiling x11/kdebase3 the compiler halts with an
        "incomplete type" error (suggesting probably a structure
        missing from NetBSD 3.0 that exists on 4.0 or -current or something)

        I use pkg_comp with libkver and NetBSD 3.0 sets installed
        (an environment which has compiled all of kde3 many times
        in the past).

        With some recent modifications (quite a while ago now,
        maybe a month, give or take a week or two - I have been
        delaying submitting a PR, expecting this one to just get
        fixed all by itself...) I am seeing:

gmake[4]: Leaving directory 
Making all in naughty
gmake[4]: Entering directory 
/usr/pkg/qt3/bin/moc ./NaughtyProcessMonitor.h -o NaughtyProcessMonitor.moc
/bin/sh ../../../libtool --silent --tag=CXX   --mode=compile c++ 
-DHAVE_CONFIG_H -I. -I../../.. -I/usr/pkg/include -I/usr/pkg/qt3/include 
-I/usr/X11R6/include  -I/usr/pkg/include -I/usr/X11R6/include 
-I/usr/pkg/include/freetype2  -DQT_THREAD_SUPPORT -I/usr/pkg/include 
-I/usr/include -DLDAP_DEPRECATED -I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY 
-I/usr/pkg/include/freetype2 -I/usr/include/krb5 -I/usr/X11R6/include 
-D_LARGE_FILES=1  -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG 
-DNO_DEBUG -O2 -O2 -I/usr/pkg/include -I/usr/include -DLDAP_DEPRECATED 
-I/usr/pkg/qt3/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 
-I/usr/include/krb5 -I/usr/X11R6/include -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL 
-MD -MP -MF .deps/NaughtyProcessMonitor.Tpo -c -o NaughtyProcessMonitor.lo 
In file included from NaughtyProcessMonitor.cpp:25:
/usr/include/sys/proc.h:207: error: field `p_rtime' has incomplete type
gmake[4]: *** [NaughtyProcessMonitor.lo] Error 1
gmake[4]: Leaving directory 
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
gmake: *** [all] Error 2
*** Error code 2

make: stopped in /usr/pkgsrc/x11/kdebase3

        Line 207 of proc.yh in NetBSD 3.0 is ...

        struct timeval  p_rtime;        /* Real time */

        so my guess is that kdebase3 (or NaughtyProcessMonitor.cpp)
        is no longer including <sys/time.h> to get the definition of
        struct timeval.


Home | Main Index | Thread Index | Old Index