Opened 3 years ago

Last modified 2 years ago

#64605 closed defect

libtapi: error: could not convert 'result' from 'tapi::internal::API' to 'llvm::Expected<tapi::internal::API>' — at Version 1

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: libtapi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

This is different from my earlier ticket: #64187 Here it almost built:

make[3]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/work/build'
[ 92%] Built target LLVMCore
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/work/build'
make[1]: *** [projects/libtapi/tools/libtapi/CMakeFiles/libtapi.dir/rule] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/work/build'
make: *** [libtapi] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/work/build" && /usr/bin/make -j4 -w libtapi tapi VERBOSE=ON 
Exit code: 2
Error: Failed to build libtapi: command execution failed
Error: See /opt/local/var/macports/logs/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.

Change History (2)

Changed 3 years ago by barracuda156

Attachment: main.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: libtapi fails on 92% for ppc on 10.6.8 Rosettalibtapi: error: could not convert 'result' from 'tapi::internal::API' to 'llvm::Expected<tapi::internal::API>'

The error in the attached log is:

/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/libtapi/lib/Core/APIJSONSerializer.cpp:1202:10: error: could not convert 'result' from 'tapi::internal::API' to 'llvm::Expected<tapi::internal::API>'
   return result;
          ^~~~~~
Note: See TracTickets for help on using tickets.