Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91570 - compiling k3d 0.4.4.2 doesn't work - python-related error
Summary: compiling k3d 0.4.4.2 doesn't work - python-related error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 99619
  Show dependency tree
 
Reported: 2005-05-05 07:06 UTC by Peter B.
Modified: 2005-11-01 15:42 UTC (History)
1 user (show)

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


Attachments
k3d-0.4.4.2 ebuild (k3d-0.4.4.2.ebuild,1.52 KB, text/plain)
2005-09-24 08:07 UTC, Daniel Fort
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter B. 2005-05-05 07:06:13 UTC
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" -DVERSION=\"0.4.4.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -I. -I. -I../.. -I../../boost -I/usr/include/python2.3 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DK3D_HAVE_SIGC_2_0 -Wall -Wno-ctor-dtor-privacy -march=athlon-xp -O3 -pipe -c object_model.cpp -MT object_model.lo -MD -MP -MF .deps/object_model.TPlo  -fPIC -DPIC -o .libs/object_model.o
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"k3d\" -DVERSION=\"0.4.4.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSIZEOF_VOIDP=4 -DK3D_PLATFORM_POSIX=1 -DK3D_HAVE_X86=1 -DHAVE_VA_COPY=1 -DVA_COPY=va_copy -DHAPY_HAVE_NUMERIC_LIMITS=1 -DHAPY_HAVE_STD_ITERATOR_TYPE=1 -I. -I. -I../.. -I../../boost -I/usr/include/python2.3 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -DK3D_HAVE_SIGC_2_0 -Wall -Wno-ctor-dtor-privacy -march=athlon-xp -O3 -pipe -c engine.cpp -MT engine.lo -MD -MP -MF .deps/engine.TPlo  -fPIC -DPIC -o .libs/engine.o
In file included from /usr/include/python2.3/Python.h:8,
                 from python_macros.h:29,
                 from object_model.h:29,
                 from engine.cpp:38:
/usr/include/python2.3/pyconfig.h:856:1: warning: "_POSIX_C_SOURCE" redefined
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/i686-pc-linux-gnu/bits/os_defines.h:39,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/i686-pc-linux-gnu/bits/c++config.h:35,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3/string:45,
                 from ../../k3dsdk/icommand_node.h:30,
                 from ../../k3dsdk/iapplication.h:28,
                 from ../../k3dsdk/application.h:28,
                 from engine.cpp:27:
/usr/include/features.h:150:1: warning: this is the location of the previous definition
object_model.cpp:283: error: too few template-parameter-lists
object_model.cpp:283: error: expected `,' or `;' before '=' token
object_model.cpp:364: error: too few template-parameter-lists
object_model.cpp:364: error: expected `,' or `;' before '=' token
object_model.cpp:390: error: too few template-parameter-lists
object_model.cpp:390: error: expected `,' or `;' before '=' token
object_model.cpp:646: error: too few template-parameter-lists
object_model.cpp:646: error: expected `,' or `;' before '=' token
object_model.cpp:678: error: too few template-parameter-lists
object_model.cpp:678: error: expected `,' or `;' before '=' token
object_model.cpp:841: error: too few template-parameter-lists
object_model.cpp:841: error: expected `,' or `;' before '=' token
make[2]: *** [object_model.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110,  
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)  
=================================================================  
System uname: 2.6.11-gentoo-r4 i686 AMD Athlon(tm) XP 2500+  
Gentoo Base System version 1.4.16  
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)  
[disabled]  
ccache version 2.3 [disabled]  
dev-lang/python:     2.3.5  
sys-apps/sandbox:    1.2.4  
sys-devel/autoconf:  2.13, 2.59-r6  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5  
sys-devel/binutils:  2.15.92.0.2-r7  
sys-devel/libtool:   1.5.16  
virtual/os-headers:  2.6.8.1-r2  
ACCEPT_KEYWORDS="x86"  
AUTOCLEAN="yes"  
CBUILD="i686-pc-linux-gnu"  
CFLAGS="-march=athlon-xp -O3 -pipe "  
CHOST="i686-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/pam.d /etc/splash /etc/terminfo /etc/env.d"  
CXXFLAGS="-march=athlon-xp -O3 -pipe "  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoaddcvs autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="http://distfiles.gentoo.org  
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"  
LINGUAS="de"  
MAKEOPTS="-j2 -s "  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/myebuilds"  
SYNC="rsync://chekov.bossynet.priv/gentoo-portage"  
USE="x86 3dnow X a52 aac aalib acpi acpi4linux alsa amd apm arts artworkextra  
async atlas audiofile avi bash-completion berkdb bitmap-fonts blender-game  
bluetooth bmp bzip2 bzlib calendar cdda cddb cdf cdparanoia cdr codecs crypt  
css cups curl devmap dga dhcp dict directfb divx4linux dpms dts dv dvd dvdr  
dvdread emboss encode esd exif f2c fam fame fbcon fbdev festival ffmpeg flac  
font-server foomaticdb fortran freetts freetype freetype-version-1 gcj gd gdbm  
ggi gif gimp gimpprint ginac glut gnuplot gphoto2 gpm gs gtk gtk2 ieee1394  
imagemagick imlib jack java joystick jp2 jpeg jpeg2k junit kde kdeenablefinal  
kdepim kdexdeltas ladspa latex lcms ldap libg++ libwww lirc live lm_sensors  
logitech-mouse lzo lzw lzw-tiff mad mbox mbrola mcal mikmod mime mjpeg mmx  
mmx2 mng motif mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer mysql nas ncurses net  
nethack network nls nowin nvidia ogg oggvorbis openal opengl pam pcap pdf  
pdflib perl plotutils png postgres povray ppds pwdb python qt quicktime rar  
rdesktop readline real rplay rtc ruby samba sasl scanner sdl slang slp smime  
sox speex spell sse sse2 ssl subtitles svg svga szip tcltk tcpd tetex tiff  
timidity transcode truetype truetype-fonts type1 type1-fonts usb v4l v4l2 vcd  
vcdimager vdr vim vnc vorbis win32codecs withsamplescripts wmf wsconvert  
x11vnc xanim xfs xine xml xml2 xmlrpc xmms xosd xpm xscreensaver xsl xv xvid  
xvmc yv12 zlib video_cards_nvidia linguas_de userland_GNU kernel_linux  
elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS  
 
 
 
fix_libtool_files.sh before doesn't have any effect 
 
 
Now trying with: media-gfx/k3d   -ruby -python doc 
 
yes, that works
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-05-10 09:29:46 UTC
Not a kde program...
Comment 2 Timothy M. Shead 2005-08-17 20:39:32 UTC
See the 0.4.5.0 ebuild posted in bug 102936
Comment 3 Daniel Fort 2005-09-24 08:07:56 UTC
Created attachment 69168 [details]
k3d-0.4.4.2 ebuild
Comment 4 Daniel Fort 2005-09-24 08:08:28 UTC
It compiles fine on this system--no python errors. You are running distcc, maybe
that's causing the problems?

Attached is the k3d-0.4.4.2 ebuild that I'm using.

--Dan

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6
.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share
/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/shar
e/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/sh
are/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/tex
mf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks fixpackages nostrip sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/
distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 3dnowex X Xaw3d aac aalib alsa apache2 arts avi bash-completion berkd
b bibi bitmap-fonts bonobo cddb cdparanoia cdr crypt cups curl dbd dbread doc dv
 dvb dvd dvdr dvdread edl eds emacs emboss encode esd fam ffmpeg flac foomaticdb
 fortran fpx gd gdbm ggi gif gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gt
khtml hal ieee1394 imagemagick imlib ipv6 jack java javascript jbig jikes jpeg j
unit jython kde kdeenablefinal lcms libgd libgda libwww lirc live lzo lzw lzw-ti
ff mad mailwrapper md5sum mng motif mozilla mp3 mpeg nas ncurses network nls npt
l nptlonly nvidia objc odbc offensive ogg oggvorbis openexr opengl oss pam pcre 
pdflib perl perlsuid pic plotutils png povray ppds python qt quicktime readline 
real rtc ruby scanner sdl slang snmp spell ssl svg tcktk tcltk tcpd test tetex t
ga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocal
es v4l v4l2 vorbis wmf xalsa xanim xine xml2 xmms xpm xprint xv xvid xvmc yv12 z
lib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 5 SpanKY gentoo-dev 2005-11-01 15:42:07 UTC
k3d 0.5.0.33 now in portage