View previous topic :: View next topic |
Author |
Message |
fuchedjiev n00b

Joined: 04 Oct 2011 Posts: 5
|
Posted: Tue Oct 04, 2011 8:29 pm Post subject: Problem to re-compile Blender |
|
|
Hi ALL !
I have a problem to re-compile Blender -2.49b-r2
You can see the log from that crash.
[code]
cat /var/tmp/portage/media-gfx/blender-2.49b-r2/temp/build.log
* Package: media-gfx/blender-2.49b-r2
* Repository: gentoo
* Maintainer: lu_zero@gentoo.org graphics@gentoo.org
* USE: amd64 elibc_glibc ffmpeg kernel_linux multilib nls ogg openal openmp userland_GNU
....
....
source/blender/src/buttons_scene.c:2731:9: error: incompatible types when assigning to type 'float' from type 'const union <anonymous>'
source/blender/src/buttons_scene.c: In function 'run_playanim':
source/blender/src/buttons_scene.c:1674:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result
scons: *** [/var/tmp/portage/media-gfx/blender-2.49b-r2/work/build/linux2/source/blender/src/buttons_scene.o] Error 1
source/blender/src/fluidsim.c: In function 'fluidsimBake':
source/blender/src/fluidsim.c:1008:10: warning: unused variable 'val'
source/blender/src/fluidsim.c:1007:19: warning: unused variable 'event'
scons: building terminated because of errors.
* ERROR: media-gfx/blender-2.49b-r2 failed (compile phase):
* !!! Please add "${S}/scons.config" when filing bugs reports \
* to bugs.gentoo.org
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 4810: 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';
*
* If you need support, post the output of 'emerge --info =media-gfx/blender-2.49b-r2',
* the complete build log and the output of 'emerge -pqv =media-gfx/blender-2.49b-r2'.
* The complete build log is located at '/var/tmp/portage/media-gfx/blender-2.49b-r2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-gfx/blender-2.49b-r2/temp/environment'.
* S: '/var/tmp/portage/media-gfx/blender-2.49b-r2/work/blender-2.49b'
[/code]
Anyone with ideas ?
There is info for my PC.
[code]
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 x86_64)
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5670_@_1.80GHz-with-gentoo-2.0.3
[/code]
[code]
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
#CFLAGS="-O2 -pipe -ggdb"
#CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
#CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
#USE="mmx sse sse2"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j8"
USE="3dnow X a52 aac acl acpi aim alsa ao apm autoipd avahi bidi bindist
bluetooth bzip2 cairo caps cdda cddb cdparanoia cdr cgi consolekit
cracklib crypt css cups curl db2 dbase dbi dbm dbus dbx dga directfb djvu
dri dts dvd dvdr encode enscript exif extras fbcon ffmpeg fftw firebird
firefox flac fontconfig foomaticdb ftp gcj gd gdu geoip gif gimp ginac
glut gmp gnutls gpm gps graphviz gsl gstreamer gtk gtkhtml gzip hardened
hddtemp hdf5 hscolour icu idn ieee1394 imagemagick imap imlib innodb
interbase iodbc jack jbig jingle jpeg jpeg2k kolab ladspa lame lapack
lash latex lcms libwww lm_sensors lzma lzo m17n-lib mad matroska mhash
mime minimal mms mmx mng modules mozilla mp3 mp4 mpeg mplayer msql mssql
multilib musepack mysqli networkmanager nls oci8 odbc ofx ogg openal
openexr opengl openmp pam pda pdf png policykit ppds qt4 quicktime raw
rdesktop sound spell sqlite sqlite3 ssesse2 ssl svg sybasesybase-ct
syslog szip theora threads tiff truetype udev unicode usb vorbis wavpack
wifi win32codecs wmf x264 xml xmp xosd xpm xv xvid xvmc zeroconf zlib
-aalib -accessibility -afs -apache2 -berkdb -branding -bsf -canna -chasen
-cjk -clamav -cscope -cvs -debug -dedicated -doc -dv -dvb -eds -emacs
-evo -examples -freewnn -gd-external -ggi -gnome -gnome-keyring -gnuplot
-gnustep -gphoto2 -gsm -handbook -infiniband -ios -ipod -ipv6 -java
-java6 -joystick -kde -kerberos -ldap -lirc -matrox -migemo -mikmod -mono
-mysql -neXt -netboot -nntp -old-linux -openldap -oracle -postgres -samba
-subversion -test -weather"
VIDEO_CARDS="fbdev nouveau"
INPUT_DEVICES="evdev keyboard mouse"
LINGUAS="bg en_US"
FEATURES="ccache parallel-fetch"
CCACHE_SIZE="3G"
CCACHE_DIR="/var/tmp/ccache"
EMERGE_DEFAULT_OPTS="-av --jobs=6"
GENTOO_MIRRORS="http://ftp.gentoo.bg/ ftp://mirrors.telepoint.bg/gentoo/"
SYNC="rsync://rsync.at.gentoo.org/gentoo-portage"
[/code]
Thanks in advance |
|
Back to top |
|
 |
krinn Watchman


Joined: 02 May 2003 Posts: 7471
|
Posted: Tue Oct 04, 2011 9:24 pm Post subject: |
|
|
drop ccache and retry |
|
Back to top |
|
 |
gsoe Apprentice

Joined: 10 Dec 2006 Posts: 289 Location: Denmark
|
Posted: Wed Oct 05, 2011 6:11 am Post subject: |
|
|
I have the same problem without ccache.
Code: | emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0/desktop/kde, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5400+-with-gentoo-2.0.3
Timestamp of tree: Wed, 05 Oct 2011 05:15:01 +0000
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.1-r1, 3.1.3-r1
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc: 2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA PUEL skype-eula dlj-1.1 googleearth AdobeFlash-10 AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -msse3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -march=k8 -msse3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://distfiles.gentoo.org"
LANG="da_DK.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="da"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30"
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"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acpi additions alsa apng berkdb bitmap-fonts bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups curl cxx dbus declarative divx dri dts dvd dvdr embedded emboss encode exif extras fam ffmpeg firefox firefox3 flac fortran gcj gd gdbm gdu gif gnutls gpm gtk hpcups iconv icu intl ipv6 java jpeg kde kipi kpathsea lcms ldap libnotify libwww live lm_sensors mad mmx mng modules mp3 mp4 mpeg mplayer mudflap mule mysql mysqli ncurses nls npp nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qt3support qt4 readline samba scanner sdl semantic-desktop session slang smbkrb5passwd snmp soap spell sql sse sse2 ssl startup-notification stream svg sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb vorbis vxwindows webkit win32codecs wma wmp x264 x86 xcb xcomposite xinerama xml xmlrpc xorg xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa radeon radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
|
|
|
Back to top |
|
 |
fuchedjiev n00b

Joined: 04 Oct 2011 Posts: 5
|
Posted: Wed Oct 05, 2011 6:48 am Post subject: |
|
|
krinn wrote: | drop ccache and retry |
Hi krinn
I drop ccache, and try again, but no success ;(
Same crash.
I have a problem to re-compile Wine too.
Code: |
make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-1.2.3/work/wine64/dlls/mshtml'
make: Leaving directory `/var/tmp/portage/app-emulation/wine-1.2.3/work/wine64'
emake failed
* ERROR: app-emulation/wine-1.2.3 failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 3279: Called die
* The specific snippet of code:
* emake -C "${builddir}" all || die;
*
* If you need support, post the output of 'emerge --info =app-emulation/wine-1.2.3',
* the complete build log and the output of 'emerge -pqv =app-emulation/wine-1.2.3'.
* The complete build log is located at '/var/tmp/portage/app-emulation/wine-1.2.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/wine-1.2.3/temp/environment'.
* S: '/var/tmp/portage/app-emulation/wine-1.2.3/work/wine-1.2.3'
|
|
|
Back to top |
|
 |
gsoe Apprentice

Joined: 10 Dec 2006 Posts: 289 Location: Denmark
|
Posted: Wed Oct 05, 2011 7:10 am Post subject: |
|
|
Ahh... have a look at bug 384239 and 374339 |
|
Back to top |
|
 |
radio_flyer Guru


Joined: 04 Nov 2004 Posts: 318 Location: Northern California
|
Posted: Wed Oct 05, 2011 3:57 pm Post subject: |
|
|
Have a look at this thread:
https://forums.gentoo.org/viewtopic-t-879991-highlight-blender.html
I did the same thing koan did--I put 'media-gfx/blender -ffmpeg' in /etc/portage/package.use, and then it compiles and runs OK. There is a patch floating around out there if you really need ffmpeg, but you'll have to backport to 2.49 yourself. |
|
Back to top |
|
 |
malto n00b


Joined: 10 Feb 2011 Posts: 20 Location: KSA
|
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|