[Bug 222570] databases/grass6: fails to build with lang/gcc7 or later

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Sep 24 19:08:24 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222570

            Bug ID: 222570
           Summary: databases/grass6: fails to build with lang/gcc7 or
                    later
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: gerald at FreeBSD.org, lbartoletti at tuxfamily.org
            Blocks: 222542
             Flags: maintainer-feedback?(lbartoletti at tuxfamily.org)
                CC: lbartoletti at tuxfamily.org

$ echo "DEFAULT_VERSIONS += gcc=7" >>${__MAKE_CONF:-/etc/make.conf}
$ make
[...]
gmake[6]: Entering directory 'lib/python/ctypes'
GISRC=dist.amd64/demolocation/.grassrc64 GISBASE=dist.amd64-portbld-freebsd11.1
PATH="dist.amd64/bin:$PATH" PYTHONPATH="dist.amd64/etc/python:$PYTHONPATH"
LD_LIBRARY_PATH="dist.amd64/bin:dist.amd64/lib::" LC_ALL=C ./ctypesgen.py --cpp
"gcc7 -E -I/usr/include -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include  -I/usr/local/include     -DPACKAGE=\""grasslibs"\"
-DPACKAGE=\""grasslibs"\"  -Idist.amd64/include" -lgrass_datetime.6.4.6  
dist.amd64/include/grass/datetime.h dist.amd64/include/grass/P_datetime.h -o
date.py
Status: Preprocessing /tmp/tmp8xU5au.h
Status: gcc7 -E -I/usr/include -DLIBICONV_PLUG -I/usr/local/include
-I/usr/local/include  -I/usr/local/include     -DPACKAGE="grasslibs"
-DPACKAGE="grasslibs"  -Idist.amd64/include -U __GNUC__ -D
__GNUCLIKE_BUILTIN_STDARG -dD "-Dinline=" "-D__inline__=" "-D__extension__="
"-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)=" "-D__asm(x)="
"-DCTYPESGEN=1" /tmp/tmp8xU5au.h
Traceback (most recent call last):
  File "./ctypesgen.py", line 134, in <module>
    descriptions=ctypesgencore.parser.parse(options.headers,options)
  File "lib/python/ctypes/ctypesgencore/parser/__init__.py", line 21, in parse
    parser.parse()
  File "lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py", line
69, in parse
    ctypesparser.CtypesParser.parse(self,fname,None)
  File "lib/python/ctypes/ctypesgencore/parser/cparser.py", line 113, in parse
    self.preprocessor_parser.parse(filename)
  File "lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 201, in
parse
    token = self.lexer.token()
  File "lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 51, in
token
    result = lex.Lexer.token(self)
  File "lib/python/ctypes/ctypesgencore/parser/lex.py", line 297, in token
    newtok = func(tok)
  File "lib/python/ctypes/ctypesgencore/parser/pplexer.py", line 226, in
t_ANY_int
    g1 = str(long(g1,8))
ValueError: invalid literal for long() with base 8:
'08420217248550443400745280086994171'

build log: http://sprunge.us/VUKU


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222542
[Bug 222542] [exp-run] Update GCC_DEFAULT from 6 to 7
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list