[MacPorts] #34545: Can't install kdevplatform
MacPorts
noreply at macports.org
Fri Jun 8 01:54:40 PDT 2012
#34545: Can't install kdevplatform
-------------------------------+--------------------------------------------
Reporter: dave@… | Owner: nicos@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Keywords: | Port: kdevplatform
-------------------------------+--------------------------------------------
Comment(by dragan.glumac@…):
Hi nicos
I've tested building and installing '''''kdevplatform''''' with the new
Portfile (the one you attached) and it works with no problems. So this
issue seems to be resolved.[[BR]]
[[BR]]
I've also tested building and installing '''''kdevelop''''' with the
relevant changes for Clang (the if block which sets additional flags for
Clang), and there is definitely an issue with a particular source file. I
got the same problem when I was trying to build develop with Clang a few
days ago.[[BR]]
[[BR]]
It seems that for some reason Clang can't find a constructor for std::list
that matches the constructor called from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdevelop/kdevelop/work/kdevelop-4.3.1/languages/cpp/cppduchain/declarationbuilder.cpp[[BR]]
[[BR]]
This is a perfectly legal constructor since it contains two iterator
references, and the third argument if omitted means that std::list will
use the default allocator. But it confuses Clang for some reason - it
doesn't seem to recognise the decls.begin() and decls.end() as
iterators.[[BR]]
[[BR]]
I have attached the log file that is produced as a result.[[BR]]
[[BR]]
I don't know how you want to deal with this. Since it's a related issue
you could leave this ticket open until '''''kdevelop''''' problem is
resolved, or if you like I can open another ticket for it. Let me know
please.[[BR]]
--
Ticket URL: <https://trac.macports.org/ticket/34545#comment:12>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list