Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 511640 - sys-devel/dragonegg with sys-devel/gcc-4.9 - .../work/dragonegg-3.4/src/Backend.cpp:86:23: fatal error: tree-flow.h: No such file or directory
Summary: sys-devel/dragonegg with sys-devel/gcc-4.9 - .../work/dragonegg-3.4/src/Backe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
: 540366 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-05-27 18:06 UTC by milan hodoscek
Modified: 2015-02-19 15:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for dragonegg-3.4 compiled with gcc-4.9 (build.log,11.69 KB, text/plain)
2014-05-27 20:42 UTC, milan hodoscek
Details
build log for dragonegg-3.4 compiled with gcc-4.9 (build.log,11.69 KB, text/x-log)
2014-05-27 20:42 UTC, milan hodoscek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description milan hodoscek 2014-05-27 18:06:08 UTC
gcc-4.9 cannot compile dragonegg.

gcc-4.9 & dragonegg-3.4 the message is:
/var/tmp/portage/sys-devel/dragonegg-3.4/work/dragonegg-3.4/src/Backend.cpp:86:23: fatal error: tree-flow.h: No such file or directory


gcc-4.9 & dragonegg-9999 the message is: the same as above :-(

except it is in the line 87.

I also filed a bug upstream but dragonegg is not very active project so maybe some of the gentoo-ers will be able to crack it.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-05-27 20:23:30 UTC
1) Please attach the entire build log to this bug report.
2) Please post your `emerge --info' output in a comment.
Comment 2 milan hodoscek 2014-05-27 20:42:43 UTC
Created attachment 377734 [details]
build log for dragonegg-3.4 compiled with gcc-4.9

dragonegg-9999 has the same problem, so no build.log for it.
Comment 3 milan hodoscek 2014-05-27 20:42:43 UTC
Created attachment 377736 [details]
build log for dragonegg-3.4 compiled with gcc-4.9

dragonegg-9999 has the same problem, so no build.log for it.
Comment 4 milan hodoscek 2014-05-27 20:46:25 UTC
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.9.0, glibc-2.19, 3.14.4-gentoo x86_64)
=================================================================
System uname: Linux-3.14.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-2677M_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:     3945572 total,    714984 free
KiB Swap:    2343932 total,   1014188 free
Timestamp of tree: Sat, 24 May 2014 09:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6-r1, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.5.4, 4.7.3-r1, 4.8.2-r1, 4.9.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo science x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=corei7"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/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"
CXXFLAGS="-O2 -pipe -march=corei7"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=corei7"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j 4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /usr/local/portage"
SYNC="rsync://s6/portage"
USE="X a52 aac aalib abiword accessibility acl acpi alsa amd64 amr apng aura berkdb bluetooth bzip2 cairo cdda cddax cddb cdio cdparanoia cdr cdrom cdsound cjk cli clucene consolekit context cpio cracklib crypt css curl cxx cyrillic dbus dconf declarative demosaic detex device-mapper dirac dri dvd dvi2tty dvipdfm emacs embedded enca encode exif extra extras ffmpeg firefox flac fontconfig fortran fpm g3dvl games gcj gd gdbm gdu gif gimp gles2 glib gnome gnuplot goffice gphoto2 graphics graphicsmagick graphite graphviz grub gs gsf gsl gsm gstreamer gtk gtk2-perl gtk3 gtkhtml gudev gzip gzip-el h224 h281 h323 hacking humanities hwdb iconv icu id3 id3tag imagemagick infinality introspection ipv6 jadetex java jbig jpeg jpeg2k kate kdcraw kde kdepim keymap kpathsea lame lapack laptop latex latex3 lcms libkms libv4l2 llvm llvm-gcc luatex lxde lzo mad matplotlib matroska mbox melt metis mmx mng modemmanager modules mp3 mp4 mpd mpeg mpi mpqc msms multilib musepack music mysql nautilus ncurses networkmanager nls nptl nsplugin ntp numpy ocrad octave offensive ogg ogg123 ogm omega openexr opengl openmp openssl opus pam pcntl pcre pdf perl plasma png policykit pstricks publishers pulseaudio python python3 qt3support qt4 raw readline rle schroedinger science script sdl semantic-desktop sendto server session shout speech speex sql sqlite sse sse2 ssh ssl static-libs svg taglib tcpd tex4ht theora threads tiff tonal truetype twolame udev unicode unzip upcall upnp usb uuencode uxa v4l2 vaapi vala valgrind video vim vim-pager vim-syntax vorbis vpx weather webkit webm webp winbind x264 xcb xetex xindy xml xmp xpm xv xvfb xvmc zip zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" 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 ublox ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en us" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="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"
USE_PYTHON="2.7 3.3 3.4"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 milan hodoscek 2014-09-23 22:45:50 UTC
dragonegg-3.5 has the same problem (no need for log file)
Comment 6 Michelangelo Scopelliti 2015-01-26 22:41:32 UTC
Apparently, compiling dragonegg with gcc 4.9 is not possible: see 

http://llvm.org/bugs/show_bug.cgi?id=19847

So, I think we should put a DEPEND="<sys-devel/gcc-4.9", at least for now.
Comment 7 Thomas Capricelli 2015-01-27 15:57:37 UTC
Confirmed here with dragonegg 3.5.1 and gcc 4.9.2
Comment 8 Bernard Cafarelli gentoo-dev 2015-02-18 16:35:45 UTC
*** Bug 540366 has been marked as a duplicate of this bug. ***
Comment 9 Bernard Cafarelli gentoo-dev 2015-02-18 16:44:20 UTC
Sorry and thanks for the reports everyone, looks like this bug fell from my TODO list.

Just depending on a gcc version is not enough, as the active version could be an older one. I'll look into adding a pkg_pretend check on the active version.

Though dragonegg did not see many updates upstream (including in upcoming 3.6), so I am not sure this will ever get fixed :/
Comment 10 Bernard Cafarelli gentoo-dev 2015-02-18 21:33:02 UTC
Fixed in 3.5.1 (9999 still allows all gcc versions to test for possible upstream fixes), thanks!
Comment 11 Petros 2015-02-19 12:53:11 UTC
(In reply to Bernard Cafarelli from comment #10)
> Fixed in 3.5.1 (9999 still allows all gcc versions to test for possible
> upstream fixes), thanks!

I filed a (duplicated) bug an despite naming the "faulty" version as 3.5.0 I also noticed the same error with 3.5.1. Tested with GCC 4.9.2 and 4.8.x/ I can't recall if it was x = 3 or 4.
Comment 12 Bernard Cafarelli gentoo-dev 2015-02-19 15:35:21 UTC
There is only 3.5.1 now in tree (and 9999), so that was the only one "fixed"

I still have a /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/plugin/include/tree-flow.h here, so all 4.8 versions should be good to go (can not test at the moment as I'd have to rebuild llvm with older gcc too)