Hi, This bug could be related to bug: 276332(http://bugs.gentoo.org/show_bug.cgi?id=276332) I'm trying to emerge blender without the ffmpeg USE flag, this results in build issues: emerge blender Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/blender-2.49a * blender-2.49a.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking blender-2.49a.tar.gz to /var/tmp/portage/media-gfx/blender-2.49a/work >>> Source unpacked in /var/tmp/portage/media-gfx/blender-2.49a/work >>> Preparing source in /var/tmp/portage/media-gfx/blender-2.49a/work/blender-2.49a ... * Applying blender-2.48a-CVE-2008-4863.patch ... [ ok ] * Applying blender-2.37-dirs.patch ... [ ok ] * Applying blender-2.44-scriptsdir.patch ... [ ok ] * Applying blender-2.49a-sys-openjpeg.patch ... [ ok ] * Applying blender-2.49a-bake.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/blender-2.49a/work/blender-2.49a ... >>> Source configured. >>> Compiling source in /var/tmp/portage/media-gfx/blender-2.49a/work/blender-2.49a ... scons: Reading SConscript files ... Command-line arguments No command-line arguments given Command-line targets No targets given, using default Using config file: config/linux2-config.py Using user-config file: user-config.py Build with 3 parallel jobs Building in ../build/linux2/ Configuring library bf_soundsystem Configuring library bf_string Configuring library bf_ghost Configuring library bf_guardedalloc Configuring library bf_bmfont Configuring library bf_moto Configuring library blender_CTR Configuring library bf_memutil Configuring library bf_decimation Configuring library bf_IK Configuring library blender_bop Configuring library blender_ONL Configuring library bf_elbeem Configuring library blender_BSP Configuring library extern_glew Configuring library extern_bullet2linmath Configuring library extern_bullet2dynamics Configuring library extern_bullet2collision_broadphase Configuring library extern_bullet2collision_dispatch Configuring library extern_bullet2collision_gimpact Configuring library extern_bullet2collision_shapes Configuring library extern_bullet2collision_narrowphase Configuring library extern_bullet2softbody Configuring library extern_ftgl Configuring library extern_binreloc Configuring library bf_avi Configuring library bf_blenkernel Configuring library bf_blenlib Configuring library bf_blenloader Configuring library bf_blenpluginapi Configuring library bf_gpu Configuring library bf_imbuf Configuring library bf_cineon Configuring library bf_dna Configuring library blender_radiosity Configuring library bf_readblenfile Configuring library blender_render Configuring library src Configuring library bf_nodes Configuring library bf_cmpnodes Configuring library bf_shdnodes Configuring library bf_texnodes Configuring library blender_python Configuring library bf_yafray Configuring library bf_ftfont Configuring library bf_dds Configuring library bf_openexr Configuring library bf_kernel Configuring library blender_creator Configuring program blender scons: done reading SConscript files. scons: Building targets ... Compiling ==> 'SND_DummyDevice.cpp' cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" Compiling ==> 'SND_AudioDevice.cpp' cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" Compiling ==> 'SND_C-api.cpp' scons: *** [/var/tmp/portage/media-gfx/blender-2.49a/work/build/linux2/intern/SoundSystem/dummy/SND_DummyDevice.o] Error 1 scons: *** [/var/tmp/portage/media-gfx/blender-2.49a/work/build/linux2/intern/SoundSystem/intern/SND_AudioDevice.o] Error 1 cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" cc1plus: error: unrecognized command line option "-fopenmp" scons: *** [/var/tmp/portage/media-gfx/blender-2.49a/work/build/linux2/intern/SoundSystem/intern/SND_C-api.o] Error 1 scons: building terminated because of errors. * * ERROR: media-gfx/blender-2.49a failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2968: Called die * The specific snippet of code: * scons ${MAKEOPTS/-l[0-9]} || die '!!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org'; * The die message: * !!! Please add "${S}/scons.config" when filing bugs reports \ * to bugs.gentoo.org * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-gfx/blender-2.49a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.49a/temp/environment'. *
Created attachment 212513 [details] emerge --info output Attaching emerge --info
http://bugs.gentoo.org/253094 looks more or less the issue to me. Let me try the fix provided there before you spend any time on this issue.
Selecting the right gcc version helps as outlined in Bug: 253094. To change the gcc version use gcc-config: # gcc-config -l [1] i686-pc-linux-gnu-4.1.2 * [2] i686-pc-linux-gnu-4.3.4 # gcc-config -f i686-pc-linux-gnu-4.3.4 * Switching native-compiler to i686-pc-linux-gnu-4.3.4 ... >>> Regenerating /etc/ld.so.cache... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * # source /etc/profile # gcc-config -l [1] i686-pc-linux-gnu-4.1.2 [2] i686-pc-linux-gnu-4.3.4 * *** This bug has been marked as a duplicate of bug 253094 ***