Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23213 closed defect (fixed)

mesa @7.6.1 symbols not found - build failure

Reported by: mwu@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.99
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mesa

Description

Mac Pro 2 x 2.66Ghz Dual-Core Intel Xeon 2Gb Ram OS X 10.6.2 XCode 3.2.1 64 bit

recently ran port selfupdate and Mesa 7.6.1 fails to build due to unresolved symbols.

--->  Building mesa
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/AppleSGLX-59 && /usr/bin/make programs INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2 {RC_CFLAGS="-arch x86_64 -arch i386"} LDFLAGS='-L/opt/local/lib' CFLAGS='-I/opt/local/include -O2' INSTALL_DIR='/opt/local'" returned error 2
Command output:       _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
      _get_visual_attribs in ccGwLCtk.o
  "_glXCreateContext", referenced from:
      _print_screen_info in ccGwLCtk.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/tmp//ccSfejGZ.out (No such file or directory)
make: *** [builds/glxinfo] Error 1

Change History (3)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Keywords: mesa symbols not found unresolved removed
Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
{RC_CFLAGS="-arch x86_64 -arch i386"}

No idea at all why those braces are getting in there, but fixed in r62543.

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

I don't believe r62543 actually fixed it, because I still see the problem when trying to build mesa for i386 on Snow Leopard. I undid r62543 and fixed it differently in r63184. I believe this does actually fix it.

Note: See TracTickets for help on using tickets.