Subject: x11/xorg-libs: Files fail to install on Slackware 10.2 with
To: None <pkgsrc-users@netbsd.org>
From: Dave Vollenweider <radioguy@uni.edu>
List: pkgsrc-users
Date: 08/05/2006 13:06:52
I have the following problem when trying to install this package:

pkg_create: can't stat `/usr/pkg/xorg/include/X11/extensions/Xdamage.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/extensions/Xfixes.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/extensions/xevieplaceholder.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/bdfint.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/bitmap.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/bufio.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fntfil.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fntfilio.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fntfilst.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontenc.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontencc.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontmisc.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontmod.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontshow.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontutil.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/fontxlfd.h'
pkg_create: can't stat `/usr/pkg/xorg/include/X11/fonts/pcf.h'
pkg_create: can't stat `/usr/pkg/xorg/lib/pkgconfig/xcomposite.pc'
pkg_create: can't stat `/usr/pkg/xorg/lib/pkgconfig/xdamage.pc'
pkg_create: can't stat `/usr/pkg/xorg/lib/pkgconfig/xevie.pc'
pkg_create: can't stat `/usr/pkg/xorg/lib/pkgconfig/xfixes.pc'
pkg_create: can't stat `/usr/pkg/xorg/lib/libXRes.so'
pkg_create: can't stat `/usr/pkg/xorg/lib/libXRes.so.1'

That's not all the files that aren't actually installed, but is a representation of what's happening.

Looking back in the installation process, this is the first error that occurs:

gcc -c -O2  -ansi -Wall -Wpointer-arith -Wundef  -I/usr/pkgsrc/x11/xorg-libs/work/xc/exports/include/X11 -I/usr/pkgsrc/x11/xorg-libs/work/xc/exports/include -I/usr/pkgsrc/x11/xorg-libs/work/xc/lib/X11 -I/usr/pkgsrc/x11/xorg-libs/work/xc/include/extensions
gcc -c -O2  -ansi -Wall -Wpointer-arith -Wundef  -I/usr/pkgsrc/x11/xorg-libs/work/xc/exports/include/X11 -I/usr/pkgsrc/x11/xorg-libs/work/xc/exports/include -I/usr/pkgsrc/x11/xorg-libs/work/xc/lib/X11 -I/usr/pkgsrc/x11/xorg-libs/work/xc/include/extensions
-I/usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/common -I/usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/os-support -I/usr/pkgsrc/x11/xorg-libs/work/xc/extras/drm/shared-core            -I/usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel -I/usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/drivers/via
 -I/usr/pkgsrc/x11/xorg-libs/work/xc -I/usr/pkgsrc/x11/xorg-libs/work/xc/exports/include  -I/usr/pkgsrc/x11/xorg-libs/work/.buildlink/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                              -D_POSIX_SOURCE -D_XOPEN_SOURCE        -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE                             -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DMALLOC_0_RETURNS_NULL -DTRUE=1 -DFALSE=0     -fPIC viaXvMC.c
In file included from /usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/drivers/via/via_drm.h:35,
                 from /usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/drivers/via/via_xvmc.h:29,
                 from viaXvMCPriv.h:34,
                 from viaXvMC.c:34:
/usr/pkgsrc/x11/xorg-libs/work/xc/programs/Xserver/hw/xfree86/drivers/via/via_drmclient.h:28:21: xf86drm.h: No such file or directory

Following this, I get a lot of syntax errors, like this:

In file included from viaXvMC.c:34:
viaXvMCPriv.h:90: error: syntax error before "drmAddress"
viaXvMCPriv.h:90: warning: no semicolon at end of struct or union
viaXvMCPriv.h:91: warning: type defaults to `int' in declaration of `mmioAddress'
viaXvMCPriv.h:91: warning: data definition has no type or storage class
viaXvMCPriv.h:92: error: syntax error before "sAreaAddress"
viaXvMCPriv.h:92: warning: type defaults to `int' in declaration of `sAreaAddress'
viaXvMCPriv.h:92: warning: data definition has no type or storage class
viaXvMCPriv.h:113: error: syntax error before "hwLock"
viaXvMCPriv.h:113: warning: type defaults to `int' in declaration of `hwLock'
viaXvMCPriv.h:113: warning: data definition has no type or storage class
viaXvMCPriv.h:142: error: syntax error before '}' token
viaXvMCPriv.h:142: warning: type defaults to `int' in declaration of `ViaXvMCContext'
viaXvMCPriv.h:142: warning: data definition has no type or storage class
viaXvMCPriv.h:152: error: syntax error before "ViaXvMCContext"
viaXvMCPriv.h:152: warning: no semicolon at end of struct or union
viaXvMCPriv.h:156: error: syntax error before '}' token
viaXvMCPriv.h:156: warning: type defaults to `int' in declaration of `ViaXvMCSubPicture'
viaXvMCPriv.h:156: warning: data definition has no type or storage class
viaXvMCPriv.h:171: error: syntax error before "ViaXvMCContext"
viaXvMCPriv.h:171: warning: no semicolon at end of struct or union
viaXvMCPriv.h:172: warning: type defaults to `int' in declaration of `privSubPic'
viaXvMCPriv.h:172: warning: data definition has no type or storage class
viaXvMCPriv.h:178: error: syntax error before '}' token
viaXvMCPriv.h:178: warning: type defaults to `int' in declaration of `ViaXvMCSurface'
viaXvMCPriv.h:178: warning: data definition has no type or storage class
In file included from viaXvMC.c:35:
viaLowLevel.h:90: error: syntax error before "drmLockPtr"

Is there something I can do to fix this?

- Dave V.