I obtain this output emerging it: building '_amanith' extension --swig-cpp is deprecated - use --swig-opts=-c++ swigging amanith.i to amanith_wrap.cpp swig -python -c++ -Ichanges/include -Iinclude -I/usr/include -o amanith_wrap.cpp amanith.i ownership.i:7: Error: Syntax error in input. /usr/include/amanith/geometry/gvect.h:141: Warning(389): operator[] ignored (consider using %extend) /usr/include/amanith/geometry/gvect.h:146: Warning(389): operator[] ignored (consider using %extend) [...cut] typemaps.i:96: Warning(453): Can't apply (Amanith::GPixelMap &INOUT). No typemaps are defined. /usr/include/amanith/geometry/gvect.h:81: Warning(509): Overloaded Amanith::GVectBase<(GReal,2)>(Amanith::GReal const &,Amanith::GReal const &) is shadowed by Amanith::GVectBase<(GReal,2)>() at /usr/include/amanith/geometry/gvect.h:67. [...cut] /usr/include/amanith/geometry/gvect.h:322: Warning(509): Overloaded Amanith::GPoint<(GReal,4)>(Amanith::GReal const &,Amanith::GReal const &,Amanith::GReal const &,Amanith::GReal const &) is shadowed by Amanith::GPoint<(GReal,4)>() at /usr/include/amanith/geometry/gvect.h:297. changes/include/amanith/geometry/gaxisangle.swig.h:63: Warning(509): Overloaded Amanith::GAxisAng<(GReal)>(Amanith::GReal const &,Amanith::GReal const &,Amanith::GReal const &,Amanith::GReal const &) is shadowed by Amanith::GAxisAng<(GReal)>() at changes/include/amanith/geometry/gaxisangle.swig.h:56. error: command 'swig' failed with exit status 1 !!! ERROR: dev-python/PyAmanith-0.3.34 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called distutils_src_compile distutils.eclass, line 38: Called die This is my emerge --info: Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r8-highmem i686) ================================================================= System uname: 2.6.16-suspend2-r8-highmem i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System version 1.12.5 Last Sync: Mon, 09 Oct 2006 08:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -O2 -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/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="it_IT.UTF-8" LC_ALL="it_IT.UTF-8" LINGUAS="it en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac acpi alsa avahi berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbus dlloader dri dvd dvdr dvdread elibc_glibc encode firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal input_devices_keyboard input_devices_mouse input_devices_synaptics ipod isdnlog java jpeg jpeg2k kdeenablefinal kernel_linux libg++ linguas_en linguas_it logrotate mad mmx mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg opengl pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session spell spl sse sse2 ssl tcpd theora truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l2 video_cards_i810 video_cards_vesa vorbis xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS I tryed to disable -O2 optimization, but without any changes
Created attachment 99294 [details] dev-python/PyAmanith-0.3.34-r1.ebuild Ok I found this on the website: "In order to compile the wrapper, you'll need to have at least version 1.3.29 of SWIG installed." So I simply fixed the ebuild ;)
Thanks, Frittella. Fixed in CVS.