Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225109 - media-gfx/blender-2.43-r2 fails to build if only Python 2.5 is installed
Summary: media-gfx/blender-2.43-r2 fails to build if only Python 2.5 is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 178800
  Show dependency tree
 
Reported: 2008-06-06 11:25 UTC by Lori
Modified: 2008-06-25 21:09 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lori 2008-06-06 11:25:47 UTC
If only Python 2.5 is installed blender build will fail with a Python.h not found message. Installing Python 2.4 (as well) solves the issue. Should work with with 2.5 only.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-06 13:19:48 UTC
Your emerge --info, please.
Comment 2 Lori 2008-06-07 17:06:49 UTC
Error:

[...]

Compiling ==> 'makesdna.c'
Compiling ==> 'mallocn.c'
Linking program ==> 'makesdna'
../build/linux2/makesdna /home/portage/media-gfx/blender-2.43-r2/work/build/linux2/source/blender/makesdna/intern/dna.c
Running makesdna at debug level 0
        Program version: $Id: makesdna.c,v 1.24 2006/11/26 12:23:21 ton Exp $
Writing file ... done.
Compiling ==> 'dna.c'
Linking library ==> 'libbf_dna.a'
Compiling ==> 'BPY_interface.c'
source/blender/python/BPY_interface.c:34:20: error: Python.h: No such file or directory
source/blender/python/BPY_interface.c:36:49: error: compile.h: No such file or directory
source/blender/python/BPY_interface.c:37:45: error: eval.h: No such file or directory
In file included from source/blender/python/BPY_interface.c:56:
source/blender/python/api2_2x/constant.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘constant_Type’
[...]

emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Sat, 07 Jun 2008 15:45:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="en_US.UTF-8"
LINGUAS="en en_US es hu ro"
PKGDIR="/usr/portage/packages"
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="/home"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.snt.ipv6.utwente.nl/gentoo-portage"
USE="X a52 aac acl acpi adns alsa bash-completion berkdb bzip2 cairo calendar cddb cdinstall cdparanoia cdr cjk cli cracklib crypt cups curl dbus dri dts dv dvd dvdr dvdread emboss encode evo exif fam fbcon ffmpeg firefox flac fortran ftp gd gdbm geoip ggi gif gimp gnutls gphoto2 gpm gps graphviz gstreamer hal htmlhandbook iconv idn imagemagick imap ipv6 isdnlog jabber java jpeg jpeg2k kde kerberos lame lcms ldap lirc mad matroska mbox midi mikmod mmap mmx mp3 mpeg mplayer msn mudflap musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pcre pdf perl plotutils png posix pppd prelude python qt3 qt3support qt4 quicktime rdesktop readline reflection samba sasl sdl session slp smartcard spell spl sqlite sqlite3 sse sse2 ssl svg symlink tcl tcpd tetex threads tidy tiff tk truetype unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wifi win32codecs x264 x86 xcomposite xine xml xorg xosd xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US es hu ro" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-07 17:12:15 UTC
Thank you.

I'm sure I've seen this before, but it sure isn't bug #152700.
Comment 4 Santiago M. Mola (RETIRED) gentoo-dev 2008-06-20 11:23:54 UTC
@Luca: what about this? is it a Python 2.5 blocker?
Comment 5 Luca Barbato gentoo-dev 2008-06-20 19:08:17 UTC
should be a scons issue, I'll check it by monday (now I'm around Italy and I'm not always on link)
Comment 6 Luca Barbato gentoo-dev 2008-06-22 11:38:02 UTC
the latest blender builds correctly on python-2.5 only system
Comment 7 Santiago M. Mola (RETIRED) gentoo-dev 2008-06-22 11:54:33 UTC
Looking at the dependencies, it doesn't look like we can get a new blender stable any time soon, and current stable will be broken when python 2.5 is stabilized.

Probably you can add a dep on =dev-lang/python-2.4* to media-gfx/blender-2.43-r2 and be done with it.
Comment 8 Luca Barbato gentoo-dev 2008-06-22 12:38:05 UTC
.46 works with the old ffmpeg so it can go stable
.46-r1 works with the newest ffmpeg and it will go ~ once we have everything sorted out (real soon TM) so hopefully blender won't be in the way
Comment 9 Markus Meier gentoo-dev 2008-06-25 21:09:57 UTC
+  25 Jun 2008; Markus Meier <maekke@gentoo.org> blender-2.43-r2.ebuild:
+  does not build with python-2.5, so DEPEND on 2.4, bug #225109

fixed for the moment. I'd still like to see a newer blender version to get stable some time... =)