[MacPorts] #69621: xmlto @0.0.28_7: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int (was: xmlto @0.0.28_7 does not build)

MacPorts noreply at macports.org
Sat Mar 30 01:43:29 UTC 2024


#69621: xmlto @0.0.28_7: error: type specifier missing, defaults to 'int'; ISO C99
and later do not support implicit int
---------------------+--------------------
  Reporter:  BSDer   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  xmlto   |
---------------------+--------------------
Description changed by ryandesign:

Old description:

> {{{port -s xmlto}}} fails with
> {{{
> :info:build make[1]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28'
> :info:build depbase=`echo xmlif/xmlif.o | sed
> 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> :info:build     /usr/bin/clang -DHAVE_CONFIG_H -I.   -I/opt/local/include
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch
> arm64 -MT xmlif/xmlif.o -MD -MP -MF $depbase.Tpo -c -o xmlif/xmlif.o
> xmlif/xmlif.c &&\
> :info:build     mv -f $depbase.Tpo $depbase.Po
> :info:build xmlif/xmlif.l:46:8: error: type specifier missing, defaults
> to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
> :info:build static ifsense;                 /* sense of last `if' or
> unless seen */
> :info:build ~~~~~~ ^
> :info:build int
> :info:build xmlif/xmlif.l:243:1: error: type specifier missing, defaults
> to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
> :info:build main(int argc, char *argv[])
> :info:build ^
> :info:build int
> :info:build 2 errors generated.
> :info:build make[1]: *** [xmlif/xmlif.o] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28"
> && /usr/bin/make -j8 -w all
> :info:build Exit code: 2
> :error:build Failed to build xmlto: command execution failed
> :debug:build Error code: CHILDSTATUS 63788 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec -callback
> portprogress::target_progress_callback build"
> :debug:build     (procedure "portbuild::build_main" line 10)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release
> _tarballs_ports_textproc_xmlto/xmlto/main.log for details.
> }}}

New description:

 {{{port -s xmlto}}} fails with
 {{{
 :info:build make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28'
 :info:build depbase=`echo xmlif/xmlif.o | sed
 's|[^/]*$|.deps/&|;s|\.o$||'`;\
 :info:build     /usr/bin/clang -DHAVE_CONFIG_H -I.   -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk  -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64
 -MT xmlif/xmlif.o -MD -MP -MF $depbase.Tpo -c -o xmlif/xmlif.o
 xmlif/xmlif.c &&\
 :info:build     mv -f $depbase.Tpo $depbase.Po
 :info:build xmlif/xmlif.l:46:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build static ifsense;                 /* sense of last `if' or
 unless seen */
 :info:build ~~~~~~ ^
 :info:build int
 :info:build xmlif/xmlif.l:243:1: error: type specifier missing, defaults
 to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build main(int argc, char *argv[])
 :info:build ^
 :info:build int
 :info:build 2 errors generated.
 :info:build make[1]: *** [xmlif/xmlif.o] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/work/xmlto-0.0.28"
 && /usr/bin/make -j8 -w all
 :info:build Exit code: 2
 :error:build Failed to build xmlto: command execution failed
 :debug:build Error code: CHILDSTATUS 63788 2
 :debug:build Backtrace: command execution failed
 :debug:build     while executing
 :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 :debug:build     invoked from within
 :debug:build "command_exec -callback
 portprogress::target_progress_callback build"
 :debug:build     (procedure "portbuild::build_main" line 10)
 :debug:build     invoked from within
 :debug:build "$procedure $targetname"
 :error:build See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_xmlto/xmlto/main.log
 for details.
 }}}

--

-- 
Ticket URL: <https://trac.macports.org/ticket/69621#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list