Date: Sun, 24 Sep 2017 19:08:23 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 222570] databases/grass6: fails to build with lang/gcc7 or later Message-ID: <bug-222570-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222570 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@FreeBSD.org Reporter: jbeich@FreeBSD.org CC: gerald@FreeBSD.org, lbartoletti@tuxfamily.org Blocks: 222542 Flags: maintainer-feedback?(lbartoletti@tuxfamily.org) CC: lbartoletti@tuxfamily.org $ echo "DEFAULT_VERSIONS +=3D gcc=3D7" >>${__MAKE_CONF:-/etc/make.conf} $ make [...] gmake[6]: Entering directory 'lib/python/ctypes' GISRC=3Ddist.amd64/demolocation/.grassrc64 GISBASE=3Ddist.amd64-portbld-fre= ebsd11.1 PATH=3D"dist.amd64/bin:$PATH" PYTHONPATH=3D"dist.amd64/etc/python:$PYTHONPA= TH" LD_LIBRARY_PATH=3D"dist.amd64/bin:dist.amd64/lib::" LC_ALL=3DC ./ctypesgen.= py --cpp "gcc7 -E -I/usr/include -DLIBICONV_PLUG -I/usr/local/include -I/usr/local/include -I/usr/local/include -DPACKAGE=3D\""grasslibs"\" -DPACKAGE=3D\""grasslibs"\" -Idist.amd64/include" -lgrass_datetime.6.4.6= =20=20 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=3D"grasslibs" -DPACKAGE=3D"grasslibs" -Idist.amd64/include -U __GNUC__ -D __GNUCLIKE_BUILTIN_STDARG -dD "-Dinline=3D" "-D__inline__=3D" "-D__extensio= n__=3D" "-D_Bool=3Duint8_t" "-D__const=3Dconst" "-D__asm__(x)=3D" "-D__asm(x)=3D" "-DCTYPESGEN=3D1" /tmp/tmp8xU5au.h Traceback (most recent call last): File "./ctypesgen.py", line 134, in <module> descriptions=3Dctypesgencore.parser.parse(options.headers,options) File "lib/python/ctypes/ctypesgencore/parser/__init__.py", line 21, in pa= rse parser.parse() File "lib/python/ctypes/ctypesgencore/parser/datacollectingparser.py", li= ne 69, in parse ctypesparser.CtypesParser.parse(self,fname,None) File "lib/python/ctypes/ctypesgencore/parser/cparser.py", line 113, in pa= rse self.preprocessor_parser.parse(filename) File "lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 201, = in parse token =3D self.lexer.token() File "lib/python/ctypes/ctypesgencore/parser/preprocessor.py", line 51, in token result =3D lex.Lexer.token(self) File "lib/python/ctypes/ctypesgencore/parser/lex.py", line 297, in token newtok =3D func(tok) File "lib/python/ctypes/ctypesgencore/parser/pplexer.py", line 226, in t_ANY_int g1 =3D 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=3D222542 [Bug 222542] [exp-run] Update GCC_DEFAULT from 6 to 7 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222570-13>