[Bf-committers] Scons building under Ubuntu broken

Sam samit_all at libero.it
Wed Sep 10 16:17:24 CEST 2014


Hi Piotr, I can't replicate it, on my system it just compiles fine and doesn't segfault at startup.
Can you try and change your user-config.py according what install_deps.sh outputs at the end
of the libraries compilation process and check again?

sam





----Messaggio originale----

Da: piotao at inf.ug.edu.pl

Data: 8-set-2014 23.50

A: "Sam"<samit_all at libero.it>, "bf-blender developers"<bf-committers at blender.org>

Ogg: Re: [Bf-committers] Scons building under Ubuntu broken



Yes, indeed Sergey is doing awesome job!
Blender is now compiling, but unfortunately something in oiio is causing SIGSEGV error and Blender dies immediately after startup. I've compiled it using cmake and the same pattern occurs.

Here is tailed (only 10 last lines) strace log:
http://pastebin.com/q4jcyxY5

The system is quite new Linux Mint 17 install, with very fresh Blender checkout done from scratch. Install_deps.sh was also just run. My user-config.py is here:
http://pastebin.com/bfrNPS10

I home somebody can look at this, or, if this is bad place for such reports, point me somewhere when I provide more useful info.

regards
Pio


Piotr Arłukowicz, PhD
University of Gdańsk, Faculty of Mathematics, Physics and Informatics
Division of Artificial Intelligence, Wit Stwosz 57, 80-952 Gdańsk, room 121
phone: +48585232125, University home page: http://inf.ug.edu.pl/~piotao
Also: Polish Blender Course: http://polskikursblendera.pl/ [PL]


2014-09-08 16:14 GMT+02:00 Sam <samit_all at libero.it>:
this commit:

https://developer.blender.org/rBfeba2d3edf25b9c20bdd85d399c8f67123acf680

seems to fix the issue in Ubuntu 14.04.1



I can correctly compile with scons again, thank you, sergey

:)

sam







>----Messaggio originale----

>Da: vicentecarro at gmail.com

>Data: 4-set-2014 10.19

>A: <bf-committers at blender.org>

>Ogg: Re: [Bf-committers] Scons building under Ubuntu broken

>

>Hi again,

>

>Yeah,  I know. What I mean is the scons generation is broken but the

>standard make one is working for me. I don't know if the standard would

>work for me if I launch it in a clear environment but I do know that it

>works after the scons breaks.

>

>Cheers

>

>Vicente

>On 09/03/2014 11:25 PM, Bassam Kurdali wrote:

>> As far as I know you should not have to type "make" after "scons"; scons

>> builds everything for you, you should then have a working executable!

>> Cheers,

>> Bassam

>> On Wed, 2014-09-03 at 23:15 +0200, Sam wrote:

>>>> Same error here (Ubuntu 14.04 64bits).

>>>> Anyway after that error you can do "make" and it will complete the

>>>> compilation successfully. But yes, the scons one is broken (for me too

>>>> at least).

>>>>

>>>> Regards

>>>>

>>>> Vicente

>>> in my case "make" after "scons" doesn't work.

>>> it works if I compile with it from scratch, instead.

>>>

>>>

>>>> Same here, Linux Mint 17, fresh system install:

>>>>

>>>> Linking program ==> 'blender'

>>>> /usr/bin/ld: /home/piotao/blender-git/deps/oiio/lib/libOpenImageIO.so:

>>>> undefined reference to symbol 'dlclose@@GLIBC_2.2.5'

>>>> /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libdl.so:

error

>>>> adding symbols: DSO missing from command line

>>>> collect2: error: ld returned 1 exit status

>>>> scons: *** [/home/piotao/blender-git/build/linux/bin/blender] Error 1

>>>> scons: building terminated because of errors.

>>>>

>>>> Installing libopenimageio-dev from distro also did not help. But after

this

>>>> install, next run of scons did not stop after the linking error, and

>>>> performed regular install of blender, with all deps, scripts, etc. Ofc no

>>>> blender and blenderplayer binary was there.

>>>>

>>>> regards

>>>> pio

>>> I tried to install libopenimage from the repo but the linking issue

remains

>>> the same.

>>> Hope a dev can look into it,

>>>

>>> regards, Sam

>>> _______________________________________________

>>> Bf-committers mailing list

>>> Bf-committers at blender.org

>>> http://lists.blender.org/mailman/listinfo/bf-committers

>>

>> _______________________________________________

>> Bf-committers mailing list

>> Bf-committers at blender.org

>> http://lists.blender.org/mailman/listinfo/bf-committers

>

>_______________________________________________

>Bf-committers mailing list

>Bf-committers at blender.org

>http://lists.blender.org/mailman/listinfo/bf-committers

>





_______________________________________________

Bf-committers mailing list

Bf-committers at blender.org

http://lists.blender.org/mailman/listinfo/bf-committers









More information about the Bf-committers mailing list