[MacPorts] #59759: Cannot install freehdl

MacPorts noreply at macports.org
Tue Nov 26 18:46:38 UTC 2019


#59759: Cannot install freehdl
----------------------+--------------------
  Reporter:  xinbiks  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.2
Resolution:           |   Keywords:
      Port:  freehdl  |
----------------------+--------------------

Comment (by kencu):

 {{{
 831     :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/hash_map:213:5:
 warning: Use of the header <ext/hash_map> is deprecated.  Migrate to
 <unordered_map> [-W#warnings]
 832     :info:build #   warning Use of the header <ext/hash_map> is
 deprecated.  Migrate to <unordered_map>
 833     :info:build     ^
 834     :info:build In file included from attributes.cc:4:
 835     :info:build In file included from ../freehdl/kernel-sig-info.hh:8:
 836     :info:build In file included from ../freehdl/std-standard.hh:6:
 837     :info:build In file included from ../freehdl/std-vhdl-
 types.hh:2220:
 838     :info:build In file included from ../freehdl/kernel-db.hh:80:
 839     :info:build ../freehdl/kernel-util.hh:27:29: error: unknown
 template name 'hash'
 840     :info:build class pointer_hash : public hash<unsigned long> {
 841     :info:build                             ^
 842     :info:build In file included from error.cc:4:
 843     :info:build In file included from ../freehdl/std-vhdl-
 types.hh:../freehdl/kernel-util.hh:30:15: error: reference to 'hash' is
 ambiguous
 844     :info:build 2220    return (*(hash<unsigned long>
 *)this)(((unsigned long)x)>>2);
 845     :info:build               ^
 846     :info:build :
 847     :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/type_traits:417:50:
 note: candidate found by name lookup is 'std::__1::hash'
 848     :info:build In file included from template <class _Tp> struct
 _LIBCPP_TEMPLATE_VIS hash;
 849     :info:build                                                  ^
 850     :info:build
 /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/ext/__hash:22:53:
 note: candidate found by name lookup is '__gnu_cxx::hash'
 851     :info:build template <typename _Tp> struct _LIBCPP_TEMPLATE_VIS
 hash { };
 852     :info:build                                                     ^
 }}}

 looks like this software needs an update for current compilers.

 Options are to find out if it's been updated and if so, update our port --
 or maybe you might be able to build it with an older compiler like
 clang-5.0 or similar.

-- 
Ticket URL: <https://trac.macports.org/ticket/59759#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list