Opened 5 years ago

Closed 4 years ago

#60189 closed defect (fixed)

ostinato @0.9_4: fails with newer compilers due to VERSION file

Reported by: kencu (Ken) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: ostinato

Description

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.

Change History (1)

comment:1 Changed 4 years ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.