[GRASS-dev] [GRASS GIS] #3231: ctypesgen.py fails during grass compilation
GRASS GIS
trac at osgeo.org
Wed Dec 21 12:25:58 PST 2016
#3231: ctypesgen.py fails during grass compilation
-----------------------+---------------------------------
Reporter: vince | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone:
Component: Compiling | Version: svn-releasebranch72
Keywords: MacOS X | CPU: Unspecified
Platform: MacOSX |
-----------------------+---------------------------------
{{{
GISRC=/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/demolocation/.grassrc72 GISBASE=/opt/local/var/macports/build
/_macports-ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0 PATH="/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/bin:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/bin:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/scripts:$PATH" PYTHONPATH="/opt/local/var/macports/build
/_macports-ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/etc/python:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/gui/wxpython:$PYTHONPATH"
DYLD_LIBRARY_PATH="/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/bin:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/bin:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/scripts:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/lib:/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/lib:" LC_ALL=C ./ctypesgen.py --cpp "/usr/bin/clang -E
-I/Volumes/Air/opt/local/include -I/opt/local/var/macports/build
/_macports-ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG" -lgrass_imagery.7.2.0RC2
/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include/grass/imagery.h /opt/local/var/macports/build
/_macports-ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include/grass/defs/imagery.h -o OBJ.x86_64-apple-
darwin16.4.0/imagery.py
Status: Preprocessing /opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/.tmp/tmpTkYOM2.h
Status: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG -U __BLOCKS__ -U __GNUC__
-dD "-Dinline=" "-D__inline__=" "-D__extension__=" "-D_Bool=uint8_t"
"-D__const=const" "-D__asm__(x)=" "-D__asm(x)=" "-DCTYPESGEN=1"
"-D__uint16_t=uint16_t" "-D__uint32_t=uint32_t" "-D__uint64_t=uint64_t"
/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/.tmp/tmpTkYOM2.h
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG: In file included from
/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/.tmp/tmpTkYOM2.h:1:
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG: In file included from
/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include/grass/gis.h:24:
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG: In file included from
/usr/include/stdio.h:64:
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG:
/usr/include/sys/cdefs.h:81:2: warning: "Unsupported compiler detected"
[-W#warnings]
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG: #warning "Unsupported
compiler detected"
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG: ^
Error: /usr/bin/clang -E -I/Volumes/Air/opt/local/include
-I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -I/opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/grass-7.2.0RC2/dist.x86_64-apple-
darwin16.4.0/include -D__GLIBC_HAVE_LONG_LONG: 1 warning generated.
Status: Parsing /opt/local/var/macports/build/_macports-
ports_gis_grass7/grass7/work/.tmp/tmpTkYOM2.h
Error: /usr/include/sys/stdio.h:39: Syntax error at '__attribute__'
Error: /usr/include/sys/stdio.h:39: Syntax error at '='
Error: /usr/include/sys/stdio.h:46: Syntax error at '__attribute__'
Error: /usr/include/sys/stdio.h:46: Syntax error at '='
Error: /usr/include/sys/stdio.h:46: Syntax error at '='
Error: /usr/include/sys/stdio.h:46: Syntax error at '='
Error: /usr/include/sys/stdio.h:46: Syntax error at '='
Error: /usr/include/sys/stdio.h:47: Syntax error at '__attribute__'
Error: /usr/include/sys/stdio.h:47: Syntax error at '='
Error: /usr/include/sys/stdio.h:47: Syntax error at '='
Error: /usr/include/sys/stdio.h:47: Syntax error at '='
Error: /usr/include/sys/stdio.h:47: Syntax error at '='
Error: /usr/include/stdio.h:133: Syntax error at '_close'
Error: /usr/include/stdio.h:134: Syntax error at '_read'
Error: /usr/include/stdio.h:135: Syntax error at '_seek'
Error: /usr/include/stdio.h:136: Syntax error at '_write'
Error: /usr/include/stdio.h:136: Syntax error at ','
Error: /usr/include/stdio.h:153: Syntax error at '}'
Error: /usr/include/stdio.h:231: Syntax error at '*'
Error: /usr/include/stdio.h:232: Syntax error at '*'
Error: /usr/include/stdio.h:233: Syntax error at '*'
…
}}}
+ hundreds of lines of the same ilk.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3231>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list