[MacPorts] #37574: kde4-runtime: 4.9.5 fails to build on SL
#37574: kde4-runtime: 4.9.5 fails to build on SL ------------------------+-------------------------------- Reporter: eborisch@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: kde4-runtime ------------------------+-------------------------------- Fails: https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/13628/steps/compile/logs/progress Log: https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/13628/steps/compile/logs/stdio -- Ticket URL: <https://trac.macports.org/ticket/37574> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build on SL ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Changes (by ryandesign@…): * cc: nicos@… (removed) * owner: macports-tickets@… => nicos@… Comment: The relevant error seems to be: {{{ Undefined symbols: "GlobalShortcutsRegistry::keyPressed(int)", referenced from: KGlobalAccelImpl::keyPressed(int) in kglobalaccel_mac.o ld: symbol(s) not found collect2: ld returned 1 exit status }}} -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build on SL ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Comment (by nicos@…): This error seems to be specific to 10.6 systems. I could not find a solution yet, but I am looking into it. -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build with gcc ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Comment (by nicos@…): From what I could see, the issue is more with gcc in general than 10.6 platform (trying to compile with gcc on 10.8 also fails). I don't have ways to confirm this, but I suspect that compiling with clang on 10.6 should work. The problem is however deeper than just the update of kde package. Trying to compile kde4-runtime version 4.9.3 with gcc also fails at the present state, even when using kde dependencies at 4.9.3 too, so that the issue may be deeper in dependencies. -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build with gcc ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Comment (by gnwiii@…): Nicos is correct -- kde4-runtime does build on SL using {{{ sudo port install kde4-runtime configure.compiler=macports-clang-3.1 }}} -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build with gcc ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Comment (by mk@…): Herewith I verify that it does work with clang on SL. -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build with gcc ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Comment (by nicos@…): This not a fully satisfying solution, but as I could not find the cause of the issue, I forced clang as a compiler for the port in r101949. -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build with gcc ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Changes (by nicos@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37574: kde4-runtime: 4.9.5 fails to build with gcc ---------------------------+--------------------- Reporter: eborisch@… | Owner: nicos@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: kde4-runtime | ---------------------------+--------------------- Comment (by petep@…): Replying to [comment:12 nicos@…]:
This not a fully satisfying solution, but as I could not find the cause of the issue, I forced clang as a compiler for the port in r101949.
Now that kde-runtime does compile again, I see the same issue with kde4-baseapps @4.9.5. However, running {{{ port clean --all kde4-baseapps port upgrade kde4-baseapps configure.compiler=macports-clang-3.1 }}} worked for me. -- Ticket URL: <https://trac.macports.org/ticket/37574#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts