Subject: Re: meta-pkgs/xorg on Sparc Solaris
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: pkgsrc-users
Date: 07/12/2006 19:35:40
On Wed, 12 Jul 2006 18:58:04 +0200
Joerg Sonnenberger <joerg@britannica.bec.de> wrote:

> On Wed, Jul 12, 2006 at 05:51:40PM +0100, Raymond Meyer wrote:
> > On Wed, 12 Jul 2006 16:40:46 +0200
> > Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
> > 
> > > On Wed, Jul 12, 2006 at 02:58:42PM +0100, Raymond Meyer wrote:
> > > > At the moment the build fails with x11/xorg-clients:
> > > > 
> > > > making all in programs/xrandr...
> > > > cc -xO4 -xbuiltin=%all -xlibmil -xstrconst -xarch=v8plus -Xa -v  -z
> > > > lazyload -z combreloc -xstrconst -xildoff
> > > > -I/opt/pkg.obj/x11/xorg-clients/work.e450/xc
> > > > -I/opt/pkg.obj/x11/xorg-clients/work.e450/xc/exports/include
> > > > -I/opt/pkg.obj/x11/xorg-clients/work.e450/.buildlink/include -Dsun
> > > > -Dsparc -DSVR4 -D__EXTENSIONS__ -D_LARGEFILE_SOURCE
> > > > -D_FILE_OFFSET_BITS=64 -c  xrandr.c rm -f xrandr
> > > > LD_RUN_PATH=/opt/pkg/xorg/lib cc -o xrandr -xO4 -xbuiltin=%all -xlibmil
> > > > -xstrconst -xarch=v8plus -Xa -v  -z lazyload -z combreloc -xstrconst
> > > > -xildoff  -B direct -M/usr/lib/ld/map.bssalign -M/usr/lib/ld/map.noexstk
> > > > -L/opt/pkg.obj/x11/xorg-clients/work.e450/xc/exports/lib   xrandr.o
> > > > -lXrandr -lXrender -lXext -lX11    -lsocket -lnsl  -L/opt/pkg/lib
> > > > -L/opt/pkg/xorg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/xorg/lib ld:
> > > > fatal: library -lXrandr: not found ld: fatal: library -lXrender: not
> > > > found ld: fatal: File processing errors. No output written to xrandr
> > > > *** Error code 1 make: Fatal error: Command failed for target `xrandr'
> > > > Current working
> > > > directory /opt/pkg.obj/x11/xorg-clients/work.e450/xc/programs/xrandr
> > > > *** Error code 1
> > > 
> > > Yeah, I saw that tonight as well. Just update your source and it should
> > > work again.
> > > 
> > > Joerg
> > 
> > Could you be a bit more specific, what files have been changed to address
> > this error?
> 
> The buildlinks for Xrender and Xrandr. I commited a fix for other
> builtin handling and those two are exceptions to the other Xorg
> components in that they don't exist in xorg-libs.
> 
> Joerg

Thanks, I copied the relevant packages into my existing pkgsrc tree and I can
confirm the error has been fixed. When creating xorg-clients binary package, I
got the following error:

pkg_create: can't stat `/opt/pkg/xorg/bin/dga'
pkg_create: can't stat `/opt/pkg/xorg/man/man1/dga.1x'

So for some reason on Sparc Solaris those files have not been installed. I
don't know what dga is. Is this something not supported on Sparc Solaris?