[MacPorts] #46414: p5-devel-size: fails to build

MacPorts noreply at macports.org
Mon Jan 5 07:15:31 PST 2015


#46414: p5-devel-size: fails to build
---------------------+--------------------------------
 Reporter:  mojca@…  |      Owner:  macports-tickets@…
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  p5-devel-size
---------------------+--------------------------------
 {{{
 --->  Building p5.16-devel-size
 DEBUG: Environment:
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_mports_dports_perl_p5
 -devel-size/p5.16-devel-size/work/.CC_PRINT_OPTIONS'
 CPATH='/opt/local/include'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.10'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-devel-size/p5.16
 -devel-size/work/Devel-Size-0.69" && /usr/bin/make -j8 -w all'
 DEBUG: Executing command line:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-devel-size/p5.16
 -devel-size/work/Devel-Size-0.69" && /usr/bin/make -j8 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-devel-size/p5.16
 -devel-size/work/Devel-Size-0.69'
 /opt/local/bin/perl5.16 "-Iinc"
 /opt/local/lib/perl5/5.16.3/ExtUtils/xsubpp  -typemap
 /opt/local/lib/perl5/5.16.3/ExtUtils/typemap  Size.xs > Size.xsc && mv
 Size.xsc Size.c
 Running Mkbootstrap for Devel::Size ()
 chmod 644 Size.bs
 cp Size.bs blib/arch/auto/Devel/Size/Size.bs
 chmod 644 blib/arch/auto/Devel/Size/Size.bs
 cp lib/Devel/Size.pm blib/lib/Devel/Size.pm
 /usr/bin/clang -c   -pipe -Os -fno-common -DPERL_DARWIN
 -I/opt/local/include -fno-strict-aliasing -fstack-protector
 -I/opt/local/include -arch x86_64 -O3   -DVERSION=\"0.69\"
 -DXS_VERSION=\"0.69\"  "-I/opt/local/lib/perl5/5.16.3/darwin-thread-multi-
 2level/CORE"   Size.c
 Size.xs:202:42: error: no member named 'nparens' in 'struct p5rx'
   total_size += sizeof(I32) * baseregex->nparens * 2;
                               ~~~~~~~~~  ^
 Size.xs:203:35: error: no member named 'precomp' in 'struct p5rx'
   total_size += strlen(baseregex->precomp);
                        ~~~~~~~~~  ^
 Size.xs:328:45: error: no member named 'cop_label' in 'struct cop'; did
 you mean 'cop_line'?
       if (check_new(tracking_hash, basecop->cop_label)) {
                                             ^~~~~~~~~
                                             cop_line
 /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE/cop.h:387:17:
 note: 'cop_line' declared here
     line_t      cop_line;       /* line # of this command */
                 ^
 Size.xs:328:36: warning: incompatible integer to pointer conversion
 passing 'line_t' (aka 'unsigned int') to parameter of type 'const void *'
 [-Wint-conversion]
       if (check_new(tracking_hash, basecop->cop_label)) {
                                    ^~~~~~~~~~~~~~~~~~
 Size.xs:153:45: note: passing argument to parameter 'thing' here
 IV check_new(HV *tracking_hash, const void *thing) {
                                             ^
 Size.xs:329:32: error: no member named 'cop_label' in 'struct cop'; did
 you mean 'cop_line'?
         total_size += strlen(basecop->cop_label);
                                       ^~~~~~~~~
                                       cop_line
 /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE/cop.h:387:17:
 note: 'cop_line' declared here
     line_t      cop_line;       /* line # of this command */
                 ^
 Size.xs:329:23: warning: incompatible integer to pointer conversion
 passing 'line_t' (aka 'unsigned int') to parameter of type 'const char *'
 [-Wint-conversion]
         total_size += strlen(basecop->cop_label);
                              ^~~~~~~~~~~~~~~~~~
 /usr/include/string.h:82:28: note: passing argument to parameter here
 size_t   strlen(const char *);
                             ^
 Size.xs:387:8: error: duplicate case value 'SVt_IV'
   case SVt_RV:
        ^
 /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level/CORE/sv.h:80:18:
 note: expanded from macro 'SVt_RV'
 #  define SVt_RV        SVt_IV
                         ^
 Size.xs:369:8: note: previous case defined here
   case SVt_IV:
        ^
 2 warnings and 5 errors generated.
 make: *** [Size.o] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_perl_p5-devel-size/p5.16
 -devel-size/work/Devel-Size-0.69'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_perl_p5-devel-size/p5.16
 -devel-size/work/Devel-Size-0.69" && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: org.macports.build for port p5.16-devel-size returned: command
 execution failed
 DEBUG: Error code: CHILDSTATUS 37857 2
 }}}

 (See also #46322 for buildbot logs.)

-- 
Ticket URL: <https://trac.macports.org/ticket/46414>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list