Opened 15 years ago

Closed 15 years ago

#21801 closed defect (fixed)

mesa @7.6 build failure on Tiger

Reported by: touch.ung@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: mesa 7.6 build failure tiger ppc intel Cc: rowue@…, pony777@…, rbubley, dbuldakov@…, McDutchie (Martijn Dekker), ryandesign (Ryan Carsten Schmidt), hamham4001@…, singingwolfboy@…, jjstickel@…, gale@…, danocd@…
Port: mesa

Description

I tried to upgrade mesa on the powerpc Tiger machine (Mac OS X 10.4.11, Xcode 2.5) from 7.4.3_0+darwin_8+hw_render to 7.6 and failed with the following error messages (the complete build log is also attached).

/usr/bin/g++-4.0 -c -I../../../include -Iinclude -Iinternals -Ilibnurbs/internals -Ilibnurbs/interface -Ilibnurbs/nurbtess -ggdb3 -Os -Wall -fno-strict-aliasing -fno-common -I/opt/local/include -I/opt/local/include  -fPIC   -D_DARWIN_C_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DPTHREADS -DGLX_ALIAS_UNSUPPORTED -DGLX_INDIRECT_RENDERING -DNDEBUG -DLIBRARYBUILD libnurbs/nurbtess/searchTree.cc -o libnurbs/nurbtess/searchTree.o
/bin/sh ../../../bin/mklib -o GLU -linker '/usr/bin/g++-4.0' -ldflags '' \
	-major 1 -minor 3 -patch 070600 \
	-cplusplus  -install ../../../lib \
	-exports glu.exports -id /opt/local/lib/libGLU.1.dylib \
	-L../../../lib -lGL libutil/error.o libutil/glue.o libutil/mipmap.o libutil/project.o libutil/quad.o libutil/registry.o libtess/dict.o libtess/geom.o libtess/memalloc.o libtess/mesh.o libtess/normal.o libtess/priorityq.o libtess/render.o libtess/sweep.o libtess/tess.o libtess/tessmono.o libnurbs/interface/bezierEval.o libnurbs/interface/bezierPatch.o libnurbs/interface/bezierPatchMesh.o libnurbs/interface/glcurveval.o libnurbs/interface/glinterface.o libnurbs/interface/glrenderer.o libnurbs/interface/glsurfeval.o libnurbs/interface/incurveeval.o libnurbs/interface/insurfeval.o libnurbs/internals/arc.o libnurbs/internals/arcsorter.o libnurbs/internals/arctess.o libnurbs/internals/backend.o libnurbs/internals/basiccrveval.o libnurbs/internals/basicsurfeval.o libnurbs/internals/bin.o libnurbs/internals/bufpool.o libnurbs/internals/cachingeval.o libnurbs/internals/ccw.o libnurbs/internals/coveandtiler.o libnurbs/internals/curve.o libnurbs/internals/curvelist.o libnurbs/internals/curvesub.o libnurbs/internals/dataTransform.o libnurbs/internals/displaylist.o libnurbs/internals/flist.o libnurbs/internals/flistsorter.o libnurbs/internals/hull.o libnurbs/internals/intersect.o libnurbs/internals/knotvector.o libnurbs/internals/mapdesc.o libnurbs/internals/mapdescv.o libnurbs/internals/maplist.o libnurbs/internals/mesher.o libnurbs/internals/monoTriangulationBackend.o libnurbs/internals/monotonizer.o libnurbs/internals/mycode.o libnurbs/internals/nurbsinterfac.o libnurbs/internals/nurbstess.o libnurbs/internals/patch.o libnurbs/internals/patchlist.o libnurbs/internals/quilt.o libnurbs/internals/reader.o libnurbs/internals/renderhints.o libnurbs/internals/slicer.o libnurbs/internals/sorter.o libnurbs/internals/splitarcs.o libnurbs/internals/subdivider.o libnurbs/internals/tobezier.o libnurbs/internals/trimline.o libnurbs/internals/trimregion.o libnurbs/internals/trimvertpool.o libnurbs/internals/uarray.o libnurbs/internals/varray.o libnurbs/nurbtess/directedLine.o libnurbs/nurbtess/gridWrap.o libnurbs/nurbtess/monoChain.o libnurbs/nurbtess/monoPolyPart.o libnurbs/nurbtess/monoTriangulation.o libnurbs/nurbtess/partitionX.o libnurbs/nurbtess/partitionY.o libnurbs/nurbtess/polyDBG.o libnurbs/nurbtess/polyUtil.o libnurbs/nurbtess/primitiveStream.o libnurbs/nurbtess/quicksort.o libnurbs/nurbtess/rectBlock.o libnurbs/nurbtess/sampleComp.o libnurbs/nurbtess/sampleCompBot.o libnurbs/nurbtess/sampleCompRight.o libnurbs/nurbtess/sampleCompTop.o libnurbs/nurbtess/sampleMonoPoly.o libnurbs/nurbtess/sampledLine.o libnurbs/nurbtess/searchTree.o
mklib: Making Darwin shared library:  libGLU.1.3.dylib
ld: symbols names listed in -exported_symbols_list: glu.exports.darwin not in linked objects
_*gluBeginCurve
_*gluBeginPolygon
_*gluBeginSurface
_*gluBeginTrim
_*gluBuild1DMipmapLevels
_*gluBuild1DMipmaps
_*gluBuild2DMipmapLevels
_*gluBuild2DMipmaps
_*gluBuild3DMipmapLevels
_*gluBuild3DMipmaps
_*gluCheckExtension
_*gluCylinder
_*gluDeleteNurbsRenderer
_*gluDeleteQuadric
_*gluDeleteTess
_*gluDisk
_*gluEndCurve
_*gluEndPolygon
_*gluEndSurface
_*gluEndTrim
_*gluErrorString
_*gluGetNurbsProperty
_*gluGetString
_*gluGetTessProperty
_*gluLoadSamplingMatrices
_*gluLookAt
_*gluNewNurbsRenderer
_*gluNewQuadric
_*gluNewTess
_*gluNextContour
_*gluNurbsCallback
_*gluNurbsCallbackData
_*gluNurbsCallbackDataEXT
_*gluNurbsCurve
_*gluNurbsProperty
_*gluNurbsSurface
_*gluOrtho2D
_*gluPartialDisk
_*gluPerspective
_*gluPickMatrix
_*gluProject
_*gluPwlCurve
_*gluQuadricCallback
_*gluQuadricDrawStyle
_*gluQuadricNormals
_*gluQuadricOrientation
_*gluQuadricTexture
_*gluScaleImage
_*gluSphere
_*gluTessBeginContour
_*gluTessBeginPolygon
_*gluTessCallback
_*gluTessEndContour
_*gluTessEndPolygon
_*gluTessNormal
_*gluTessProperty
_*gluTessVertex
_*gluUnProject
_*gluUnProject4
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
mklib: Installing libGLU.1.3.dylib libGLU.1.dylib libGLU.dylib in ../../../lib
mv: rename libGLU.1.3.dylib to ../../../lib/libGLU.1.3.dylib: No such file or directory
make[4]: *** [../../../lib/libGLU.dylib] Error 1
make[3]: *** [default] Error 1
make[2]: *** [default] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
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/Mesa-7.6" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 " returned error 2
Command output: _*gluPartialDisk
_*gluPerspective
_*gluPickMatrix
_*gluProject
_*gluPwlCurve
_*gluQuadricCallback
_*gluQuadricDrawStyle
_*gluQuadricNormals
_*gluQuadricOrientation
_*gluQuadricTexture
_*gluScaleImage
_*gluSphere
_*gluTessBeginContour
_*gluTessBeginPolygon
_*gluTessCallback
_*gluTessEndContour
_*gluTessEndPolygon
_*gluTessNormal
_*gluTessProperty
_*gluTessVertex
_*gluUnProject
_*gluUnProject4
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
mklib: Installing libGLU.1.3.dylib libGLU.1.dylib libGLU.dylib in ../../../lib
mv: rename libGLU.1.3.dylib to ../../../lib/libGLU.1.3.dylib: No such file or directory
make[4]: *** [../../../lib/libGLU.dylib] Error 1
make[3]: *** [default] Error 1
make[2]: *** [default] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_mesa/work/Mesa-7.6" && /usr/bin/make -j1 default INSTALL_DIR=/opt/local CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 " returned error 2
Command output: _*gluPartialDisk
_*gluPerspective
_*gluPickMatrix
_*gluProject
_*gluPwlCurve
_*gluQuadricCallback
_*gluQuadricDrawStyle
_*gluQuadricNormals
_*gluQuadricOrientation
_*gluQuadricTexture
_*gluScaleImage
_*gluSphere
_*gluTessBeginContour
_*gluTessBeginPolygon
_*gluTessCallback
_*gluTessEndContour
_*gluTessEndPolygon
_*gluTessNormal
_*gluTessProperty
_*gluTessVertex
_*gluUnProject
_*gluUnProject4
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed
mklib: Installing libGLU.1.3.dylib libGLU.1.dylib libGLU.dylib in ../../../lib
mv: rename libGLU.1.3.dylib to ../../../lib/libGLU.1.3.dylib: No such file or directory
make[4]: *** [../../../lib/libGLU.dylib] Error 1
make[3]: *** [default] Error 1
make[2]: *** [default] Error 1
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for mesa): org.macports.destroot org.macports.build
DEBUG: Registry error: perl5 not registered as installed & active.
    while executing
"registry::active $portname"
Error: Unable to upgrade port: 1

Attachments (1)

mesa_7.6_build.log (341.7 KB) - added by touch.ung@… 15 years ago.

Download all attachments as: .zip

Change History (22)

Changed 15 years ago by touch.ung@…

Attachment: mesa_7.6_build.log added

comment:1 Changed 15 years ago by touch.ung@…

It also failed with the same error even after I uninstalled and reinstalled it without variants.

comment:2 Changed 15 years ago by rowue@…

Cc: rowue@… added

Cc Me!

comment:3 Changed 15 years ago by rowue@…

Keywords: intel added

comment:4 Changed 15 years ago by rowue@…

Owner: changed from macports-tickets@… to jeremyhu@…

comment:5 Changed 15 years ago by pony777@…

Cc: pony777@… added

Cc Me!

comment:6 Changed 15 years ago by rbubley

Cc: russ.bubley@… added

Cc Me!

comment:7 Changed 15 years ago by dbuldakov@…

Cc: dbuldakov@… added

Cc Me!

comment:8 Changed 15 years ago by McDutchie (Martijn Dekker)

Cc: martijn@… added

Cc Me!

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

Cc: ryandesign@… hamham4001@… singingwolfboy@… added

Has duplicates #21894 and #21941.

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

Sigh... I wonder if Tiger can be installed on VMWare...

comment:11 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Or even better, if I ignore this, will people upgrade to Leopard or SL? j/k ... kinda...

comment:12 in reply to:  11 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jeremyhu@…:

Sigh... I wonder if Tiger can be installed on VMWare...

Leopard is the earliest version of Mac OS X you can install in VMware Fusion.

Replying to jeremyhu@…:

Or even better, if I ignore this, will people upgrade to Leopard or SL? j/k ... kinda...

If that's the solution you want to employ, feel free to add an OS version check to the port. See the graphviz-gui port for a way to do this. But I think supporting older OSes is still valuable. There are those whose older G4s do not officially support Leopard (I have one of these for testing, and even though I've hacked Leopard onto it, the experience is less wonderful than Tiger) and there are those running servers, where changing the OS of a running server would probably be disastrous and result in significant downtime.

comment:13 Changed 15 years ago by yaseppochi (Stephen J. Turnbull)

There's an easy workaround:

sudo port extract mesa
pushd `port work mesa`/src/glu
sudo sed -i -e 's/¥*//' glu.exports.darwin
popd
sudo port upgrade mesa

Notes: Sorry about the YEN SIGN (if that's what you see), it should be REVERSE SOLIDUS (backslash). If you don't have mesa installed yet, use 'install' instead of 'upgrade' in the port command.

comment:14 Changed 15 years ago by rowue@…

Any suggestions about what causes this problem with libtool (jeremy: did you need furter logs or something else?)

reg's

rolf

comment:15 Changed 15 years ago by McDutchie (Martijn Dekker)

Thanks much to Stephen for the workaround. It worked for me (Tiger on Intel) but not until I changed it as follows:

sudo port extract mesa
pushd `port work mesa`/Mesa-7.6/src/glu/sgi
sudo sed -i~ -e 's/\*//' glu.exports.darwin
popd
sudo port upgrade mesa

comment:16 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I'm just a bit confused. I'm gonna throw Tiger onto an external drive and see what's going on here... it'll take a few days though... so if anyone else feels inclined to find the cause, I'd appreciate it.

comment:17 Changed 15 years ago by jjstickel@…

Cc: jjstickel@… added

Cc Me!

comment:18 Changed 15 years ago by gale@…

Cc: gale@… added

Cc Me!

comment:19 Changed 15 years ago by danocd@…

Cc: danocd@… added

Cc Me!

comment:20 Changed 15 years ago by rowue@…

I had put the result of the sed line above in an patch as workaround. Committed in r59599 (inkl. rev bump)

comment:21 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.