Opened 7 months ago

#61602 new defect

p5-crypt-des @2.07: error: implicit declaration of function 'perl_des_expand_key' is invalid in C99

Reported by: ryandesign (Ryan Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: p5-crypt-des

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/839/steps/install-port/logs/stdio

/usr/bin/clang -c   -fno-common -DPERL_DARWIN -mmacosx-version-min=10.16 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -fno-strict-aliasing -fstack-protector-strong -I/opt/local/include -DPERL_USE_SAFE_PUTENV -arch arm64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -O3   -DVERSION=\"2.07\" -DXS_VERSION=\"2.07\"  "-I/opt/local/lib/perl5/5.26/darwin-thread-multi-2level/CORE"   DES.c
DES.xs:39:3: error: implicit declaration of function 'perl_des_expand_key' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                perl_des_expand_key((i8 *)key, ks);
                ^
DES.xs:39:3: note: did you mean '_des_expand_key'?
./_des.h:6:6: note: '_des_expand_key' declared here
void _des_expand_key( des_user_key userKey, des_ks key );
     ^
DES.xs:69:3: error: implicit declaration of function 'perl_des_crypt' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                perl_des_crypt(input, SvGROW(output, output_len), (i32 *)ks, enc_flag);
                ^
2 errors generated.

Change History (0)

Note: See TracTickets for help on using tickets.