pkgsrc-Bugs archive

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

pkg/41609: graphics/glu build fails on MacOS X 10.4.11 (PPC)



>Number:         41609
>Category:       pkg
>Synopsis:       graphics/glu build fails on MacOS X 10.4.11 (PPC)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 17 14:10:01 +0000 2009
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11 (PPC), pkgsrc-current (pre-2009Q2)
>Organization:
>Environment:
Darwin g4gbe.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
Building "graphics/glu" fails as follows:

[...]
g++ -dynamiclib ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o 
../../../lib/.libs/libGLU.1.0.3.dylib  libutil/.libs/error.o 
libutil/.libs/glue.o libutil/.libs/mipmap.o libutil/.libs/project.o 
libutil/.libs/quad.o libutil/.libs/registry.o libtess/.libs/dict.o 
libtess/.libs/geom.o libtess/.libs/memalloc.o libtess/.libs/mesh.o 
libtess/.libs/normal.o libtess/.libs/priorityq.o libtess/.libs/render.o 
libtess/.libs/sweep.o libtess/.libs/tess.o libtess/.libs/tessmono.o 
libnurbs/interface/.libs/bezierEval.o libnurbs/interface/.libs/bezierPatch.o 
libnurbs/interface/.libs/bezierPatchMesh.o 
libnurbs/interface/.libs/glcurveval.o libnurbs/interface/.libs/glinterface.o 
libnurbs/interface/.libs/glrenderer.o libnurbs/interface/.libs/glsurfeval.o 
libnurbs/interface/.libs/incurveeval.o libnurbs/interface/.libs/insurfeval.o 
libnurbs/internals/.libs/arc.o libnurbs/internals/.libs/arcsorter.o 
libnurbs/internals/.libs/arctess.o libnurbs/internals/.libs/backend.o 
libnurbs/internals/.libs/basi
 ccrveval.o libnurbs/internals/.libs/basicsurfeval.o 
libnurbs/internals/.libs/bin.o libnurbs/internals/.libs/bufpool.o 
libnurbs/internals/.libs/cachingeval.o libnurbs/internals/.libs/ccw.o 
libnurbs/internals/.libs/coveandtiler.o libnurbs/internals/.libs/curve.o 
libnurbs/internals/.libs/curvelist.o libnurbs/internals/.libs/curvesub.o 
libnurbs/internals/.libs/dataTransform.o libnurbs/internals/.libs/displaylist.o 
libnurbs/internals/.libs/flist.o libnurbs/internals/.libs/flistsorter.o 
libnurbs/internals/.libs/hull.o libnurbs/internals/.libs/intersect.o 
libnurbs/internals/.libs/knotvector.o libnurbs/internals/.libs/mapdesc.o 
libnurbs/internals/.libs/mapdescv.o libnurbs/internals/.libs/maplist.o 
libnurbs/internals/.libs/mesher.o 
libnurbs/internals/.libs/monoTriangulationBackend.o 
libnurbs/internals/.libs/monotonizer.o libnurbs/internals/.libs/mycode.o 
libnurbs/internals/.libs/nurbsinterfac.o libnurbs/internals/.libs/nurbstess.o 
libnurbs/internals/.libs/patch.o libnurbs/internals/.
 libs/patchlist.o libnurbs/internals/.libs/quilt.o 
libnurbs/internals/.libs/reader.o libnurbs/internals/.libs/renderhints.o 
libnurbs/internals/.libs/slicer.o libnurbs/internals/.libs/sorter.o 
libnurbs/internals/.libs/splitarcs.o libnurbs/internals/.libs/subdivider.o 
libnurbs/internals/.libs/tobezier.o libnurbs/internals/.libs/trimline.o 
libnurbs/internals/.libs/trimregion.o libnurbs/internals/.libs/trimvertpool.o 
libnurbs/internals/.libs/uarray.o libnurbs/internals/.libs/varray.o 
libnurbs/nurbtess/.libs/directedLine.o libnurbs/nurbtess/.libs/gridWrap.o 
libnurbs/nurbtess/.libs/monoChain.o libnurbs/nurbtess/.libs/monoPolyPart.o 
libnurbs/nurbtess/.libs/monoTriangulation.o 
libnurbs/nurbtess/.libs/partitionX.o libnurbs/nurbtess/.libs/partitionY.o 
libnurbs/nurbtess/.libs/polyDBG.o libnurbs/nurbtess/.libs/polyUtil.o 
libnurbs/nurbtess/.libs/primitiveStream.o libnurbs/nurbtess/.libs/quicksort.o 
libnurbs/nurbtess/.libs/rectBlock.o libnurbs/nurbtess/.libs/sampleComp.o 
libnurbs/nurbtess/
 .libs/sampleCompBot.o libnurbs/nurbtess/.libs/sampleCompRight.o 
libnurbs/nurbtess/.libs/sampleCompTop.o 
libnurbs/nurbtess/.libs/sampleMonoPoly.o libnurbs/nurbtess/.libs/sampledLine.o 
libnurbs/nurbtess/.libs/searchTree.o  
-L/Volumes/d0/build/pkgsrc/graphics/glu/work/.buildlink/lib 
-L/Volumes/d0/build/pkgsrc/graphics/glu/work/.x11-buildlink/lib 
/Volumes/d0/build/pkgsrc/graphics/glu/work/.buildlink/lib/libGL.dylib 
/Volumes/d0/build/pkgsrc/graphics/glu/work/.buildlink/lib/libX11.dylib 
/Volumes/d0/build/pkgsrc/graphics/glu/work/.buildlink/lib/libXext.dylib -lm  
-install_name  /usr/pkg/lib/libGLU.1.dylib -compatibility_version 2 
-current_version 2.3 -Wl,-single_module 
-Wl,-exported_symbols_list,../../../lib/.libs/libGLU-symbols.expsym
ld: symbols names listed in -exported_symbols_list: 
../../../lib/.libs/libGLU-symbols.expsym 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
_       mgluBeginCurve
_       mgluBeginPolygon
_       mgluBeginSurface
_       mgluBeginTrim
_       mgluBuild1DMipmapLevels
_       mgluBuild1DMipmaps
_       mgluBuild2DMipmapLevels
_       mgluBuild2DMipmaps
_       mgluBuild3DMipmapLevels
_       mgluBuild3DMipmaps
_       mgluCheckExtension
_       mgluCylinder
_       mgluDeleteNurbsRenderer
_       mgluDeleteQuadric
_       mgluDeleteTess
_       mgluDisk
_       mgluEndCurve
_       mgluEndPolygon
_       mgluEndSurface
_       mgluEndTrim
_       mgluErrorString
_       mgluGetNurbsProperty
_       mgluGetString
_       mgluGetTessProperty
_       mgluLoadSamplingMatrices
_       mgluLookAt
_       mgluNewNurbsRenderer
_       mgluNewQuadric
_       mgluNewTess
_       mgluNextContour
_       mgluNurbsCallback
_       mgluNurbsCallbackData
_       mgluNurbsCallbackDataEXT
_       mgluNurbsCurve
_       mgluNurbsProperty
_       mgluNurbsSurface
_       mgluOrtho2D
_       mgluPartialDisk
_       mgluPerspective
_       mgluPickMatrix
_       mgluProject
_       mgluPwlCurve
_       mgluQuadricCallback
_       mgluQuadricDrawStyle
_       mgluQuadricNormals
_       mgluQuadricOrientation
_       mgluQuadricTexture
_       mgluScaleImage
_       mgluSphere
_       mgluTessBeginContour
_       mgluTessBeginPolygon
_       mgluTessCallback
_       mgluTessEndContour
_       mgluTessEndPolygon
_       mgluTessNormal
_       mgluTessProperty
_       mgluTessVertex
_       mgluUnProject
_       mgluUnProject4
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit 
command failed
gmake[5]: *** [../../../lib/libGLU.so] Error 1
gmake[5]: Leaving directory 
`/Volumes/d0/build/pkgsrc/graphics/glu/work/Mesa-7.4.2/src/glu/sgi'
gmake[4]: *** [default] Error 1
gmake[4]: Leaving directory 
`/Volumes/d0/build/pkgsrc/graphics/glu/work/Mesa-7.4.2/src/glu/sgi'
gmake[3]: *** [default] Error 1
gmake[3]: Leaving directory 
`/Volumes/d0/build/pkgsrc/graphics/glu/work/Mesa-7.4.2/src/glu'
gmake[2]: *** [subdirs] Error 1
gmake[2]: Leaving directory 
`/Volumes/d0/build/pkgsrc/graphics/glu/work/Mesa-7.4.2/src'
gmake[1]: *** [default] Error 1
gmake[1]: Leaving directory 
`/Volumes/d0/build/pkgsrc/graphics/glu/work/Mesa-7.4.2'
gmake: *** [pkgsrc] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/graphics/glu
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/glu
*** Error code 1
[...]
>How-To-Repeat:
Attempt to build graphics/glu (or any package that causes it to be build
as a dependency) on MacOS X 10.4.11 [PPC (intel?)]

>Fix:
I've seen something similar before, where an exported symbol listing
contained symbols of the form:

  _<TAB>symbolname

and GNU ld (for PPC at least) doesn't use or grok leading '_' on symbols,
so complained it couldn't find those symbols.

This looks like another instance.  Need to find the step at which the
list is generated and strip the leading "_\t" from each line.



Home | Main Index | Thread Index | Old Index