[MacPorts] #67773: mosh at 1.4.0: numerous C++ compilation errors on 10.5.8 PPC

MacPorts noreply at macports.org
Thu Jul 20 05:59:43 UTC 2023


#67773: mosh at 1.4.0: numerous C++ compilation errors on 10.5.8 PPC
----------------------+--------------------
 Reporter:  acjones8  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:  ppc       |       Port:  mosh
----------------------+--------------------
 When attempting to build mosh for OS X 10.5.8 (on ppc), using GCC 12.3,
 GCC starts off the build and gets through the protobuf section just fine,
 but completely falls apart once it tries to compile ocb_internal.cc . I'll
 attach the main.log file with all of the error messages, but here's a few
 examples:
 {{{
 cb_internal.cc:223:13: error: 'vector' does not name a type; did you mean
 'vec_or'?
   223 |     typedef vector unsigned block;
       |             ^~~~~~
       |             vec_or
 ocb_internal.cc:237:16: error: 'block' does not name a type
   237 |         static block gen_offset(uint64_t KtopStr[3], unsigned bot)
 {
       |                ^~~~~
 ocb_internal.cc:259:23: error: 'block' does not name a type
   259 |         static inline block double_block(block b) {
       |                       ^~~~~
 ocb_internal.cc:456:13: error: variable or field 'ecb_encrypt_blks'
 declared void
   456 | static void ecb_encrypt_blks(block *blks, unsigned nblks, KEY
 *key) {
       |             ^~~~~~~~~~~~~~~~
 ocb_internal.cc:456:30: error: 'block' was not declared in this scope; did
 you mean 'clock'?
   456 | static void ecb_encrypt_blks(block *blks, unsigned nblks, KEY
 *key) {
 }}}

 I don't think it's GCC related, as I've had no issues compiling other
 programs (including GCC itself) with GCC 12. I'm a bit stumped at to what
 the issue is, but I'm more than happy to provide any additional info that
 might help.

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


More information about the macports-tickets mailing list