pyfltk (with USE="opengl") fails with: ... running build running build_py creating build creating build/lib.linux-x86_64-2.6 creating build/lib.linux-x86_64-2.6/fltk copying fltk/__init__.py -> build/lib.linux-x86_64-2.6/fltk running build_ext my_init_posix: changing gcc to g++ building 'fltk._fltk' extension creating build/temp.linux-x86_64-2.6 creating build/temp.linux-x86_64-2.6/python creating build/temp.linux-x86_64-2.6/contrib x86_64-pc-linux-gnu-gcc -pthread -DNDEBUG -march=barcelona -mfpmath=sse -O2 -pipe -fPIC -DUNIX=1 -I/usr/include/fltk-1.1 -I./src -I./contrib -I/usr/include -I/usr/include/python2.6 -c ./python/fltk_wrap.cpp -o build/temp.linux-x86_64-2.6/./python/fltk_wrap.o ./python/fltk_wrap.cpp: In function 'const char* fl_vararg_input(const char*, const char*)': ./python/fltk_wrap.cpp:4584: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'const char* fl_vararg_password(const char*, const char*)': ./python/fltk_wrap.cpp:4590: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'void fl_mt_message(const char*)': ./python/fltk_wrap.cpp:4628: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'void fl_mt_alert(const char*)': ./python/fltk_wrap.cpp:4634: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'int fl_mt_ask(const char*)': ./python/fltk_wrap.cpp:4641: warning: 'int fl_ask(const char*, ...)' is deprecated (declared at /usr/include/fltk-1.1/FL/fl_ask.H:59) ./python/fltk_wrap.cpp:4641: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp:4641: warning: 'int fl_ask(const char*, ...)' is deprecated (declared at /usr/include/fltk-1.1/FL/fl_ask.H:59) ./python/fltk_wrap.cpp: In function 'int fl_mt_choice(const char*, const char*, const char*, const char*)': ./python/fltk_wrap.cpp:4649: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'const char* fl_mt_input(const char*, const char*)': ./python/fltk_wrap.cpp:4657: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'const char* fl_mt_password(const char*, const char*)': ./python/fltk_wrap.cpp:4665: warning: format not a string literal and no format arguments ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_ask__varargs__(PyObject*, PyObject*, PyObject*)': ./python/fltk_wrap.cpp:37813: warning: 'int fl_ask(const char*, ...)' is deprecated (declared at /usr/include/fltk-1.1/FL/fl_ask.H:59) ./python/fltk_wrap.cpp:37813: warning: 'int fl_ask(const char*, ...)' is deprecated (declared at /usr/include/fltk-1.1/FL/fl_ask.H:59) ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_new_Fl_RGB_Image(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:39224: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_new_Fl_Bitmap(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:39877: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_draw_image(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:54546: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_fl_draw_image_mono(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:54654: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_Fl_FormsBitmap_set(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:58780: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' ./python/fltk_wrap.cpp: In function 'PyObject* _wrap_gl_draw_image(PyObject*, PyObject*)': ./python/fltk_wrap.cpp:93899: error: cannot convert 'int*' to 'Py_ssize_t*' for argument '3' to 'int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)' error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1 * * ERROR: dev-python/pyfltk-1.1.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3044: Called distutils_src_compile * environment, line 739: Called die * The specific snippet of code: * ${python} setup.py "${DISTUTILS_GLOBAL_OPTIONS[@]}" build "$@" || die "Building failed"; * The die message: * Building failed
# emerge --info Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-1.12.11.1 Timestamp of tree: Wed, 16 Sep 2009 02:15:02 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-util/cmake: 2.6.4 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=barcelona -mfpmath=sse -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=barcelona -mfpmath=sse -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en en_GB" MAKEOPTS="-j5" 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/layman/enlightenment" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X a52 aac aalib acl acpi ada alsa amd64 amr applet archive ares artworkextra aspell asyncns automount avahi bash-completion beagle berkdb big-tables bittorrent bluetooth bonjour branding bzip2 cairo caps cdda cddb cdio cdr cgraph chroot cli consolekit corba cracklib crypt cscope curl daap dbus dc1394 deskbar device-mapper dirac djbfft djvu dmx dri drm dts dvd dvdr dvi eds encode epiphany exif expat extraengine faac faad fam fbcon ffmpeg finger flac fltk fluidsynth fontconfig fontforge fortran fpx ftp fuse galago gcdmaster gd gdbm gedit gif gimp glib glitz gmp gnome gnome-keyring gnomecd gnustep gnutls gphoto2 gpm graphviz gs gsf gsm gstreamer gtk gtkhtml guile hal hardcoded-tables hddtemp hdri hfs iconv icu id3tag idea idn ieee1394 imagemagick imlib immqt-bc ipv6 isdnlog ithreads jack jack-tmpfs java javascript jbig jpeg jpeg2k kate ladspa lapack lash lcms libass libcaca libedit libffi libnotify libsamplerate libssh2 libsysfs live lm_sensors lua lzma lzo mad matroska max-idx-128 md5sum midi mmap mmx mmxext mng modplug motif mp3 mp3rtp mpd mpeg mudflap multilib musepack nas nautilus ncurses netjack network network-cron nfs nls nntp nptl nptlonly nsplugin nss odbc ogg openexr opengl openmp pam pango pch pcmcia pcre pdf perl png portaudio pppd pth pulseaudio python q32 q8 qt3 qt3support qt4 raw readline reflection remoteosd rle rtsp schroedinger script sdl sdl-image session shout skins slang smp sndfile soup speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream subversion svg sysfs syslog t1lib taglib tcl tcpd test theora threads threadsafe tiff timezone tk tracker truetype twolame unicode upnp usb vcd vcdinfo vcdx vhook vim-syntax vlm vorbis wavpack webkit wmf wxwindows x264 xattr xcb xface xft xine xinerama xinetd xml xmldoclet xmp xorg xosd xpm xprint xslt xulrunner xv xvid xvmc zeroconf 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 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 topfield" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse spaceorb wacom vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" USERLAND="GNU" VIDEO_CARDS="fbdev radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 204332 [details] Build error as attachment Slightly easier to read this way ;) Installed fltk is x11-libs/fltk-1.1.7-r2
There is a pyfltk-1.1.4, but the dependencies for this are tilde-keyworded versions of eselect-python, fltk, and glibc(!). This latter I won't be upgrading to unstable in order to test this package ;) pyfltk is required by (at least) dev-python/matplotlib with USE="fltk"
(In reply to comment #3) > There is a pyfltk-1.1.4, but the dependencies for this are tilde-keyworded > versions of eselect-python, fltk, and glibc(!). This latter I won't be > upgrading to unstable in order to test this package ;) =x11-libs/fltk-1.1.9 does not require glibc bump and is being stabilized.
Okay, I see from Bug 276695 that fltk-1.1.9 is for glibc-2.9 and fltk-1.1.9-r1 is for glibc-2.10+ Using ACCEPT_KEYWORDS="~amd64" pulled in the latest, the -r1, which caused the glibc dependency. I'll mask that and try again to see whether a later pyfltk works...
pyfltk-1.1.2 gone