sci-libs/matgl-1.8.1.r1.ebuild depends on swig[python] This forces a downgrade of swig since versions > 1.3.26 don't have the useflags 'python' or 'octave' anymore. Reproducible: Always emerge --info Portage 2.2_rc27 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.26-gentoo-r4 i686) ================================================================= System uname: Linux-2.6.26-gentoo-r4-i686-Intel-R-_Pentium-R-_III_CPU_family_1266MHz-with-glibc2.0 Timestamp of tree: Fri, 27 Mar 2009 07:20:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.0_p10-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="x86 ~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 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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="buildpkg distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo " LANG="en_US.iso88591" LDFLAGS="-Wl,-O1" LINGUAS="en de" MAKEOPTS="-j3" 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" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/layman/java-overlay" SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage" USE="X acl acpi avahi berkdb bitmap-fonts bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png postscript ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sqlite sqlite3 sse ssl startup-notification svg sysfs tcl tcpd tetex threads tiff tk truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs x86 xml xorg xulrunner 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
@Andrey: BTW please fix your email address in metadata.xml. (Also sci-visualization/udav)
(In reply to comment #1) > @Andrey: BTW please fix your email address in metadata.xml. > (Also sci-visualization/udav) > What's wrong with it? Helmut.
I'm now working on mathgl-1.8.1 ebuild (and udav-0.5.1). I hoped to complete this work on Sunday, but, unfortunately, there are some problems. Hope to solve them in a few days. The new version will not depend on swig[python] or swig[octave]. And I'll correct my email address :-) Just wait a few days.
Created attachment 187603 [details] mathgl-1.8.1-numpy.patch Hi, I tried to build by hand mathgl, and I needed this patch. I was able to build with fltk:1.1. It builds examples by default though. Hope this helps for the bump.
I did it by if use python; then local numpy_h numpy_h=$(python_get_sitedir)/numpy/core/include/numpy/arrayobject.h einfo "fixing numpy.i" sed -e "s|<numpy/arrayobject.h>|\"${numpy_h}\"|" \ -i lang/numpy.i \ || die "sed failed" fi I also had to apply the attached patch, because gcc-4.1.2 does not understand -fopenmp and I don't have -lgomp. But I got stuch: compiling mgl_fltk.cpp gives syntax errors in /usr/include/libintl.h which is a standard header from glibc. I cannot understand this. I have fltk-1.1.9.
Created attachment 187626 [details, diff] mathgl-1.8.1-openmp.patch The patch
Applying this patch is probably good only with a openmp use flag since it will prevent gcc > 4.2 users for using openmp and gcc-4.3.2* is already stable on a few architectures. It seems this one would require more work unless depending on more recent toolchain.
Fixed in 1.8.1 (and 1.8-r1 removed).