[Bug 288097] lang/dotnet: native/libs/S ystem.Security.Cryptography.Native/pal_evp_ci pher.c:389:12: error: call to undeclared func tion 'EVP_rc2_ecb'

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Jul 2025 12:22:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288097

            Bug ID: 288097
           Summary: lang/dotnet:
                    native/libs/System.Security.Cryptography.Native/pal_ev
                    p_cipher.c:389:12: error: call to undeclared function
                    'EVP_rc2_ecb'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: arrowd@FreeBSD.org
          Reporter: dweimer@dweimer.net
             Flags: maintainer-feedback?(arrowd@FreeBSD.org)
          Assignee: arrowd@FreeBSD.org

Created attachment 261968
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=261968&action=edit
Full Poudriere Build Log

Fails to build, appears to be an issue with a cipher in Cryptography component.


      [ 14%] Building CXX object
gcinfo/CMakeFiles/gcinfo_win_x64.dir/arraylist.cpp.o
     
/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.6/src/runtime/src/native/libs/System.Security.Cryptography.Native/pal_evp_cipher.c:389:12:
error: call to undeclared function 'EVP_rc2_ecb'; ISO C99 and later do not
support implicit function declarations [-Wimplicit-function-declaration]
        389 |     return EVP_rc2_ecb();
            |            ^
     
/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.6/src/runtime/src/native/libs/System.Security.Cryptography.Native/pal_evp_cipher.c:389:12:
error: incompatible integer to pointer conversion returning 'int' from a
function with result type 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st
*') [-Wint-conversion]
        389 |     return EVP_rc2_ecb();
            |            ^~~~~~~~~~~~~
     
/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.6/src/runtime/src/native/libs/System.Security.Cryptography.Native/pal_evp_cipher.c:395:12:
error: call to undeclared function 'EVP_rc2_cbc'; ISO C99 and later do not
support implicit function declarations [-Wimplicit-function-declaration]
        395 |     return EVP_rc2_cbc();
            |            ^
     
/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.6/src/runtime/src/native/libs/System.Security.Cryptography.Native/pal_evp_cipher.c:395:12:
error: incompatible integer to pointer conversion returning 'int' from a
function with result type 'const EVP_CIPHER *' (aka 'const struct evp_cipher_st
*') [-Wint-conversion]
        395 |     return EVP_rc2_cbc();
            |            ^~~~~~~~~~~~~
      4 errors generated.
      ---
libs-native/System.Security.Cryptography.Native/CMakeFiles/objlib.dir/pal_evp_cipher.c.o
---
      ***
[libs-native/System.Security.Cryptography.Native/CMakeFiles/objlib.dir/pal_evp_cipher.c.o]
Error code 1

      make[3]: stopped in
/wrkdirs/usr/ports/lang/dotnet/work/dotnet-9.0.6/src/runtime/artifacts/obj/coreclr/freebsd.x64.Release
      [ 14%] Building CXX object
gcinfo/CMakeFiles/gcinfo_unix_x64.dir/arraylist.cpp.o
      1 error

-- 
You are receiving this mail because:
You are the assignee for the bug.