Opened 12 years ago

Closed 10 years ago

#38294 closed defect (fixed)

mesa @8.0.4, Revision 2 +iglx Compiler error - build failure

Reported by: lpe540@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: mesa

Description

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.

Attachments (2)

mesa_build.log (435.8 KB) - added by lpe540@… 12 years ago.
build log
iglx.patch (1.1 KB) - added by zpeeters@… 11 years ago.
Updates iglx.patch to include -lxcb-glx

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by lpe540@…

Attachment: mesa_build.log added

build log

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: mesa xcb removed
Owner: changed from macports-tickets@… to jeremyhu@…
Port: mesa added

Changed 11 years ago by zpeeters@…

Attachment: iglx.patch added

Updates iglx.patch to include -lxcb-glx

comment:2 Changed 11 years ago by zpeeters@…

That symbol is in libxcb-glx.dylib, part of xorg-libxcb. I've updated iglx.patch to include -lxcb-glx.

comment:3 Changed 10 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

Sorry this slipped through the cracks. r120264

Note: See TracTickets for help on using tickets.