port test or make reinstall .. /tmp/ports/usr/ports/graphics/ogre3d/work/ogre_src_v1-8-1/RenderSystems/GL/src/glew.cpp:11933: warning: cast from type 'const GLboolean*' to type 'GLboolean*' casts away constness Linking CXX shared library ../../lib/libOgreRTShaderSystem.so [ 96%] Built target OgreRTShaderSystem Linking CXX shared library ../../lib/RenderSystem_GL.so [ 96%] Built target RenderSystem_GL 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/graphics/ogre3d. *** [install] Error code 1 Stop in /usr/ports/graphics/ogre3d. *** [reinstall] Error code 1 Stop in /usr/ports/graphics/ogre3d. How-To-Repeat: In FreeBSD_Ports ezjail have not installed textproc/tinyxml In normall FreeBSD is installed tinyxml-2.6.2_1
Responsible Changed From-To: freebsd-ports-bugs->oliver Over to maintainer (via the GNATS Auto Assign Tool)
State Changed From-To: open->feedback I tried several different ways but I'm not able to reproduce this. Please guide me how to reproduce this error
I cannot reproduce this either on FreeBSD 9.1-STABLE #9 r246825 -- Regards, Gary J. Hayers gary@hayers.org PGP Signature http://www.hayers.org/pgp
tinyxml-2.6.2_1 is the problem In file included from /ports/graphics/ogre3d/work/ogre_src_v1-8-1/Tools/XMLConverter/src/tinyxml.cpp:32: /usr/local/include/tinyxml.h:29:1: warning: "TIXML_USE_STL" redefined <command-line>: warning: this is the location of the previous definition /ports/graphics/ogre3d/work/ogre_src_v1-8-1/Tools/XMLConverter/src/tinyxml.cpp:37: error: no 'void TiXmlBase::PutString(const std::string&, std::string*)' member function declared in class 'TiXmlBase' /ports/graphics/ogre3d/work/ogre_src_v1-8-1/Tools/XMLConverter/src/tinyxml.cpp: In member function 'TiXmlNode* TiXmlNode::LinkEndChild(TiXmlNode*)': /ports/graphics/ogre3d/work/ogre_src_v1-8-1/Tools/XMLConverter/src/tinyxml.cpp:175: error: 'DOCUMENT' is not a member of 'TiXmlNode' etc.
Thanks Martin Dieringer Yes i can now build graphics/ogre3d after delete with pkg delete tinyxml-2.6.2_1 usr/ports/graphics/ogre3d ; make install ... -- Removed runtime path from "/usr/local/bin/OgreMeshUpgrader" -- Installing: /usr/local/lib/OGRE/cmake/FindOIS.cmake -- Installing: /usr/local/lib/OGRE/cmake/FindOGRE.cmake -- Installing: /usr/local/lib/OGRE/cmake/FindPkgMacros.cmake -- Installing: /usr/local/lib/OGRE/cmake/MacroLogFeature.cmake -- Installing: /usr/local/lib/OGRE/cmake/PreprocessorUtils.cmake -- Installing: /usr/local/lib/OGRE/cmake/PrecompiledHeader.cmake -- Installing: /usr/local/lib/OGRE/cmake/OgreAddTargets.cmake -- Installing: /usr/local/lib/OGRE/cmake/OgreConfigTargets.cmake -- Installing: /usr/local/lib/OGRE/cmake/OgreGetVersion.cmake -- Installing: /usr/local/lib/OGRE/cmake/OgreFindFrameworks.cmake ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for ogre3d-1.8.1 Installing ogre3d-1.8.1... done ===>>> Creating a package for new version ogre3d-1.8.1 ===>>> Package saved to /usr/ports/packages/All ===>>> Installation of graphics/ogre3d (ogre3d-1.8.1) complete
Author: oliver Date: Wed May 22 19:34:18 2013 New Revision: 318792 URL: http://svnweb.freebsd.org/changeset/ports/318792 Log: add patch file to fix building in case textproc/tinyxml is installed on the system PR: 175763 Added: head/graphics/ogre3d/files/patch-Tools_XMLConverter_CMakeLists.txt (contents, props changed) Added: head/graphics/ogre3d/files/patch-Tools_XMLConverter_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/ogre3d/files/patch-Tools_XMLConverter_CMakeLists.txt Wed May 22 19:34:18 2013 (r318792) @@ -0,0 +1,10 @@ +--- Tools/XMLConverter/CMakeLists.txt.orig 2013-05-21 20:52:22.000000000 +0200 ++++ Tools/XMLConverter/CMakeLists.txt 2013-05-21 20:52:22.000000000 +0200 +@@ -27,6 +27,7 @@ + src/tinyxmlparser.cpp + ) + ++set (CMAKE_INCLUDE_DIRECTORIES_BEFORE ON) + include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include) + add_definitions(-DTIXML_USE_STL) + ogre_add_executable(OgreXMLConverter ${HEADER_FILES} ${SOURCE_FILES}) _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed this issue got fixed. ogre will now build even if textproc/tinyxml is installed on the system