pkgsrc-Bugs archive

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

pkg/54633: graphics/MesaLib build failure on Solaris 11.3



>Number:         54633
>Category:       pkg
>Synopsis:       graphics/MesaLib build failure on Solaris 11.3
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 21 14:50:00 +0000 2019
>Originator:     Joern Clausen
>Release:        
>Organization:
Bielefeld University
>Environment:
>Description:
With the recent update to Meson 0.52, compilation of graphics/MesaLib now get a little bit further on Solaris 11.3:

FAILED: src/glx/libGL.so.1.2.0 
gcc  -o src/glx/libGL.so.1.2.0  -I/opt/pkg-hrz/20191004/include -I/opt/pkg-hrz/20191004/include/libdrm -I/usr/include -L/opt/pkg-hrz/20191004/lib -L/usr/lib/amd64 -z defs -shared -fPIC -Wl,--start-group -Wl,-soname,libGL.so.1 -Wl,--whole-archive src/glx/libglx.a -Wl,--no-whole-archive -O2 -D_FORTIFY_SOURCE=2 -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS -lsocket -lnsl -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/usr/lib/amd64 src/mapi/glapi/libglapi_static.a src/mapi/shared-glapi/libglapi.so.0.0.0 src/loader/libloader.a src/util/libmesa_util.a src/util/libxmlconfig.a -Wl,--gc-sections -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libdrm.so -lm -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libX11.so -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libxcb-glx.so -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libxcb.so /opt/pkg-hrz/20191004/lib/libX11-xcb.so -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libX
 ext.so -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libXfixes.so /opt/pkg-hrz/20191004/lib/libXdamage.so -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libz.so -Wl,-R/opt/pkg-hrz/20191004/lib /opt/pkg-hrz/20191004/lib/libexpat.so -Wl,--end-group -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib -Wl,-R/opt/pkg-hrz/20191004/lib '-Wl,-rpath,$ORIGIN/../mapi/glapi:$ORIGIN/../mapi/shared-glapi'
Undefined                       first referenced
 symbol                             in file
XF86VidModeGetModeLine              src/glx/libglx.a(glxcmds.c.o)
XF86VidModeQueryVersion             src/glx/libglx.a(glxcmds.c.o)


According to XF86VidModeGetModeLine(3), the linker should pull in -lXxf86vm (for both functions), which it doesn't do. The package x11/libXxf86vm providing this library is installed.

graphics/MesaLib/Makefile is a *little* bit to convoluted for me to suggest a fix...

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index