#51068: p5.22-socket6 0.270 does not build on PPC Mac OS X 10.4.11, Tiger -----------------------------+-------------------------------- Reporter: Peter_Dyballa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: p5.22-socket6 -----------------------------+-------------------------------- The failure is: {{{ :info:build "/opt/local/bin/perl5.22" "/opt/local/lib/perl5/5.22/ExtUtils/xsubpp" -noprototypes -typemap "/opt/local/lib/perl5/5.22/ExtUtils/typemap" Socket6.xs > Socket6.xsc && mv Socket6.xsc Socket6.c :info:build /opt/local/bin/gcc-apple-4.2 -c -pipe -Os -fno-common -DPERL_DARWIN -I/opt/local/include -fno-strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2 -arch ppc -O3 -DVERSION=\"0.27\" -DXS_VERSION=\"0.27\" "-I/opt/local/lib/perl5/5.22 /darwin-thread-multi-2level/CORE" Socket6.c :info:build In file included from Socket6.xs:100: :info:build inet_ntop.c:53: error: conflicting types for 'inet_ntop' :info:build /usr/include/arpa/inet.h:105: error: previous declaration of 'inet_ntop' was here :info:build Socket6.xs: In function 'XS_Socket6_inet_ntop': :info:build Socket6.xs:544: warning: format '%d' expects type 'int', but argument 3 has type 'STRLEN' :info:build Socket6.xs:544: warning: format '%d' expects type 'int', but argument 4 has type 'STRLEN' :info:build Socket6.xs: In function 'XS_Socket6_unpack_sockaddr_in6': :info:build Socket6.xs:623: warning: format '%d' expects type 'int', but argument 3 has type 'STRLEN' :info:build Socket6.xs:623: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' :info:build Socket6.xs: In function 'XS_Socket6_unpack_sockaddr_in6_all': :info:build Socket6.xs:659: warning: format '%d' expects type 'int', but argument 3 has type 'STRLEN' :info:build Socket6.xs:659: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int' :info:build Socket6.xs: In function 'XS_Socket6_getipnodebyaddr': :info:build Socket6.xs:910: warning: format '%d' expects type 'int', but argument 3 has type 'STRLEN' :info:build make: *** [Socket6.o] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_perl_p5-socket6/p5.22-socket6/work/Socket6-0.27' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_perl_p5-socket6/p5.22-socket6/work/Socket6-0.27" && /usr/bin/make -w all :info:build Exit code: 2 }}} I reported that case to `bug-Socket6 [at] rt.cpan.org`, as mentioned on https://rt.cpan.org/Public/Bug/Report.html?Queue=Socket6. -- Ticket URL: <https://trac.macports.org/ticket/51068> MacPorts <https://www.macports.org/> Ports system for OS X