[MacPorts] #27198: kdelibs4 unable to find phonon
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Hey there, I got a build error today when upgrading kdelibs4 to version 4.5.3_0. Apparently, kdelibs can't find phonon: {{{ -- Building kdelibs... CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:198 (MESSAGE): Could NOT find Phonon (missing: PHONON_LIBRARY) (Required is at least version "4.3.80") Call Stack (most recent call first): cmake/modules/FindPhonon.cmake:35 (find_package_handle_standard_args) cmake/modules/FindKDE4Internal.cmake:672 (find_package) CMakeLists.txt:40 (find_package) -- Configuring incomplete, errors occurred! shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_kde_kdelibs4/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_LIBRARY_DIR=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DWITH_ENCHANT=ON -DWITH_Soprano=ON -DWITH_Avahi=ON -DKDE_DEFAULT_HOME=Library/Preferences/KDE -DWITH_HSPELL:BOOL=OFF -DDOCBOOKXSL_DIR=/opt/local/share/xml/ -DQT_QT_INCLUDE_DIR=/opt/local/include -DQT_LIBRARY_DIR=/opt/local/lib -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DLIBXSLT_INCLUDE_DIR=/opt/local/include/ -DLIBXSLT_LIBRARIES=/opt/local/lib/libxslt.dylib -DLIBEXSLT_LIBRARIES=/opt/local/lib/libexslt.dylib -DJASPER_INCLUDE_DIR=/opt/local/include -DJASPER_LIBRARY=/opt/local/lib/libjasper.dylib -DPNG_LIBRARY=/opt/local/lib/libpng.dylib -DPNG_PNG_INCLUDE_DIR=/opt/local/include -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DWITH_FAM=OFF -DCMAKE_OSX_ARCHITECTURES="i386" ../kdelibs-4.5.3 " returned error 1 }}} I have phonon @4.4.2_3+debug installed and active. My system is Mac OS X 10.5.8; my version of Xcode is 3.1.2 See attached log for more details. -- Ticket URL: <https://trac.macports.org/ticket/27198> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: snc@… (removed) * owner: macports-tickets@… => snc@… -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): Hey guys, today I tried again to compile kdelibs4. I tried the +debug variant and with no variant indication and got exactly the same thing. Given that other people seem not to have the same problem, do you think I should try a KDE fresh install? Maybe something's wrong with my system... -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): Have you done "sudo port selfupdate" recently? There was a recent revision to CMake that fixes the way Qt is searched for -- and, so, indirectly related to this ticket's issue but it might help. I just installed the latest kdelibs4 w/o issues -- but I'm running on 10.6.5 and XCode 3.2.3. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): Yeah, I selfupdate'd before compiling this morning. The new version of cmake was indeed compiled and installed and then kdelibs4 gave the same error :-( -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): Can you replace the current log file with the new one using the new cmake? Might shed some light. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): Done! Instead of replacing I added a new one, just in case... -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): I'm attaching a patch. Download it (say, as /PATH/TO/DIFF), then: {{{ cd `port dir kdelibs4` patch -p0 < /PATH/TO/DIFF sudo port clean kdelibs4 sudo port configure kdelibs4 }}} and it will probably still fail, but it should print out some info that will be of use -- and then post the new logfile if it fails. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): Yes, it failed indeed. I attach the log. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): I messed up a patch; sorry. I've replaced the _0 with a new one that'll hopefully make it past the 'patch' stage now :) Please give the new one a try. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): OK, I don't know much about patches and portfiles, but I was asked {{{ patching file Portfile Reversed (or previously applied) patch detected! Assume -R? [n] y }}} and I answered yes (otherwise the configure finished again at the patch stage). I think this time it worked, I replace the patched log. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): I think the "-R" flag is used to reverse the patch. So, can you try applying the new patch again (forward) & see if it now does work? If not, we'll figure out how to revert the files. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): OK, several things happened today. I tried to begin from the beginning and uninstalled kdelibs4, kdegraphics4, kdebase4-runtime, phonon and phonon's dependents (qjson, attica, soprano, dbusmenu-qt, qimageblitz and oxygen- icons). Then I asked to install kile-devel+debug (which was my final goal), and this time kdelibs4 didn't complain about phonon and went on with the building! I'm just guessing, but maybe the problem was that the phonon's dependents were not compiled in the +debug variant. I thought that if it was a problem macports would enforce the rebuild, so I didn't worry about that. This time they were compiled in this variant. Anyway, this time kdelibs4 has no problem with phonon, but seems to have a problem with soprano. I attach the log, but as this seems to be a different issue maybe I should open a new ticket. What do you think? -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by snc@…): As soon as I'm done testing an update for pspp-0.6.2 I'll check out kdelibs4/soprano 2.5.63. If you want to try things right now, you can checkout the previous version of soprano. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): Many of the KDE ports have been updated to 4.5.4, and we've also fixed a number of CMake configure issues along the way -- forcing CMake to use MacPorts-provided Frameworks, libraries, and headers instead of those in, e.g., /Library/Frameworks. If you do "sudo port selfupdate" and then try to build kdelibs4, does it still error? Can you post a new log file if so? -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): We're not lucky today. It still fails, and apparently with the same problem as the last time. I attach the log. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by snc@…): .so again/still? (Soprano::PluginManager) found no soprano plugin at "/opt/local/lib/soprano/libsoprano_raptorparser.so" -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): What's strange about the .so? -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by snc@…): They tend to be .dylib on the Mac. Indeed, on my computer it's a 5:1 ratio for dylibs. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): Hm. There are no dylib's in my /opt/local/lib/soprano: {{{ libsoprano_nquadparser.so libsoprano_redlandbackend.so libsoprano_nquadserializer.so libsoprano_sesame2backend.so libsoprano_raptorparser.so libsoprano_virtuosobackend.so libsoprano_raptorserializer.so }}} Is it the same for you? My soprano is soprano @2.5.63_0+debug (should be the latest) -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:20> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by michaelld@…): Those names look correct & match those installed on my MacPorts setup. Can you install soprano without +debug (just "sudo port install soprano") and see if that fixes this issue? -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:21> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon -------------------------------------------+-------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: kdelibs phonon | Port: kdelibs4 -------------------------------------------+-------------------------------- Comment(by ygramul.el.multiple@…): Yes!! That worked! I compiled soprano without +debug, and then kdelibs4 compiled without any problem! In fact, I could compile kdelibs4 with +debug! So, I think now this works :-) Thanks guys! -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon --------------------------------------------+------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: kdelibs phonon Port: kdelibs4 | --------------------------------------------+------------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => fixed Comment: You're welcome! Glad it worked ... no "we" (me, SNC, mk, etc) need to test out the +debug variant & see if we can fix that issue at least with Soprano -- until then, seems like not using it is the best option if that's possible. I'm closing this ticket as "fixed" in some sense; please do reopen it if you feel the issue fully wasn't addressed. -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27198: kdelibs4 unable to find phonon --------------------------------------------+------------------------------- Reporter: ygramul.el.multiple@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: kdelibs phonon Port: kdelibs4 | --------------------------------------------+------------------------------- Comment(by ygramul.el.multiple@…): OK, now I'm going to build several KDE apps in the +debug variant. I don't know if there will be trouble with soprano not being +debug. If there're new issues, you'll know ;) -- Ticket URL: <https://trac.macports.org/ticket/27198#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts