blender-2.75 does not compile on Mageia Build System #45300

Closed
opened 2015-07-04 13:23:15 +02:00 by Geiger David · 18 comments

Hi Blender team,

I'm Geiger David alias daviddavid and I'm the maintainer of blender package from the Mageia team.

I can no more compile blender since new 2.75 version :( (that blender 2.74 was built fine)

Here is the full log of blender compile from Build System Mageia:

http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20150704075212.fwang.valstar.17053/log/blender-2.75-1.mga6/build.0.20150704075302.log

And here is the spec file for full build options:

http://svnweb.mageia.org/packages/cauldron/blender/current/SPECS/blender.spec?revision=849889&view=markup

from what could the build issue come?

Thanks in advance.

Hi Blender team, I'm Geiger David alias daviddavid and I'm the maintainer of blender package from the Mageia team. I can no more compile blender since new 2.75 version :( (that blender 2.74 was built fine) Here is the full log of blender compile from Build System Mageia: http://pkgsubmit.mageia.org/uploads/failure/cauldron/core/release/20150704075212.fwang.valstar.17053/log/blender-2.75-1.mga6/build.0.20150704075302.log And here is the spec file for full build options: http://svnweb.mageia.org/packages/cauldron/blender/current/SPECS/blender.spec?revision=849889&view=markup from what could the build issue come? Thanks in advance.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @david.david

Added subscriber: @david.david

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Campbell Barton self-assigned this 2015-07-04 14:01:22 +02:00

Looks like this is caused by collada. SceneExporter.cpp:153:13: error: 'class COLLADASW::InstanceGeometry' has no member named 'setName'

ArchLinux and Debian builds are working, please check which versions of collada they use.

Closing.

Looks like this is caused by collada. `SceneExporter.cpp:153:13: error: 'class COLLADASW::InstanceGeometry' has no member named 'setName'` ArchLinux and Debian builds are working, please check which versions of collada they use. Closing.
Author

So I did more local test and I confirm that this issue come from the onpencollada build option:

I updated opencollada package to the latest upstream opencollada commit and installed it on
my local machine but blender still does not compile I've the same opencollada issue.

0496c150e5

full compile log:
http://pastebin.com/N66q50c8

Also Debian compiles blender without opencollada support because they do not have opencollada in their repos.

Arch linux have an opencollada package but they compiles blender without opencollada support, see
their PKGBUILD section (no '-DWITH_OPENCOLLADA:BOOL=ON' option):

https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/blender

by cons if I compile without opencollada support (-DWITH_OPENCOLLADA:BOOL=OFF) now blender-2.75 built fine.

So for me it is a blender opencollada regression sinc 2.75 version. Please reopen this bug report, thanks.

So I did more local test and I confirm that this issue come from the onpencollada build option: I updated opencollada package to the latest upstream opencollada commit and installed it on my local machine but blender still does not compile I've the same opencollada issue. https://github.com/KhronosGroup/OpenCOLLADA/commit/0496c150e55b01b4cc8c3ca65f6d2a6be0862c73 full compile log: http://pastebin.com/N66q50c8 Also Debian compiles blender without opencollada support because they do not have opencollada in their repos. Arch linux have an opencollada package but they compiles blender without opencollada support, see their PKGBUILD section (no '-DWITH_OPENCOLLADA:BOOL=ON' option): https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/blender by cons if I compile without opencollada support (-DWITH_OPENCOLLADA:BOOL=OFF) now blender-2.75 built fine. So for me it is a blender opencollada regression sinc 2.75 version. Please reopen this bug report, thanks.

ArchLinux do enable OpenCollada, the line -C../build_files/cmake/config/blender_full.cmake

See: https://developer.blender.org/diffusion/B/browse/master/build_files/cmake/config/blender_full.cmake

ArchLinux do enable OpenCollada, the line `-C../build_files/cmake/config/blender_full.cmake` See: https://developer.blender.org/diffusion/B/browse/master/build_files/cmake/config/blender_full.cmake

Added subscriber: @hobbes1069

Added subscriber: @hobbes1069

We're having a similar problem on Fedora...

The error with the checkout in Fedora, 69b844d, the error is:

e/blender/windowmanager -I/builddir/build/BUILD/blender-2.75/source/blender/imbuf -I/builddir/build/BUILD/blender-2.75/intern/guardedalloc -I/builddir/build/BUILD/blender-2.75/source/blender/ikplugin -I/builddir/build/BUILD/blender-2.75/intern/iksolver/extern -I/builddir/build/BUILD/blender-2.75/source/blender/bmesh -isystem /usr/include/COLLADAStreamWriter -isystem /usr/include/COLLADABaseUtils -isystem /usr/include/COLLADAFramework -isystem /usr/include/COLLADASaxFrameworkLoader -isystem /usr/include/GeneratedSaxParser    -o CMakeFiles/bf_collada.dir/SceneExporter.cpp.o -c /builddir/build/BUILD/blender-2.75/source/blender/collada/SceneExporter.cpp
/builddir/build/BUILD/blender-2.75/source/blender/collada/SceneExporter.cpp: In member function 'void SceneExporter::writeNodes(Object*, Scene*)':
/builddir/build/BUILD/blender-2.75/source/blender/collada/SceneExporter.cpp:153:13: error: 'class COLLADASW::InstanceGeometry' has no member named 'setName'
    instGeom.setName(translate_id(id_name(ob)));
             ^
source/blender/collada/CMakeFiles/bf_collada.dir/build.make:566: recipe for target 'source/blender/collada/CMakeFiles/bf_collada.dir/SceneExporter.cpp.o' failed
make[2]: Leaving directory '/builddir/build/BUILD/blender-2.75/cmake-make'
make[2]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/SceneExporter.cpp.o] Error 1

With a checkout of the latest master, 0496c150e55b01b4cc8c3ca65f6d2a6be0862c73, it became:

/builddir/build/BUILD/blender-2.75/source/blender/collada/DocumentExporter.cpp:305:56: error: no matching function for call to 'COLLADASW::Scene::Scene(COLLADASW::StreamWriter*, COLLADASW::URI)'
                                             scene_name));
                                                        ^
In file included from /builddir/build/BUILD/blender-2.75/source/blender/collada/DocumentExporter.cpp:52:0:
/usr/include/COLLADAStreamWriter/COLLADASWScene.h:39:3: note: candidate: COLLADASW::Scene::Scene(COLLADASW::StreamWriter*, COLLADABU::URI, COLLADABU::URI)
   Scene(StreamWriter * streamWriter, COLLADABU::URI instanceVisualSceneURI, COLLADABU::URI instancePhysicsSceneURI)
   ^
/usr/include/COLLADAStreamWriter/COLLADASWScene.h:39:3: note:   candidate expects 3 arguments, 2 provided
/usr/include/COLLADAStreamWriter/COLLADASWScene.h:26:11: note: candidate: COLLADASW::Scene::Scene(const COLLADASW::Scene&)
     class Scene : public ElementWriter
           ^
/usr/include/COLLADAStreamWriter/COLLADASWScene.h:26:11: note:   candidate expects 1 argument, 2 provided
source/blender/collada/CMakeFiles/bf_collada.dir/build.make:192: recipe for target 'source/blender/collada/CMakeFiles/bf_collada.dir/DocumentExporter.cpp.o' failed

We're having a similar problem on Fedora... ``` The error with the checkout in Fedora, 69b844d, the error is: e/blender/windowmanager -I/builddir/build/BUILD/blender-2.75/source/blender/imbuf -I/builddir/build/BUILD/blender-2.75/intern/guardedalloc -I/builddir/build/BUILD/blender-2.75/source/blender/ikplugin -I/builddir/build/BUILD/blender-2.75/intern/iksolver/extern -I/builddir/build/BUILD/blender-2.75/source/blender/bmesh -isystem /usr/include/COLLADAStreamWriter -isystem /usr/include/COLLADABaseUtils -isystem /usr/include/COLLADAFramework -isystem /usr/include/COLLADASaxFrameworkLoader -isystem /usr/include/GeneratedSaxParser -o CMakeFiles/bf_collada.dir/SceneExporter.cpp.o -c /builddir/build/BUILD/blender-2.75/source/blender/collada/SceneExporter.cpp /builddir/build/BUILD/blender-2.75/source/blender/collada/SceneExporter.cpp: In member function 'void SceneExporter::writeNodes(Object*, Scene*)': /builddir/build/BUILD/blender-2.75/source/blender/collada/SceneExporter.cpp:153:13: error: 'class COLLADASW::InstanceGeometry' has no member named 'setName' instGeom.setName(translate_id(id_name(ob))); ^ source/blender/collada/CMakeFiles/bf_collada.dir/build.make:566: recipe for target 'source/blender/collada/CMakeFiles/bf_collada.dir/SceneExporter.cpp.o' failed make[2]: Leaving directory '/builddir/build/BUILD/blender-2.75/cmake-make' make[2]: *** [source/blender/collada/CMakeFiles/bf_collada.dir/SceneExporter.cpp.o] Error 1 ``` With a checkout of the latest master, 0496c150e55b01b4cc8c3ca65f6d2a6be0862c73, it became: ``` /builddir/build/BUILD/blender-2.75/source/blender/collada/DocumentExporter.cpp:305:56: error: no matching function for call to 'COLLADASW::Scene::Scene(COLLADASW::StreamWriter*, COLLADASW::URI)' scene_name)); ^ In file included from /builddir/build/BUILD/blender-2.75/source/blender/collada/DocumentExporter.cpp:52:0: /usr/include/COLLADAStreamWriter/COLLADASWScene.h:39:3: note: candidate: COLLADASW::Scene::Scene(COLLADASW::StreamWriter*, COLLADABU::URI, COLLADABU::URI) Scene(StreamWriter * streamWriter, COLLADABU::URI instanceVisualSceneURI, COLLADABU::URI instancePhysicsSceneURI) ^ /usr/include/COLLADAStreamWriter/COLLADASWScene.h:39:3: note: candidate expects 3 arguments, 2 provided /usr/include/COLLADAStreamWriter/COLLADASWScene.h:26:11: note: candidate: COLLADASW::Scene::Scene(const COLLADASW::Scene&) class Scene : public ElementWriter ^ /usr/include/COLLADAStreamWriter/COLLADASWScene.h:26:11: note: candidate expects 1 argument, 2 provided source/blender/collada/CMakeFiles/bf_collada.dir/build.make:192: recipe for target 'source/blender/collada/CMakeFiles/bf_collada.dir/DocumentExporter.cpp.o' failed ```

Added subscriber: @YorikvanHavre

Added subscriber: @YorikvanHavre

Richard you need a specific commit of opencollada, the latest one indeed doesn't work...

git checkout 3335ac164
Richard you need a specific commit of opencollada, the latest one indeed doesn't work... ``` git checkout 3335ac164 ```

Thanks, that got it! It would be nice if openCOLLADA would start having real version releases.

Thanks, that got it! It would be nice if openCOLLADA would start having real version releases.
Author

Thanks too, now blender-2.75 built fine with opencollada support.

Thanks too, now blender-2.75 built fine with opencollada support.

Added subscriber: @remi-10

Added subscriber: @remi-10

can someone check that https://github.com/KhronosGroup/OpenCOLLADA/pull/340 works for blender build before I merge ?
Please comment directly in the https://github.com/KhronosGroup/OpenCOLLADA/pull/340 thread - thanks

can someone check that https://github.com/KhronosGroup/OpenCOLLADA/pull/340 works for blender build before I merge ? Please comment directly in the https://github.com/KhronosGroup/OpenCOLLADA/pull/340 thread - thanks

Added subscriber: @hasufell

Added subscriber: @hasufell

Since opencollada is not really packagable in that state, gentoo will just drop collada support from blender.

Usually I'm strongly against bundling libraries, which is why I have provided patches to unbundle stuff like eigen3 or lzo in the past. But here, it would probably benefit everyone if you optionally bundle opencollada, until upstream provides actual releases.

Since opencollada is not really packagable in that state, gentoo will just drop collada support from blender. Usually I'm strongly against bundling libraries, which is why I have provided patches to unbundle stuff like eigen3 or lzo in the past. But here, it would probably benefit everyone if you **optionally** bundle opencollada, until upstream provides actual releases.

@hasufell, we're considering dropping open-collada support, (keep limited support for collada as an add-on).
This was discussed at the Blender-conference, but needs to be agreed on via the mailing list.

@hasufell, we're considering dropping open-collada support, (keep limited support for collada as an add-on). This was discussed at the Blender-conference, but needs to be agreed on via the mailing list.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
6 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#45300
No description provided.