[MacPorts] #30642: kdelibs4 build error on lion
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- {{{ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/nodes.cpp:25: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/nodes.h:29: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/Parser.h:30: :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/wtf/RefPtr.h:58:55: error: call to function 'adoptRef' that is neither visible in the template definition nor found by argument-dependent lookup :info:build PassRefPtr<T> release() { PassRefPtr<T> tmp = adoptRef(m_ptr); m_ptr = 0; return tmp; } :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.7.0/kjs/nodes.h:340:57: note: in instantiation of member function 'WTF::RefPtr<KJS::ElementNode>::release' requested here :info:build PassRefPtr<ElementNode> releaseNext() { return next.release(); } :info:build ^ }}} -- Ticket URL: <https://trac.macports.org/ticket/30642> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * cc: hofione@… (removed) * cc: sharky@…, michaelld@… (added) * owner: macports-tickets@… => snc@… Comment: As reporter you do not need to Cc yourself but you should Cc the port's maintainer(s). -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by ryandesign@…): You should probably also attach the complete main.log. -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by snc@…): I see clang in the log, so that is likely the root cause. Just in case, please attach the full log (it doesn't have the configure phase) and the CMakeCache file: {{{ sudo port clean kdelibs4 sudo port build kdelibs4 build.jobs=1 }}} These are the files to attach: {{{ port logfile echo `port work kdelibs4`/build/CMakeCache.txt }}} -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by snc@…): that is, `port logfile kdelibs4` -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by hofione@…): sorry could not build now because of break in kerberos5 build. Is it possible to build without dependencies? -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by snc@…): It's possible to build without dependencies but then parts of KDE will get automatically disabled, or we've forced some functions to build and they'll break. When you can build again please update the ticket. -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by marksman@…): I'm having the same problems, and attached the requested log files -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by snc@…): marksman: can you clean your build dir and try again with the compiler changed to llvm-gcc4.2? You can do so like this: {{{ sudo port clean kdelibs4 sudo port build kdelibs configure.compiler=llvm-gcc-4.2 }}} One possibility is that clang isn't happy with the class code that KDE ships. Even gcc has choked on their code at times, requiring extra parenthesis so it could figure out templates. -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by snc@…): I left out the 4 in the second command, should be kdelibs4. -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by snc@…): I see nothing wrong in the CMakeCache, but it did show that clang is being used. I'm assuming it's a compiler issue since I can build it just fine using llvm-gcc. If you can verify that switching compilers does fix the issue, then I can tell the portfile to always switch the compiler. -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion -------------------------------+-------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: kdelibs4 -------------------------------+-------------------------------------------- Comment(by marksman@…): Yep, using {{{ sudo port build kdelibs configure.compiler=llvm-gcc-4.2 }}} fixed the problem for me. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion --------------------------------+------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: kdelibs4 | --------------------------------+------------------------------------------- Changes (by snc@…): * status: new => closed * resolution: => fixed Comment: Fixed in r85940. -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30642: kdelibs4 build error on lion --------------------------------+------------------------------------------- Reporter: hofione@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: kdelibs4 | --------------------------------+------------------------------------------- Comment(by snc@…): Clang works in all of KDE @4.8.2 -- Ticket URL: <https://trac.macports.org/ticket/30642#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts