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" scons: *** [/var/tmp/portage/media-gfx/blender-2.49a/work/build/linux2/intern/SoundSystem/dummy/SND_DummyDevice.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 3257: Called die * The specific snippet of code: * scons ${MAKEOPTS/-l[0-9]} || die '!!! Please add "${S}/scons.config" Reproducible: Always Steps to Reproduce: 1.emerge media-gfx/blender 2. 3. Actual Results: emerge failed
Always provide emerge --info
(In reply to comment #1) > Always provide emerge --info >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> shen ~ # emerge --info Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r8 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r8-i686-Intel-R-_Pentium-R-_Dual_CPU_E2160_@_1.80GHz-with-gentoo-1.12.13 Timestamp of tree: Mon, 04 Jan 2010 20:00:01 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 1.3.7, 2.1.9-r1 dev-lang/python: 2.4.4-r9, 2.5.2-r7, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.0.1-r6 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.archermind.com/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.100.197/gentoo-portage" USE="X acl alsa apache2 avi berkdb bzip2 cairo cdr cli consolekit cracklib crypt cups curl cxx dbus dri dvd dvdr eds emboss-arts encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv immqt-bc ipv6 jpeg kde ldap mad mikmod modules mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime rdesktop readline reflection samba sdl session spell spl sqlite ssl sysfs tcpd truetype unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa i180 s3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
please attach the complete build log and output of `emerge -pv blender`
(In reply to comment #3) > please attach the complete build log and output of `emerge -pv blender` > (1) build log >>> 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 1 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" scons: *** [/var/tmp/portage/media-gfx/blender-2.49a/work/build/linux2/intern/SoundSystem/dummy/SND_DummyDevice.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 3248: 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'. * (2) output of emerge -pv blender These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] media-gfx/blender-2.49a USE="nls openmp -blender-game -ffmpeg -ogg -openal -verse" 0 kB
your emerge --info shows that your using sys-devel/gcc-4.1 (which doesn't yet support openmp), but blender depends on gcc being built with openmp support. so you should select the right compiler via gcc-config (at least gcc-4.2) to be able to emerge blender with USE="openmp".
(In reply to comment #5) > your emerge --info shows that your using sys-devel/gcc-4.1 (which doesn't yet > support openmp), but blender depends on gcc being built with openmp support. so > you should select the right compiler via gcc-config (at least gcc-4.2) to be > able to emerge blender with USE="openmp". ==========================================> It is okay now. Thanks a lot for your advice, and have a nice day:-)