pkgsrc-Bugs archive

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

pkg/37605: kdebase3 build error with recent sys/proc.h



>Number:         37605
>Category:       pkg
>Synopsis:       kdebase3 build fails on NetBSD-current
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 24 14:15:00 +0000 2007
>Originator:     Bernd Ernesti
>Release:        NetBSD 4.99.44
>Organization:
        
>Environment:
        
        
System: NetBSD 4.99.44
Architecture: i386
Machine: i386
>Description:
        Building kdebase3 fails now:

        cc -DHAVE_CONFIG_H -I. -I../../.. -I./../../CContLib -I./..  
-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  -DNDEBUG -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 -D_GNU_SOURCE -MT ProcessList.o -MD -MP -MF 
.deps/ProcessList.Tpo -c -o ProcessList.o ProcessList.c
        ProcessList.c: In function 'updateProcess':
        ProcessList.c:201: error: 'struct bintime' has no member named 'tv_sec'
        ProcessList.c:201: error: 'struct bintime' has no member named 'tv_usec'
        gmake[4]: *** [ProcessList.o] Error 1

        Maybe a fallout of the change in src/sys/sys/proc.h revision 1.263

>How-To-Repeat:
        cd pkgsrc/x11/kdebase3
        make
>Fix:
        patch-er needs to be updated, but that code has allready a comment
        with a question:
                /* this isn't usertime -- it's total time (??) */
                ps->userTime = 
p.kp_proc.p_rtime.tv_sec*100+p.kp_proc.p_rtime.tv_usec/100;

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index