pkgsrc-Bugs archive

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

pkg/38506: pkgsrc/graphics/MesaLib install failure on Solaris



>Number:         38506
>Category:       pkg
>Synopsis:       pkgsrc/graphics/MesaLib install failure on Solaris
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 14:50:00 +0000 2008
>Originator:     Rob Quinn
>Release:        
>Organization:
>Environment:
>Description:
MesaLib fails to install on Solaris.

[...]
usr/ucb/install -d -o root -g root -m 755 /usr/pkg/include/GL
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/lib
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/lib/pkgconfig
/bin/sh: test: argument expected
gmake[2]: *** [install] Error 1
gmake[2]: Leaving directory 
`/usr/obj/pkg/graphics/MesaLib/work/Mesa-7.0.3/src/mesa'
>How-To-Repeat:
[...]
gcc -shared -Wl,-h -Wl,libOSMesa.so.3 -o ../../lib/.libs/libOSMesa.so.3.3.5  
drivers/osmesa/.libs/osmesa.o  
-R/usr/obj/pkg/graphics/MesaLib/work/Mesa-7.0.3/lib/.libs -R/usr/pkg/lib 
-L/usr/obj/pkg/graphics/MesaLib/work/.buildlink/lib 
-L/usr/obj/pkg/graphics/MesaLib/work/.x11-buildlink/lib 
../../lib/.libs/libGL.so -lc  -Wl,-R/usr/pkg/lib -Wl,-R/usr/openwin/lib
(cd ../../lib/.libs && rm -f libOSMesa.so.3 && ln -s libOSMesa.so.3.3.5 
libOSMesa.so.3)
(cd ../../lib/.libs && rm -f libOSMesa.so && ln -s libOSMesa.so.3.3.5 
libOSMesa.so)
ar cru ../../lib/.libs/libOSMesa.a  drivers/osmesa/osmesa.o
ranlib ../../lib/.libs/libOSMesa.a
creating ../../lib/libOSMesa.la
(cd ../../lib/.libs && rm -f libOSMesa.la && ln -s ../libOSMesa.la libOSMesa.la)
gmake[3]: Leaving directory 
`/usr/obj/pkg/graphics/MesaLib/work/Mesa-7.0.3/src/mesa'
sed -e 's,@INSTALL_DIR@,/usr/pkg,' -e 's,@LIB_DIR@,lib,' -e 
's,@VERSION@,7.0.3,' gl.pc.in > gl.pc
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/include/GL
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/lib
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/lib/pkgconfig
/bin/sh: test: argument expected
gmake[2]: *** [install] Error 1
gmake[2]: Leaving directory 
`/usr/obj/pkg/graphics/MesaLib/work/Mesa-7.0.3/src/mesa'
gmake[1]: *** [install] Error 1
gmake[1]: Leaving directory `/usr/obj/pkg/graphics/MesaLib/work/Mesa-7.0.3/src'
gmake: *** [install] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/MesaLib
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/MesaLib


>Fix:
I changed the -e test in the Makefile to -f.



Home | Main Index | Thread Index | Old Index