[MacPorts] #71660: rb-fsevent-legacy fails to build with gcc14: error: passing argument 1 of 'Check_Type' makes integer from pointer without a cast [-Wint-conversion]

MacPorts noreply at macports.org
Fri Dec 27 23:30:10 UTC 2024


#71660: rb-fsevent-legacy fails to build with gcc14: error: passing argument 1 of
'Check_Type' makes integer from pointer without a cast [-Wint-conversion]
--------------------------+-------------------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  rb-fsevent-legacy
--------------------------+-------------------------------
 {{{
 /opt/local/bin/gcc-mp-14 -I. -I/opt/local/include/ruby-3.3.6/ppc-
 darwin10.0 -I/opt/local/include/ruby-3.3.6/ruby/backward
 -I/opt/local/include/ruby-3.3.6 -I. -I/opt/local/include
 -isystem/opt/local/include/LegacySupport
 -I/opt/local/libexec/openssl3/include -isystem/opt/local/include
 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT
 -fno-common -g -O0 -pipe -fno-common -arch ppc -o fs_native_stream.o -c
 fs_native_stream.c
 fs_native_stream.c: In function 'fs_new_stream':
 fs_native_stream.c:285:14: error: passing argument 1 of 'Check_Type' makes
 integer from pointer without a cast [-Wint-conversion]
   285 |   Check_Type(self, T_DATA);
       |              ^~~~
       |              |
       |              VALUE * {aka long unsigned int *}
 In file included from
 /opt/local/include/ruby-3.3.6/ruby/internal/fl_type.h:38,
                  from
 /opt/local/include/ruby-3.3.6/ruby/internal/core/rstring.h:30,
                  from
 /opt/local/include/ruby-3.3.6/ruby/internal/arithmetic/char.h:29,
                  from
 /opt/local/include/ruby-3.3.6/ruby/internal/arithmetic.h:24,
                  from /opt/local/include/ruby-3.3.6/ruby/ruby.h:28,
                  from /opt/local/include/ruby-3.3.6/ruby.h:38,
                  from fs_native_stream.c:4:
 /opt/local/include/ruby-3.3.6/ruby/internal/value_type.h:432:18: note:
 expected 'VALUE' {aka 'long unsigned int'} but argument is of type 'VALUE
 *' {aka 'long unsigned int *'}
   432 | Check_Type(VALUE v, enum ruby_value_type t)
       |            ~~~~~~^
 make: *** [fs_native_stream.o] Error 1

 make failed, exit code 2

 Gem files will remain installed in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-fsevent-legacy/rb33-fsevent-
 legacy/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/gems/rb-fsevent-
 legacy-0.2.0 for inspection.
 Results logged to
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-fsevent-legacy/rb33-fsevent-
 legacy/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0/extensions/ppc-
 darwin-10/3.3.0/rb-fsevent-legacy-0.2.0/gem_make.out
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-fsevent-legacy/rb33-fsevent-
 legacy/work/rb-fsevent-legacy-0.2.0" && /opt/local/bin/gem3.3 install
 --local --force --install-dir
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-fsevent-legacy/rb33-fsevent-
 legacy/work/destroot/opt/local/lib/ruby3.3/gems/3.3.0
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_ruby_rb-fsevent-legacy/rb33-fsevent-
 legacy/work/rb-fsevent-legacy-0.2.0/rb-fsevent-legacy.gem -- --with-cflags
 ="-fms-extensions"
 Exit code: 1
 Error: Failed to destroot rb33-fsevent-legacy: command execution failed
 }}}

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


More information about the macports-tickets mailing list