pkgsrc-Bugs archive

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

pkg/47862: graphics/MesaLib fails to build on NetBSD 6.0/amd64



>Number:         47862
>Category:       pkg
>Synopsis:       graphics/MesaLib fails to build on NetBSD 6.0/amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 28 07:55:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compilation of graphics/MesaLib on NetBSD 6.0/amd64 fails with

mklib: Making NetBSD shared library:  libGL.so.1.2
ld: ../../../../src/mapi/glapi/libglapi.a(glapi_x86-64.o): relocation 
R_X86_64_PC32 against symbol `_glapi_Dispatch' can not be used when making a 
shared object; recompile with -fPIC
ld: final link failed: Bad value
mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../../../lib
mv: rename libGL.so.1.2 to ../../../../lib/libGL.so.1.2: No such file or 
directory

...

mklib: Making NetBSD shared library:  libOSMesa.so.7.11.0
ld: ../../../../src/mapi/glapi/libglapi.a(glapi_x86-64.o): relocation 
R_X86_64_PC32 against symbol `_glapi_Dispatch' can not be used when making a 
shared object; recompile with -fPIC
ld: final link failed: Bad value
mklib: Installing libOSMesa.so.7.11.0 libOSMesa.so.7 libOSMesa.so in 
../../../../lib
mv: rename libOSMesa.so.7.11.0 to ../../../../lib/libOSMesa.so.7.11.0: No such 
file or directory

...

mklib: Making NetBSD shared library:  libGLw.so.1.0.0
ld: cannot find -lGL
mklib: Installing libGLw.so.1.0.0 libGLw.so.1 libGLw.so in ../../lib
mv: rename libGLw.so.1.0.0 to ../../lib/libGLw.so.1.0.0: No such file or 
directory


I have defined "PKG_OPTIONS.MesaLib = -dri" in my mk.conf, although I don't 
expect this to make any difference.

I saw some discussion about similar problems on pkgsrc-changes, but didn't 
follow them closely.
>How-To-Repeat:

>Fix:




Home | Main Index | Thread Index | Old Index