[MacPorts] #54466: gindent @2.2.11: build fails

MacPorts noreply at macports.org
Tue Jul 11 18:55:07 UTC 2017


#54466: gindent @2.2.11: build fails
------------------------+---------------------
 Reporter:  mndavidoff  |      Owner:
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  gindent
------------------------+---------------------
 I get this error when trying to install gindent:

 {{{
 $ sudo port -vs install gindent
 ...
 /usr/bin/clang -DHAVE_CONFIG_H -DLOCALEDIR=\"/opt/local/share/locale\" -I.
 -I.. -I. -I. -I../intl  -I/opt/local/include -I. -pipe -Os -arch x86_64
 -MT code_io.o -MD -MP -MF .deps/code_io.Tpo -c -o code_io.o code_io.c
 In file included from lexi.c:206:
 ./gperf.c:94:1: error: conflicting types for 'is_reserved'
 is_reserved (register const char *str, register size_t len)
 ^
 lexi.c:204:11: note: previous declaration is here
 templ_ty *is_reserved (const char *str, unsigned int len);
           ^
 In file included from lexi.c:220:
 ./gperf-cc.c:95:1: error: conflicting types for 'is_reserved_cc'
 is_reserved_cc (register const char *str, register size_t len)
 ^
 lexi.c:218:11: note: previous declaration is here
 templ_ty *is_reserved_cc (register const char *str, register unsigned int
 len);
           ^
 2 errors generated.
 make[3]: *** [lexi.o] Error 1
 make[3]: *** Waiting for unfinished jobs....
 mv -f .deps/globs.Tpo .deps/globs.Po
 mv -f .deps/code_io.Tpo .deps/code_io.Po
 mv -f .deps/parse.Tpo .deps/parse.Po
 mv -f .deps/backup.Tpo .deps/backup.Po
 mv -f .deps/args.Tpo .deps/args.Po
 mv -f .deps/comments.Tpo .deps/comments.Po
 mv -f .deps/indent.Tpo .deps/indent.Po
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gindent/gindent/work/indent-2.2.11/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gindent/gindent/work/indent-2.2.11/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gindent/gindent/work/indent-2.2.11'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gindent/gindent/work/indent-2.2.11'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gindent/gindent/work/indent-2.2.11"
 && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: Failed to build gindent: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gindent/gindent/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port gindent failed
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54466>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list