#42673: kde4-baseapps build failure on OS X 10.6.8 ----------------------------+--------------------- Reporter: rjvbertin@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: kde4-baseapps | ----------------------------+--------------------- Comment (by nicos@…): Replying to [comment:4 rjvbertin@…]:
First off, kde4-baseapps doesn't use gcc-4.2, but clang, even on 10.6 . Maybe because I have an XCode 4 version installed, who knows. Yes, your version of XCode implies that your default compiler is clang. The point I am trying to make by proposing to force using gcc-4.2 is to be closer to the configuration of the build bot for 10.6, which is still using an older version of Xcode with this compiler, and which builds kde4-baseapps correctly with the Portfile as it is.
I must add that I installed qt4-mac and kdelibs4 in individual invocations of the port command, without specifying a compiler. I know I got gcc-4.2 for qt4-mac, but how could I verify what compiler was used for kdelibs4? I am not sure that you can confirm it, but if you did not specify any compiler, it should have used your default one (clang), as there is not compiler directive in kdelibs4 portfile. However, the errors you report do not seem to be due to that.
Concerning the part of the portfile you pasted, it is the same one as what I pasted just above. This object is missing in all configurations I could test (but not the one of dolphin), but is present in your case, so that this manual addition makes indeed duplicates. -- Ticket URL: <https://trac.macports.org/ticket/42673#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X