Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466386 - sci-geosciences/grass-6.4.2 fails to compile with gcc-4.7.2
Summary: sci-geosciences/grass-6.4.2 fails to compile with gcc-4.7.2
Status: RESOLVED DUPLICATE of bug 423615
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on: 466388
Blocks:
  Show dependency tree
 
Reported: 2013-04-18 18:17 UTC by cmuelle8
Modified: 2013-04-19 15:13 UTC (History)
0 users

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


Attachments
build log 1366207539-install-sci-geosciences_grass-6.4.2:6::gentoo.out.gz (1366207539-install-sci-geosciences_grass-6.4.2:6::gentoo.out.gz,186.55 KB, application/octet-stream)
2013-04-18 18:19 UTC, cmuelle8
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cmuelle8 2013-04-18 18:17:10 UTC
cave show -f "=sci-geosciences/grass-6.4.2::gentoo"
* =sci-geosciences/grass-6.4.2::gentoo
    ::gentoo                  6.4.2(~)* {:6}
    sci-geosciences/grass-6.4.2:6::gentoo (world)
    Description               A free GIS with raster and vector functionality, as well as 3D vizualization
    Homepage                  http://grass.osgeo.org/
    Herds                     sci-geosciences
    Long Description          The original GIS, yes the first one, developed by the US Army Corp of Engineers, now an active open source GIS. See the GRASS Documentation Project for more info http://grass.itc.it/gdp/index.php
    Use flags                 X cairo cxx -debug ffmpeg fftw -gmath jpeg -motif mysql nls odbc opengl png postgres python readline sqlite tiff truetype wxwidgets build_options: symbols=strip dwarf_compress -optional_tests -trace work=tidyup 
        Overridden Masks
            Keywords          ~amd64 ~ppc ~ppc64 ~x86


# zgrep -C 5 "Errors in:" 1366207539-install-sci-geosciences_grass-6.4.2\:6\:\:gentoo.out.gz 
----------------------------------------------------------------------
GRASS GIS compilation log
-------------------------
Started compilation: Wed Apr 17 16:06:07 CEST 2013
--
Errors in:
/var/tmp/paludis/sci-geosciences-grass-6.4.2/work/grass-6.4.2/lib/iostream
/var/tmp/paludis/sci-geosciences-grass-6.4.2/work/grass-6.4.2/raster/r.terraflow
--
In case of errors please change into the directory with error and run 'make'.
If you get multiple errors, you need to deal with them in the order they


Both, -fno-lto and -flto builds are affected, using clang yields the same errors.

Reproducible: Always
Comment 1 cmuelle8 2013-04-18 18:19:20 UTC
Created attachment 345922 [details]
build log 1366207539-install-sci-geosciences_grass-6.4.2:6::gentoo.out.gz
Comment 2 cmuelle8 2013-04-18 18:31:55 UTC
Fixable with the version bump in #466388
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-19 08:49:11 UTC
> Error: /usr/include/GL/gl.h:{109,112}: Syntax error at '\n'

Are you sure this is due to the compiler? The above error looks like there is something up with that file that cause this issue. We don't have this file in that location, so I suspect you might want to blame Paludis for this; anyhow, as the version bump fixes it I'll assign anyway...
Comment 4 cmuelle8 2013-04-19 15:12:04 UTC
(In reply to comment #3)
> > Error: /usr/include/GL/gl.h:{109,112}: Syntax error at '\n'

I suppose you must have mixed this up with something else you were doing

zgrep GL.h /var/log/paludis/1366207539-install-sci-geosciences_grass-6.4.2\:6\:\:gentoo.out.gz
-> nothing found

This is not related to GL/gl.h in any way.  See the errors in the first comment:

Errors in:
/var/tmp/paludis/sci-geosciences-grass-6.4.2/work/grass-6.4.2/lib/iostream
/var/tmp/paludis/sci-geosciences-grass-6.4.2/work/grass-6.4.2/raster/r.terraflow

Also I've found bug #423615 to be a duplicate - but this one has the build log at externally at amazon tinderbox..

*** This bug has been marked as a duplicate of bug 423615 ***