[MacPorts] #60189: ostinato @0.9_4: fails with newer compilers due to VERSION file

MacPorts noreply at macports.org
Fri Mar 13 14:42:31 UTC 2020


#60189: ostinato @0.9_4: fails with newer compilers due to VERSION file
--------------------+----------------------
 Reporter:  kencu   |      Owner:  g5pw
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  ostinato
--------------------+----------------------
 We're sure to see a LOT of this error -- building with clang-9.0:

 {{{
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/iosfwd:196:14: error:
 unknown type name 'mbstate_t'; did you mean '__mbstate_t'?
 typedef fpos<mbstate_t>    u32streampos;
              ^
 /usr/include/i386/_types.h:79:3: note: '__mbstate_t' declared here
 } __mbstate_t;
   ^
 In file included from ostprotolib.cpp:20:
 In file included from ./ostprotolib.h:22:
 In file included from
 /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/QString:1:
 In file included from
 /opt/local/libexec/qt4/Library/Frameworks/QtCore.framework/Versions/4/Headers/qstring.h:45:
 In file included from /opt/local/libexec/qt4/include/QtCore/qchar.h:45:
 In file included from /opt/local/libexec/qt4/include/QtCore/qglobal.h:68:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/algorithm:643:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/memory:653:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/typeinfo:60:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/exception:81:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/cstdlib:85:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/stdlib.h:100:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/math.h:338:
 In file included from
 /opt/local/libexec/llvm-9.0/bin/../include/c++/v1/limits:121:
 ../extra/qhexedit2/src/version:1:1: error: unknown type name 'Release'
 Release 0.8.4, 2017-01-16
 ^
 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 }}}

 fixes it manually:
 {{{
 sudo mv ./extra/qhexedit2/src/VERSION ./extra/qhexedit2/src/VERSION.txt
 }}}

 so just a post-extract "move" would work, or however you care to approach
 it.

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


More information about the macports-tickets mailing list