[MacPorts] #62833: libmsn @4.1_2 +debug: error: unknown type name 'des_key_schedule'; did you mean 'DES_key_schedule'?

MacPorts noreply at macports.org
Fri May 7 02:35:42 UTC 2021


#62833: libmsn @4.1_2 +debug: error: unknown type name 'des_key_schedule'; did you
mean 'DES_key_schedule'?
-------------------------+--------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.4
 Keywords:               |       Port:  libmsn
-------------------------+--------------------
 Presumably an openssl update broke compatibility or something:
 {{{
 [ 86%] Building CXX object msn/CMakeFiles/msn.dir/libsiren/rmlt.cpp.o
 cd
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn
 && /usr/bin/clang++ -Dmsn_EXPORTS
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1
 -I/opt/local/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn
 -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk -g -arch
 x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.3.sdk
 -mmacosx-version-min=11.3 -fPIC -o CMakeFiles/msn.dir/libsiren/rmlt.cpp.o
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/libsiren/rmlt.cpp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:264:9:
 error: unknown type name 'des_key_schedule'; did you mean
 'DES_key_schedule'?
         des_key_schedule ks1,ks2,ks3;
         ^~~~~~~~~~~~~~~~
         DES_key_schedule
 /opt/local/include/openssl/des.h:43:3: note: 'DES_key_schedule' declared
 here
 } DES_key_schedule;
   ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:270:22:
 error: use of undeclared identifier 'C_Block'
         des_set_key((C_Block *)one,ks1);
                      ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:270:31:
 error: expected expression
         des_set_key((C_Block *)one,ks1);
                               ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:271:22:
 error: use of undeclared identifier 'C_Block'
         des_set_key((C_Block *)two,ks2);
                      ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:271:31:
 error: expected expression
         des_set_key((C_Block *)two,ks2);
                               ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:272:22:
 error: use of undeclared identifier 'C_Block'
         des_set_key((C_Block *)three,ks3);
                      ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:272:31:
 error: expected expression
         des_set_key((C_Block *)three,ks3);
                               ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:283:112:
 error: use of undeclared identifier 'C_Block'
         DES_ede3_cbc_encrypt((const unsigned
 char*)buf_.str().c_str(),output,buf_.str().size(),&ks1,&ks2,&ks3,(C_Block
 *)workvec,DES_ENCRYPT);
 ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/util.cpp:283:121:
 error: expected expression
         DES_ede3_cbc_encrypt((const unsigned
 char*)buf_.str().c_str(),output,buf_.str().size(),&ks1,&ks2,&ks3,(C_Block
 *)workvec,DES_ENCRYPT);
 ^
 9 errors generated.
 make[2]: *** [msn/CMakeFiles/msn.dir/util.cpp.o] Error 1
 make[2]: *** Waiting for unfinished jobs....
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/p2p.cpp:334:24:
 warning: 6 enumeration values not handled in switch: 'APP_NONE',
 'APP_DISPLAY_PICTURE', 'APP_FILE_TRANSFER'... [-Wswitch]
                 switch(session.typeTransfer)
                        ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/p2p.cpp:334:24:
 note: add missing switch cases
                 switch(session.typeTransfer)
                        ^
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/soap.cpp:1748:62:
 warning: result of comparison against a string literal is unspecified (use
 an explicit string comparison function instead) [-Wstring-compare]
                        Member.getChildNode("Type").getText() == "Email")
                                                              ^  ~~~~~~~
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1/msn/notificationserver.cpp:1075:13:
 warning: expression result unused [-Wunused-value]
         for(d; d != listInfo->contactList.end(); d++)
             ^
 1 warning generated.
 1 warning generated.
 1 warning generated.
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1'
 make[1]: *** [msn/CMakeFiles/msn.dir/all] Error 2
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_libmsn/libmsn/work/libmsn-4.1"
 && /usr/bin/make -j16 -w all VERBOSE=ON
 Exit code: 2
 Warning: The following existing files were hidden from the build system by
 trace mode:
   /Applications/MacPorts/CMake.app/Contents/MacOS/CMake
   /opt
   /private/var/select/sh
 }}}

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


More information about the macports-tickets mailing list