I tried to compile octave with the useflag fltk. fltk-1.3.0 was merged by default. Compiling octave failed with many errors. See this entry: http://octave.1599824.n4.nabble.com/octave-build-issue-error-in-fltk-backend-td2309879.html As described there, fltk-1.3 is only a developer snapshot and not intended for usage. I masked fltk-1.3.0, fltk-1.1 was merged instead. Octave compiles successfully. Reproducible: Always Steps to Reproduce: Emerge octave with useflag fltk. Actual Results: Error during compilation. Expected Results: Successful compiling. emerge --info octave Portage 2.1.10.44 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 3.0.17-tuxonice-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.0.17-tuxonice-r1-x86_64-Mobile_AMD_Sempron-tm-_Processor_3600+-with-gentoo-2.0.3 Timestamp of tree: Sat, 04 Feb 2012 09:15:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.4-r3 dev-util/cmake: 2.8.6-r4 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.9.8.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 3.1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo science sunrise proaudio dilfridge my_local_overlay ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA Broadcom skype-eula AdobeFlash-10.1 dlj-1.1 Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8 -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -pipe -march=k8 -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" 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="/var/lib/layman/science /var/lib/layman/sunrise /var/lib/layman/pro-audio /var/lib/layman/dilfridge /usr/local/portage" SYNC="rsync://rsync11.de.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apm arts bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fftw firefox flac fortran gdbm gdu gif gphoto2 gpm gtk iconv ipv6 jack jpeg kde kipi laptop lcms ldap libnotify lm_sensors mad mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma pmu png policykit ppds pppd qt3support qt4 raw readline samba sdl semantic-desktop session spell sse sse2 sse3 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= sci-mathematics/octave-3.2.4-r1 was built with the following: USE="(consolekit) fftw fltk (multilib) opengl (policykit) readline zlib -curl -doc -emacs -sparse -test -xemacs"
I'm guessing you are still on 3.2.x series, then bug 351963 would be back, 19 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> octave-3.2.4-r3.ebuild, +files/octave-3.2.4-fltk-1.3.patch: Added a patch for compatibility with fltk-1.3, thanks to Yury Fedorchenko bug #351963 Then it's later removed by: *octave-3.6.0 (19 Jan 2012) 19 Jan 2012; Sébastien Fabbro <bicatali@gentoo.org> -files/octave-3.2.4-addpath.patch, -files/octave-3.2.4-dlmread-speedup.patch, -files/octave-3.2.4-filter-empty-vector.patch, -files/octave-3.2.4-fltk-1.3.patch
3.2.x series also fails to build with GCC 4.6 and I don't have any development boxes left with older GCC versions so I can't actually test reapplying the dropped patch @sci-mathematics: all yours
Let's proceed with stabilizing something more recent. Arches please do you magic. There's one test that fails for me, but it doesn't seem crucial. If you want to test it more thoroughly please see [1]. TIA! [1] http://www.gnu.org/software/octave/doc/interpreter/Simple-Examples.html#Simple-Examples
scanelf shows sys-libs/readline that missing among RDEPEND in the ebuild, please check and add it if necessary. for everything else amd64 is ok
arches, go ahead with 3.4.3-r1
amd64 looks ok
amd64: Ok
amd64 stable
Stable for HPPA.
x86 stable
ppc done
ppc64 done
alpha/sparc keywords dropped