[MacPorts] #47418: troubles when installing macport GLC_lib @1.2.0_3
MacPorts
noreply at macports.org
Sat Apr 11 16:59:03 PDT 2015
#47418: troubles when installing macport GLC_lib @1.2.0_3
--------------------------------------+--------------------------------
Reporter: christophe.petit09@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: GLC_lib @1.2.0_3, OpenGL | Port: GLC_lib @1.2.0_3
--------------------------------------+--------------------------------
Hello,
I have problems when trying to install GLC_lib @1.2.0_3 macport on OS X
10.9.5.
Here's the error :
{{{
# port install GLC_lib @1.2.0_3
---> Computing dependencies for GLC_lib
---> Building GLC_lib
Error: org.macports.build for port GLC_lib returned: command execution
failed
Please see the log file for port GLC_lib for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port GLC_lib failed
}}}
and the errors into the log :
{{{
:notice:build ---> Building GLC_lib
:debug:build Executing org.macports.build (GLC_lib)
:debug:build Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
MOC='/opt/local/bin/moc'
PREFIX='/opt/local'
QMAKE='/opt/local/bin/qmake'
QMAKESPEC='macx-g++'
QTDIR='/opt/local'
:debug:build Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0"
&& /usr/bin/make -j8 -w all CC=/usr/bin/clang'
:debug:build Executing command line: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0"
&& /usr/bin/make -j8 -w all CC=/usr/bin/clang
:info:build make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0'
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o
Build/glc_3dviewcollection.o glc_lib/sceneGraph/glc_3dviewcollection.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_material.o
glc_lib/shading/glc_material.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_camera.o
glc_lib/viewport/glc_camera.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_viewport.o
glc_lib/viewport/glc_viewport.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o
Build/glc_settargetmover.o glc_lib/viewport/glc_settargetmover.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_exception.o
glc_lib/glc_exception.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o
Build/glc_openglexception.o glc_lib/glc_openglexception.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o
Build/glc_fileformatexception.o glc_lib/glc_fileformatexception.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_ext.o
glc_lib/glc_ext.cpp
:info:build /usr/bin/clang++ -c -pipe -O2 -arch x86_64 -Xarch_x86_64
-mmacosx-version-min=10.9 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_OPENGL_LIB
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED
-I/opt/local/share/qt4/mkspecs/macx-g++ -Iglc_lib -IBuild
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-Iglc_lib -Iglc_lib/shading
-I/opt/local/Library/Frameworks/QtOpenGL.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/opt/local/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/opt/local/include
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
-I/System/Library/Frameworks/AGL.framework/Headers -I.
-F/opt/local/Library/Frameworks -F/opt/local/lib -o Build/glc_state.o
glc_lib/glc_state.cpp
:info:build In file included from
glc_lib/sceneGraph/glc_3dviewcollection.cpp:28:
:info:build In file included from
glc_lib/sceneGraph/glc_3dviewcollection.h:32:
:info:build In file included from
glc_lib/sceneGraph/glc_3dviewinstance.h:35:
:info:build In file included from
glc_lib/sceneGraph/../geometry/glc_3drep.h:28:
:info:build
glc_lib/sceneGraph/../geometry/../geometry/glc_vbogeom.h:122:9: warning:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build inline const bool containsMaterial(const GLC_uint key)
const
:info:build ^~~~~~
:info:build In file included from glc_lib/shading/glc_material.cpp:28:
:info:build glc_lib/shading/../geometry/glc_vbogeom.h:122:9: warning:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build inline const bool containsMaterial(const GLC_uint key)
const
:info:build ^~~~~~
:info:build In file included from
glc_lib/sceneGraph/glc_3dviewcollection.cpp:28:
:info:build In file included from
glc_lib/sceneGraph/glc_3dviewcollection.h:32:
:info:build glc_lib/sceneGraph/glc_3dviewinstance.h:114:9: warning:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build inline const bool isEmpty() const
:info:build ^~~~~~
:info:build glc_lib/sceneGraph/glc_3dviewinstance.h:118:9: warning:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build inline const bool isSelected(void) const {return
m_IsSelected;}
:info:build ^~~~~~
:info:build glc_lib/viewport/glc_camera.cpp:431:2: error: use of
undeclared identifier 'gluLookAt'
:info:build gluLookAt(m_Eye.X(), m_Eye.Y(), m_Eye.Z(),
:info:build ^
:info:build In file included from
glc_lib/viewport/glc_settargetmover.cpp:26:
:info:build In file included from glc_lib/viewport/glc_viewport.h:31:
:info:build In file included from glc_lib/viewport/glc_imageplane.h:30:
:info:build glc_lib/viewport/../geometry/glc_vbogeom.h:122:9: warning:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build inline const bool containsMaterial(const GLC_uint key)
const
:info:build ^~~~~~
:info:build In file included from glc_lib/viewport/glc_viewport.cpp:28:
:info:build In file included from glc_lib/viewport/glc_viewport.h:31:
:info:build In file included from glc_lib/viewport/glc_imageplane.h:30:
:info:build glc_lib/viewport/../geometry/glc_vbogeom.h:122:9: warning:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
:info:build inline const bool containsMaterial(const GLC_uint key)
const
:info:build ^~~~~~
:info:build glc_lib/shading/glc_material.cpp:459:15: error: use of
undeclared identifier 'gluErrorString'
:info:build errString = gluErrorString(errCode);
:info:build ^
:info:build In file included from glc_lib/viewport/glc_viewport.cpp:33:
:info:build glc_lib/viewport/../sceneGraph/glc_3dviewinstance.h:114:9:
warning: 'const' type qualifier on return type has no effect [-Wignored-
qualifiers]
:info:build inline const bool isEmpty() const
:info:build ^~~~~~
:info:build glc_lib/viewport/../sceneGraph/glc_3dviewinstance.h:118:9:
warning: 'const' type qualifier on return type has no effect [-Wignored-
qualifiers]
:info:build inline const bool isSelected(void) const {return
m_IsSelected;}
:info:build ^~~~~~
:info:build glc_lib/viewport/glc_settargetmover.cpp:84:2: error: use of
undeclared identifier 'gluUnProject'
:info:build gluUnProject((GLdouble) x, (GLdouble)
(m_pViewport->viewVSize() - y) , Depth
:info:build ^
:info:build glc_lib/viewport/glc_viewport.cpp:133:2: error: use of
undeclared identifier 'gluPerspective'
:info:build gluPerspective(m_dFov, AspectRatio, m_dCamDistMin,
m_dCamDistMax);
:info:build ^
:info:build glc_lib/sceneGraph/glc_3dviewcollection.cpp:659:16: error: use
of undeclared identifier 'gluErrorString'
:info:build errString = gluErrorString(errCode);
:info:build ^
:info:build glc_lib/viewport/glc_viewport.cpp:148:2: error: use of
undeclared identifier 'gluPerspective'
:info:build gluPerspective(m_dFov, ratio, m_dCamDistMin,
m_dCamDistMax);
:info:build ^
:info:build 1 error generated.
:info:build glc_lib/sceneGraph/glc_3dviewcollection.cpp:682:16: error: use
of undeclared identifier 'gluErrorString'
:info:build errString = gluErrorString(errCode);
:info:build ^
:info:build make: *** [Build/glc_camera.o] Error 1
:info:build make: *** Waiting for unfinished jobs....
:info:build glc_lib/sceneGraph/glc_3dviewcollection.cpp:828:15: error: use
of undeclared identifier 'gluErrorString'
:info:build errString = gluErrorString(errCode);
:info:build ^
:info:build 1 warning and 1 error generated.
:info:build make: *** [Build/glc_material.o] Error 1
:info:build 1 warning and 1 error generated.
:info:build make: *** [Build/glc_settargetmover.o] Error 1
:info:build 3 warnings and 2 errors generated.
:info:build make: *** [Build/glc_viewport.o] Error 1
:info:build 3 warnings and 3 errors generated.
:info:build make: *** [Build/glc_3dviewcollection.o] Error 1
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0'
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/work/GLC_lib_src_1.2.0"
&& /usr/bin/make -j8 -w all CC=/usr/bin/clang
:info:build Exit code: 2
:error:build org.macports.build for port GLC_lib returned: command
execution failed
:debug:build Error code: CHILDSTATUS 7862 2
:debug:build Backtrace: command execution failed
while executing
"system -nice 0 $fullcmdstring"
("eval" body line 1)
invoked from within
"eval system $notty $nice \$fullcmdstring"
invoked from within
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"portbuild::build_main org.macports.build"
("eval" body line 1)
invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for GLC_lib:
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Please see the log file for port GLC_lib for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_graphics_GLC_lib/GLC_lib/main.log
}}}
I noticed the main errors :
'''
error: use of undeclared identifier 'gluErrorString'
:info:build errString = gluErrorString(errCode);'''
Have I got to install others "OpenGL like" libraries ?
gluErrorString is defined on my machine into :
{{{
# grep -ri gluErrorString /System/Library/Frameworks/OpenGL.framework/
/System/Library/Frameworks/OpenGL.framework//Headers/glu.h:extern const
GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0, 10_9);
Binary file
/System/Library/Frameworks/OpenGL.framework//Libraries/libGLU.dylib
matches
/System/Library/Frameworks/OpenGL.framework//Resources/BridgeSupport/OpenGL.bridgesupport:<function
name='gluErrorString'>
/System/Library/Frameworks/OpenGL.framework//Versions/A/Headers/glu.h:extern
const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0,
10_9);
Binary file
/System/Library/Frameworks/OpenGL.framework//Versions/A/Libraries/libGLU.dylib
matches
/System/Library/Frameworks/OpenGL.framework//Versions/A/Resources/BridgeSupport/OpenGL.bridgesupport:<function
name='gluErrorString'>
/System/Library/Frameworks/OpenGL.framework//Versions/Current/Headers/glu.h:extern
const GLubyte * gluErrorString (GLenum error) OPENGL_DEPRECATED(10_0,
10_9);
Binary file
/System/Library/Frameworks/OpenGL.framework//Versions/Current/Libraries/libGLU.dylib
matches
/System/Library/Frameworks/OpenGL.framework//Versions/Current/Resources/BridgeSupport/OpenGL.bridgesupport:<function
name='gluErrorString'>
}}}
--
Ticket URL: <https://trac.macports.org/ticket/47418>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list