touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #82437
[Bug 1207340] Re: Fails to build with zlib without --no-as-needed
This won't get fixed as such as Qt3D 2.0 is a rewrite not suffering from
this problem.
** Changed in: qt3d-opensource-src (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to qt3d-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1207340
Title:
Fails to build with zlib without --no-as-needed
Status in qt3d-opensource-src package in Ubuntu:
Won't Fix
Bug description:
g++ -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--as-needed -Wl,--no-undefined -lz -Wl,-O1 -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt53D.so.5 -o libQt53D.so.5.2.0 .obj/release-shared/qglnamespace.o .obj/release-shared/qglabstracteffect.o .obj/release-shared/qglext.o .obj/release-shared/qgllightmodel.o .obj/release-shared/qgllightparameters.o .obj/release-shared/qglpainter.o .obj/release-shared/qglpickcolors.o .obj/release-shared/qmatrix4x4stack.o .obj/release-shared/qglattributedescription.o .obj/release-shared/qglattributeset.o .obj/release-shared/qglattributevalue.o .obj/release-shared/qglindexbuffer.o .obj/release-shared/qglvertexbundle.o .obj/release-shared/qarray.o .obj/release-shared/qcolor4ub.o .obj/release-shared/qcustomdataarray.o .obj/release-shared/qvector2darray.o .obj/release-shared/qvector3darray.o .obj/release-shared/qvector4darray.o .obj/release-shared/qglflatcoloreffect.o .obj/release-shared/qglflattextureeffect.o .obj/release-shared/qgllitmaterialeffect.o .obj/release-shared/qgllittextureeffect.o .obj/release-shared/qglshaderprogrameffect.o .obj/release-shared/qglcolladafxeffect.o .obj/release-shared/qglcolladafxeffectfactory.o .obj/release-shared/qglcolladafxeffectloader.o .obj/release-shared/qglabstractmaterial.o .obj/release-shared/qglcolormaterial.o .obj/release-shared/qglmaterial.o .obj/release-shared/qgltwosidedmaterial.o .obj/release-shared/qglcube.o .obj/release-shared/qglsphere.o .obj/release-shared/qgeometrydata.o .obj/release-shared/qglbuilder.o .obj/release-shared/qglsection.o .obj/release-shared/qglbezierpatches.o .obj/release-shared/qglmaterialcollection.o .obj/release-shared/qglteapot.o .obj/release-shared/qlogicalvertex.o .obj/release-shared/qglcylinder.o .obj/release-shared/qgldome.o .obj/release-shared/qglcamera.o .obj/release-shared/qglcameraanimation.o .obj/release-shared/qglview.o .obj/release-shared/qglmockview.o .obj/release-shared/qbox3d.o .obj/release-shared/qplane3d.o .obj/release-shared/qray3d.o .obj/release-shared/qsphere3d.o .obj/release-shared/qtriangle3d.o .obj/release-shared/qglabstractscene.o .obj/release-shared/qglsceneformatplugin.o .obj/release-shared/qglscenenode.o .obj/release-shared/qglpicknode.o .obj/release-shared/qglrendersequencer.o .obj/release-shared/qglrenderorder.o .obj/release-shared/qglrenderordercomparator.o .obj/release-shared/qglrenderstate.o .obj/release-shared/qglsceneanimation.o .obj/release-shared/qaiscenehandler.o .obj/release-shared/qaiscene.o .obj/release-shared/qaimesh.o .obj/release-shared/qailoader.o .obj/release-shared/ailoaderiosystem.o .obj/release-shared/ailoaderiostream.o .obj/release-shared/3DSConverter.o .obj/release-shared/3DSLoader.o .obj/release-shared/ACLoader.o .obj/release-shared/aiAssert.o .obj/release-shared/ASELoader.o .obj/release-shared/ASEParser.o .obj/release-shared/Assimp.o .obj/release-shared/AssimpPCH.o .obj/release-shared/B3DImporter.o .obj/release-shared/BaseImporter.o .obj/release-shared/BaseProcess.o .obj/release-shared/BlenderDNA.o .obj/release-shared/BlenderLoader.o .obj/release-shared/BlenderModifier.o .obj/release-shared/BlenderScene.o .obj/release-shared/BVHLoader.o .obj/release-shared/CalcTangentsProcess.o .obj/release-shared/COBLoader.o .obj/release-shared/ColladaLoader.o .obj/release-shared/ColladaParser.o .obj/release-shared/ComputeUVMappingProcess.o .obj/release-shared/ConvertToLHProcess.o .obj/release-shared/CSMLoader.o .obj/release-shared/DefaultIOStream.o .obj/release-shared/DefaultIOSystem.o .obj/release-shared/DefaultLogger.o .obj/release-shared/DXFLoader.o .obj/release-shared/FindDegenerates.o .obj/release-shared/FindInstancesProcess.o .obj/release-shared/FindInvalidDataProcess.o .obj/release-shared/FixNormalsStep.o .obj/release-shared/GenFaceNormalsProcess.o .obj/release-shared/GenVertexNormalsProcess.o .obj/release-shared/HMPLoader.o .obj/release-shared/Importer.o .obj/release-shared/ImproveCacheLocality.o .obj/release-shared/IRRLoader.o .obj/release-shared/IRRMeshLoader.o .obj/release-shared/IRRShared.o .obj/release-shared/JoinVerticesProcess.o .obj/release-shared/LimitBoneWeightsProcess.o .obj/release-shared/LWOAnimation.o .obj/release-shared/LWOBLoader.o .obj/release-shared/LWOLoader.o .obj/release-shared/LWOMaterial.o .obj/release-shared/LWSLoader.o .obj/release-shared/MakeVerboseFormat.o .obj/release-shared/MaterialSystem.o .obj/release-shared/MD2Loader.o .obj/release-shared/MD3Loader.o .obj/release-shared/MD5Loader.o .obj/release-shared/MD5Parser.o .obj/release-shared/MDCLoader.o .obj/release-shared/MDLLoader.o .obj/release-shared/MDLMaterialLoader.o .obj/release-shared/MS3DLoader.o .obj/release-shared/NDOLoader.o .obj/release-shared/NFFLoader.o .obj/release-shared/ObjFileImporter.o .obj/release-shared/ObjFileMtlImporter.o .obj/release-shared/ObjFileParser.o .obj/release-shared/OFFLoader.o .obj/release-shared/OgreImporter.o .obj/release-shared/OgreImporterMaterial.o .obj/release-shared/OptimizeGraph.o .obj/release-shared/OptimizeMeshes.o .obj/release-shared/PlyLoader.o .obj/release-shared/PlyParser.o .obj/release-shared/PretransformVertices.o .obj/release-shared/Q3BSPFileImporter.o .obj/release-shared/Q3BSPFileParser.o .obj/release-shared/Q3BSPZipArchive.o .obj/release-shared/Q3DLoader.o .obj/release-shared/RawLoader.o .obj/release-shared/RemoveComments.o .obj/release-shared/RemoveRedundantMaterials.o .obj/release-shared/RemoveVCProcess.o .obj/release-shared/SceneCombiner.o .obj/release-shared/ScenePreprocessor.o .obj/release-shared/SGSpatialSort.o .obj/release-shared/SkeletonMeshBuilder.o .obj/release-shared/SMDLoader.o .obj/release-shared/SortByPTypeProcess.o .obj/release-shared/SpatialSort.o .obj/release-shared/SplitLargeMeshes.o .obj/release-shared/StandardShapes.o .obj/release-shared/STLLoader.o .obj/release-shared/Subdivision.o .obj/release-shared/TargetAnimation.o .obj/release-shared/TerragenLoader.o .obj/release-shared/TextureTransform.o .obj/release-shared/TriangulateProcess.o .obj/release-shared/UnrealLoader.o .obj/release-shared/ValidateDataStructure.o .obj/release-shared/VertexTriangleAdjacency.o .obj/release-shared/XFileImporter.o .obj/release-shared/XFileParser.o .obj/release-shared/ConvertUTF.o .obj/release-shared/irrXML.o .obj/release-shared/ioapi.o .obj/release-shared/unzip.o .obj/release-shared/qglbezierscenehandler.o .obj/release-shared/qglbezierscene.o .obj/release-shared/qdownloadmanager.o .obj/release-shared/qgraphicsbillboardtransform.o .obj/release-shared/qgraphicsrotation3d.o .obj/release-shared/qgraphicsscale3d.o .obj/release-shared/qgraphicstransform3d.o .obj/release-shared/qgraphicstranslation3d.o .obj/release-shared/qareaallocator.o .obj/release-shared/qgltexture2d.o .obj/release-shared/qgltexturecube.o .obj/release-shared/qgltextureutils.o .obj/release-shared/qglabstractsurface.o .obj/release-shared/qglcontextsurface.o .obj/release-shared/qgldrawbuffersurface.o .obj/release-shared/qglframebufferobjectsurface.o .obj/release-shared/qglmaskedsurface.o .obj/release-shared/qglpaintersurface.o .obj/release-shared/qglsubsurface.o .obj/release-shared/qglwindowsurface.o .obj/release-shared/moc_qgllightmodel.o .obj/release-shared/moc_qgllightparameters.o .obj/release-shared/moc_qglabstractmaterial.o .obj/release-shared/moc_qglcolormaterial.o .obj/release-shared/moc_qglmaterial.o .obj/release-shared/moc_qgltwosidedmaterial.o .obj/release-shared/moc_qglmaterialcollection.o .obj/release-shared/moc_qglcamera.o .obj/release-shared/moc_qglcameraanimation.o .obj/release-shared/moc_qglview.o .obj/release-shared/moc_qglmockview.o .obj/release-shared/moc_qglabstractscene.o .obj/release-shared/moc_qglsceneformatplugin.o .obj/release-shared/moc_qglscenenode.o .obj/release-shared/moc_qglpicknode.o .obj/release-shared/moc_qglsceneanimation.o .obj/release-shared/moc_qaiscenehandler_p.o .obj/release-shared/moc_qaiscene_p.o .obj/release-shared/moc_qglbezierscene.o .obj/release-shared/moc_qdownloadmanager.o .obj/release-shared/moc_qgraphicsbillboardtransform.o .obj/release-shared/moc_qgraphicsrotation3d.o .obj/release-shared/moc_qgraphicsscale3d.o .obj/release-shared/moc_qgraphicstransform3d.o .obj/release-shared/moc_qgraphicstranslation3d.o .obj/release-shared/moc_qgltexture2d.o .obj/release-shared/moc_qfactoryloader_p.o .obj/release-shared/moc_qglpainter_p.o .obj/release-shared/moc_qgltexture2d_p.o -L/usr/X11R6/lib64 -lQt5OpenGL -L/usr/lib/x86_64-linux-gnu -lQt5Widgets -lQt5Gui -lQt5Core -lpthread -lQt5Network -L/usr/lib/x86_64-linux-gnu -lQt5Core -lpthread -lGL
.obj/release-shared/BlenderLoader.o: In function `Assimp::BlenderImporter::InternReadFile(std::string const&, aiScene*, Assimp::IOSystem*)':
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/BlenderLoader.cpp:200: undefined reference to `inflateInit2_'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/BlenderLoader.cpp:214: undefined reference to `inflate'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/BlenderLoader.cpp:227: undefined reference to `inflateEnd'
.obj/release-shared/XFileParser.o: In function `Assimp::XFileParser::XFileParser(std::vector<char, std::allocator<char> > const&)':
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/XFileParser.cpp:175: undefined reference to `inflateInit2_'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/XFileParser.cpp:220: undefined reference to `inflate'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/XFileParser.cpp:224: undefined reference to `inflateReset'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/XFileParser.cpp:225: undefined reference to `inflateSetDictionary'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/code/XFileParser.cpp:233: undefined reference to `inflateEnd'
.obj/release-shared/unzip.o: In function `unzReadCurrentFile':
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1332: undefined reference to `crc32'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1359: undefined reference to `inflate'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1368: undefined reference to `crc32'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1368: undefined reference to `crc32'
.obj/release-shared/unzip.o: In function `unzCloseCurrentFile':
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1523: undefined reference to `inflateEnd'
.obj/release-shared/unzip.o: In function `unzOpenCurrentFile3':
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1177: undefined reference to `get_crc_table'
/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed/../../3rdparty/assimp/contrib/unzip/unzip.c:1143: undefined reference to `inflateInit2_'
collect2: error: ld returned 1 exit status
make[3]: *** [../../lib/libQt53D.so.5.2.0] Error 1
make[3]: Leaving directory `/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src/threed'
make[2]: *** [sub-threed-make_first-ordered] Error 2
make[2]: Leaving directory `/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/home/timo/qt5/opt/build-area/qt3d-opensource-src-5.0~git20130731'
dh_auto_build: make -j1 returned exit code 2
make: *** [binary] Error 25
This has been workarounded with the
workaround_zlib_linking_issue.patch by the use of -Wl,--no-as-needed,
but is non-optimal.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qt3d-opensource-src/+bug/1207340/+subscriptions