* CPV: dev-libs/stfl-0.21 * REPO: gentoo * Maintainer: tanderson@gentoo.org no-herd * USE: elibc_glibc kernel_linux perl python userland_GNU x86 >>> Unpacking source... >>> Unpacking stfl-0.21.tar.gz to /var/tmp/portage/dev-libs/stfl-0.21/work >>> Source unpacked in /var/tmp/portage/dev-libs/stfl-0.21/work >>> Preparing source in /var/tmp/portage/dev-libs/stfl-0.21/work/stfl-0.21 ... * Applying stfl-0.21-python.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/stfl-0.21/work/stfl-0.21 ... * No Make or Build file detected... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/stfl-0.21/work/stfl-0.21 ... make -j3 CC=i686-pc-linux-gnu-gcc Makefile:90: Makefile.deps: Arquivo ou diretório não encontrado i686-pc-linux-gnu-gcc -I. -MM *.c > Makefile.deps_new i686-pc-linux-gnu-gcc -I. -MM widgets/*.c | sed 's,^wt_[^ ]*\.o: ,widgets/&,' >> Makefile.deps_new mv -f Makefile.deps_new Makefile.deps i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o public.o public.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o base.o base.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o parser.o parser.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o dump.o dump.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o style.o style.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o binding.o binding.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o iconv.o iconv.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o widgets/wt_box.o widgets/wt_box.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o widgets/wt_input.o widgets/wt_input.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o widgets/wt_label.o widgets/wt_label.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o widgets/wt_list.o widgets/wt_list.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o widgets/wt_table.o widgets/wt_table.c i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -I. -Wall -D_GNU_SOURCE -fPIC -c -o widgets/wt_textview.o widgets/wt_textview.c i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,-soname,libstfl.so.0 -o libstfl.so.0.21 public.o base.o parser.o dump.o style.o binding.o iconv.o widgets/wt_box.o widgets/wt_input.o widgets/wt_label.o widgets/wt_list.o widgets/wt_table.o widgets/wt_textview.o rm -f libstfl.a ar qc libstfl.a public.o base.o parser.o dump.o style.o binding.o iconv.o widgets/wt_box.o widgets/wt_input.o widgets/wt_label.o widgets/wt_list.o widgets/wt_table.o widgets/wt_textview.o ranlib libstfl.a test ! -f perl5/Makefile || make -C perl5 clean cd perl5 && swig -perl5 stfl.i && perl Makefile.PL ../swig/basedecls.i:87: Warning(314): 'dump' is a perl keyword ../swig/basedecls.i:181: Warning(314): 'dump' is a perl keyword Writing Makefile for stfl make -C perl5 && touch perl5/build_ok make[1]: Entrando no diretório `/var/tmp/portage/dev-libs/stfl-0.21/work/stfl-0.21/perl5' i686-pc-linux-gnu-gcc -c -pthread -I.. -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -O2 -march=pentium-m -pipe -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux/CORE" stfl_wrap.c Running Mkbootstrap for stfl () chmod 644 stfl.bs cp stfl.bs blib/arch/auto/stfl/stfl.bs chmod 644 blib/arch/auto/stfl/stfl.bs cp example.pl blib/lib/example.pl cp stfl.pm blib/lib/stfl.pm rm -f blib/arch/auto/stfl/stfl.so i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -shared -L/usr/local/lib stfl_wrap.o ../libstfl.a -o blib/arch/auto/stfl/stfl.so \ -lpthread -lncursesw \ chmod 755 blib/arch/auto/stfl/stfl.so make[1]: Saindo do diretório `/var/tmp/portage/dev-libs/stfl-0.21/work/stfl-0.21/perl5' * Building of dev-libs/stfl-0.21 with CPython 2.6... swig -python -threads stfl.i i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -Wl,-O1 -Wl,--as-needed -shared -pthread -fPIC stfl_wrap.c -I/usr/include/python2.6 -I.. ../libstfl.so.0.21 -lncursesw -o _stfl.so * Building of dev-libs/stfl-0.21 with CPython 3.1... swig -python -threads stfl.i i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -Wl,-O1 -Wl,--as-needed -shared -pthread -fPIC stfl_wrap.c -I/usr/include/python3.1 -I.. ../libstfl.so.0.21 -lncursesw -o _stfl.so stfl_wrap.c: In function ‘_PySwigObject_type’: stfl_wrap.c:1749: error: ‘cmpfunc’ undeclared (first use in this function) stfl_wrap.c:1749: error: (Each undeclared identifier is reported only once stfl_wrap.c:1749: error: for each function it appears in.) stfl_wrap.c:1749: error: expected ‘}’ before ‘SwigPyObject_compare’ stfl_wrap.c: In function ‘_PySwigPacked_type’: stfl_wrap.c:1920: error: ‘cmpfunc’ undeclared (first use in this function) stfl_wrap.c:1920: error: expected ‘}’ before ‘SwigPyPacked_compare’ * ERROR: dev-libs/stfl-0.21 failed: * Building failed with CPython 3.1 in building() function * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 4851: Called python_execute_function '-s' '--source-dir' 'python' 'building' * environment, line 3612: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of 'emerge --info =dev-libs/stfl-0.21', * the complete build log and the output of 'emerge -pqv =dev-libs/stfl-0.21'. * The complete build log is located at '/var/tmp/portage/dev-libs/stfl-0.21/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/stfl-0.21/temp/environment'. * S: '/var/tmp/portage/dev-libs/stfl-0.21/work/stfl-0.21' Reproducible: Always Steps to Reproduce: 1. emerge stfl 2. 3. # emerge --info Portage 2.2_rc78 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r3 i686) ================================================================= System uname: Linux-2.6.35-gentoo-r3-i686-Intel-R-_Core-TM-_Duo_CPU_T2250_@_1.73GHz-with-gentoo-1.12.13 Timestamp of tree: Thu, 09 Sep 2010 04:20:01 +0000 ccache version 2.4 [disabled] app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.7.9-r2, 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/portage /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" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo ftp://ftp.las.ic.unicamp.br/pub/gentoo" LANG="pt_BR.UTF-8" LC_ALL="pt_BR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="pt_BR" 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/portage/local/layman/roslin /usr/portage/local/layman/enlightenment /usr/portage/local/layman/kde /usr/local/portage" SYNC="rsync://rsync.las.ic.unicamp.br/gentoo-portage" USE="X a52 aac acl acpi aften alsa ao apache2 autoipd avahi bash-completion berkdb bluetooth bonjour branding bzip2 cairo cdda cddb cdparanoia cdr cg cgi chm chroot cli cracklib crypt ctype cups curl custom-optimization cxx dbus disk-partition djvu dri dv dvb dvd dvdnav dvdr embedded encode extras faac ffmpeg filter finger firefox firefox3 flac flash fortran fts3 fuse gcj gdbm gif gimp glib glitz gnutls gpm gtk hal hash iconv imagemagick ipod ipv6 java javascript joystick jpeg json kde lame laptop lm_sensors lyrics mad matroska md5sum mdnsresponder-compat mmx mng modules mozdevelop mozilla mp3 mp4 mpeg mplayer msn mssql mudflap mysql mysqli ncurses net network nls nptl nptlonly nsplugin ntfs ogg openexr opengl openmp oscar pam pcre pdf pdo perl php plasma plotutils png posix ppds pppd python qt3support qt4 rar readline reflection samba sasl scanner sdl session simplexml smp socks5 sql sqlite sqlite3 sse sse2 ssl svg svga sysfs tcpd tga threads tiff tokenizer truetype unicode upnp usb v4l v4l2 vcd vim-syntax vlm vorbis webdav webkit win32codecs wxwindows x264 x86 xcomposite xml xmlreader xorg xscreensaver xv xvid" 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 cgi cgid 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="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="none intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
What version of dev-lang/swig?
1.3.38 Should be updating?
Please test with 1.3.40-r1 and 2.0.0.
Yes, it compiled fine with swig-1.3.40-r1 Shouldn't it be a dependency or something? This was rather obscure.
I have fixed dependencies in dev-libs/stfl-0.21.