Subject: Re: meta-pkgs/xorg on Sparc Solaris
To: Raymond Meyer <>
From: Raymond Meyer <>
List: pkgsrc-users
Date: 07/12/2006 23:03:25
Hi, I'm building xorg-server and I encouter the following errors:

rm -f
(cd .; LD_RUN_PATH=/opt/pkg/xorg/lib cc -o ./ -G  -z text -L/opt/pkg/lib -L/opt/pkg/xorg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/xorg/lib  -h bitmap/?*.o fontfile/?*.o fc/?*.o fontcache/?*.o   Type1/?*.o  FreeType/?*.o   util/?*.o -L/opt/pkg.obj/x11/xorg-server/work.e450/xc/exports/lib  -L/opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib -Wl,-R /opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib -lfreetype -lz -lsocket -lm -lc)
ld: elf error: file /opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib: elf_begin: I/O error: region read: Is a directory
ld: fatal: File processing errors. No output written to ./
*** Error code 1

The problem here is the following argument passed to cc:

-Wl,-R /opt/pkg.obj/x11/xorg-server/work.e450/.buildlink/lib

there is a space following -R which breaks things

bmake: don't know how to make /opt/pkg.obj/x11/xorg-server/work.e450/xc/programs/Xserver/hw/xfree86/os-support/libxf86_os.a. Stop

bmake: stopped in /opt/pkg.obj/x11/xorg-server/work.e450/xc/programs/Xserver
*** Error code 2

bmake: stopped in /opt/pkgsrc/x11/xorg-server

I don't know what libxf86_os.a is for and why it doesn't know how to make it. Any ideas?