pkgsrc-Bugs archive

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

pkg/41556: x11/modular-xorg-server compilation errors NetBSD 4.0



>Number:         41556
>Category:       pkg
>Synopsis:       x11/modular-xorg-server compilation errors NetBSD 4.0
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 08 06:40:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        The recent modular-xorg-server seems to depend upon NetBSD
        kernel definitions not available with NetBSD 4.0

>How-To-Repeat:
        I use pkg_comp with NetBSD 4.0 release sets installed,
        and libkver to obtain a NetBSD 4.0 environment  I doubt
        any of that is rleevant here.

        Attempting to build x11/modular-xorg-server under NetBSD 4.0
        fails as ...

 cc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../hw/xfree86 
-I../../../../hw/xfree86/include -I../../../../hw/xfree86/common 
-I../../../../hw/xfree86/os-support -I../../../../hw/xfree86/os-support/bus 
-I../../../../os 
-I/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/.buildlink/include 
-I/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/.buildlink/include/freetype2 
-DUSESTDRES -DHAVE_XORG_CONFIG_H -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN 
-DHAS_STICKY_DIR_BIT -D_REENTRANT 
-I/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/.buildlink/include/pixman-1 
-I../../../../Xext -I../../../../composite -I../../../../damageext 
-I../../../../xfixes -I../../../../Xi -I../../../../mi 
-I../../../../miext/shadow -I../../../../miext/damage -I../../../../render 
-I../../../../randr -I../../../../fb -O2 -MT bsd_kqueue_apm.lo -MD -MP -MF 
.deps/bsd_kqueue_apm.Tpo!
  -c ./bsd_kqueue_apm.c  -fPIC -DPIC -o .libs/bsd_kqueue_apm.o
./bsd_kqueue_apm.c: In function 'bsdPMGetEventFromOS':
./bsd_kqueue_apm.c:100: warning: implicit declaration of function 
'APM_EVENT_TYPE'
./bsd_kqueue_apm.c:100: warning: nested extern declaration of 'APM_EVENT_TYPE'
./bsd_kqueue_apm.c:100: error: 'APM_NOEVENT' undeclared (first use in this 
function)
./bsd_kqueue_apm.c:100: error: (Each undeclared identifier is reported only once
./bsd_kqueue_apm.c:100: error: for each function it appears in.)
./bsd_kqueue_apm.c: In function 'xf86OSPMOpen':
./bsd_kqueue_apm.c:172: warning: assignment makes integer from pointer without 
a cast
gmake[5]: *** [bsd_kqueue_apm.lo] Error 1
gmake[5]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/xorg-server-1.6.1.901/hw/xfree86/os-support/bsd'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/xorg-server-1.6.1.901/hw/xfree86/os-support'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/xorg-server-1.6.1.901/hw/xfree86'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/xorg-server-1.6.1.901/hw/xfree86'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/x11/modular-xorg-server/4x/xorg-server-1.6.1.901/hw'
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/modular-xorg-server
*** Error code 1


>Fix:



Home | Main Index | Thread Index | Old Index