[MacPorts] #60347: p5.28-socket6 @0.290.0 : Build failure in Catalina

MacPorts noreply at macports.org
Sun Apr 12 22:27:23 UTC 2020


#60347: p5.28-socket6 @0.290.0 : Build failure in Catalina
--------------------------+---------------------------
 Reporter:  SerpentChris  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.6.2
 Keywords:  perl          |       Port:  p5.28-socket6
--------------------------+---------------------------
 I noticed this while running `port upgrade outdated`. I'm running macOS
 Catalina 10.15.4. This is a dependency of p5.28-io-socket-ssl. Here is the
 error that is being reported by clang:

 {{{
 /usr/bin/clang -c   -fno-common -DPERL_DARWIN -mmacosx-version-min=10.15
 -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fno-
 strict-aliasing -fstack-protector-strong -I/opt/local/include
 -DPERL_USE_SAFE_PUTENV -arch x86_64
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -O3   -DVERSION=\"0.29\" -DXS_VERSION=\"0.29\"
 "-I/opt/local/lib/perl5/5.28/darwin-thread-multi-2level/CORE"   Socket6.c
 Socket6.xs:110:9: warning: 'PL_sv_undef' macro redefined [-Wmacro-
 redefined]
 #define PL_sv_undef             sv_undef
         ^
 /opt/local/lib/perl5/5.28/darwin-thread-multi-
 2level/CORE/embedvar.h:319:9: note: previous definition is here
 #define PL_sv_undef             (vTHX->Isv_undef)
         ^
 Socket6.xs:545:9: warning: format specifies type 'int' but the argument
 has type 'STRLEN' (aka 'unsigned long') [-Wformat]
                       addrlen, alen);
                       ^~~~~~~
 Socket6.xs:545:18: warning: format specifies type 'int' but the argument
 has type 'STRLEN' (aka 'unsigned long') [-Wformat]
                       addrlen, alen);
                                ^~~~
 Socket6.xs:624:9: warning: format specifies type 'int' but the argument
 has type 'STRLEN' (aka 'unsigned long') [-Wformat]
                       sockaddrlen, sizeof(addr));
                       ^~~~~~~~~~~
 Socket6.xs:624:22: warning: format specifies type 'int' but the argument
 has type 'unsigned long' [-Wformat]
                       sockaddrlen, sizeof(addr));
                                    ^~~~~~~~~~~~
 Socket6.xs:660:9: warning: format specifies type 'int' but the argument
 has type 'STRLEN' (aka 'unsigned long') [-Wformat]
                       sockaddrlen, sizeof(addr));
                       ^~~~~~~~~~~
 Socket6.xs:660:22: warning: format specifies type 'int' but the argument
 has type 'unsigned long' [-Wformat]
                       sockaddrlen, sizeof(addr));
                                    ^~~~~~~~~~~~
 Socket6.xs:753:12: error: use of undeclared identifier 'sv_undef'
                                 PUSHs(&PL_sv_undef);
                                        ^
 Socket6.xs:110:22: note: expanded from macro 'PL_sv_undef'
 #define PL_sv_undef             sv_undef
                                 ^
 Socket6.xs:911:35: warning: format specifies type 'int' but the argument
 has type 'STRLEN' (aka 'unsigned long') [-Wformat]
                     "Socket6::getipnodebyaddr", addrlen, alen);
                                                 ^~~~~~~
 8 warnings and 1 error generated.
 make: *** [Socket6.o] Error 1
 }}}

 The full log is attached.

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


More information about the macports-tickets mailing list