[MacPorts] #38294: mesa @8.0.4, Revision 2 +iglx Compiler error - build failure
#38294: mesa @8.0.4, Revision 2 +iglx Compiler error - build failure -----------------------+-------------------------------- Reporter: lpe540@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: mesa, xcb | Port: -----------------------+-------------------------------- Using the command {{{ sudo port -v install mesa +iglx }}} I'm getting an undefined symbol "_xcb_glx_client_info" when trying to compile the libGL.dylib library. {{{ mklib: Making Darwin shared library: libGL.1.dylib Undefined symbols for architecture x86_64: "_xcb_glx_client_info", referenced from: ___glX_send_client_info in clientinfo.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} Perhaps a red herring, but worth noting is that creating libglx.a archive also does not seem to work. ranlib is complaining that none of the compiled objects have symbols. {{{ mklib: Making Darwin static library: libglx.a ar: creating archive libglx.a /usr/bin/ranlib: file: libglx.a(xfont.o) has no symbols /usr/bin/ranlib: file: libglx.a(drisw_glx.o) has no symbols }}} (That's just a small snip, see attached log for the full list of missing objects) I'm running on OSX 10.8.2, using mac port version 2.1.3. The version of mesa I have is mesa @8.0.4, Revision 2 (x11, graphics). clang++ version -- Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn) I just installed mac ports yesterday so it's pretty vanilla. -- Ticket URL: <https://trac.macports.org/ticket/38294> MacPorts <http://www.macports.org/> Ports system for OS X
#38294: mesa @8.0.4, Revision 2 +iglx Compiler error - build failure -----------------------+------------------------ Reporter: lpe540@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: mesa | -----------------------+------------------------ Changes (by ryandesign@…): * keywords: mesa, xcb => * owner: macports-tickets@… => jeremyhu@… * port: => mesa -- Ticket URL: <https://trac.macports.org/ticket/38294#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38294: mesa @8.0.4, Revision 2 +iglx Compiler error - build failure -----------------------+------------------------ Reporter: lpe540@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: mesa | -----------------------+------------------------ Comment (by zpeeters@…): That symbol is in libxcb-glx.dylib, part of xorg-libxcb. I've updated iglx.patch to include -lxcb-glx. -- Ticket URL: <https://trac.macports.org/ticket/38294#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38294: mesa @8.0.4, Revision 2 +iglx Compiler error - build failure -----------------------+------------------------ Reporter: lpe540@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: mesa | -----------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Sorry this slipped through the cracks. r120264 -- Ticket URL: <https://trac.macports.org/ticket/38294#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts