Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#43366 closed defect (duplicate)

[kde4-runtime] [version 1] [configure failure... failed to install]

Reported by: jonathan.nissenbaum@… Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: kde4-runtime

Description (last modified by mf2k (Frank Schima))

I am trying to install kdenlive on a new computer (MacOS 10.9.2). I installed all the dependencies except for kde4-runtime, and continue to get the same error. The relevant part of the log file (as far as I am able to tell) is:

:info:configure Makefile:117: recipe for target 'cmTryCompileExec1604179063/fast' failed
:info:configure gmake: *** [cmTryCompileExec1604179063/fast] Error 2
:info:configure 
:info:configure CMake Error at /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:1377 (message):
:info:configure   Qt compiled without support for -fvisibility=hidden.  This will break
:info:configure   plugins and linking of some applications.  Please fix your Qt installation
:info:configure   (try passing --reduce-exports to configure).
:info:configure Call Stack (most recent call first):
:info:configure   /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
:info:configure   CMakeLists.txt:18 (find_package)
:info:configure 
:info:configure 
:info:configure -- Configuring incomplete, errors occurred!

I have seen other reports of this error but — and please forgive me! — I am not sure what steps to take in order to address this. If you could point me to the right direction I would be really grateful. If necessary I can attach the whole log file. -Jon

Attachments (2)

main.log (23.2 KB) - added by jonathan.nissenbaum@… 10 years ago.
main.2.log (303.1 KB) - added by jonathan.nissenbaum@… 10 years ago.
kdenlive main.log

Download all attachments as: .zip

Change History (10)

comment:1 Changed 10 years ago by jonathan.nissenbaum@…

I am trying to install kdenlive on a new computer (MacOS 10.9.2). I installed all the dependencies except for kde4-runtime, and continue to get the same error. The relevant part of the log file (as far as I am able to tell) is:

:info:configure Makefile:117: recipe for target 'cmTryCompileExec1604179063/fast' failed
:gmake: * [cmTryCompileExec1604179063/fast] Error 2
:
:CMake Error at /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:1377 (message):
:Qt compiled without support for -fvisibility=hidden. This will break
:plugins and linking of some applications. Please fix your Qt installation
:(try passing --reduce-exports to configure).
:Call Stack (most recent call first): :info:configure /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package) :CMakeLists.txt:18 (find_package)
:
:-- Configuring incomplete, errors occurred!

I have seen other reports of this error but — and please forgive me! — I am not sure what steps to take in order to address this. If you could point me to the right direction I would be really grateful. If necessary I can attach the whole log file. -Jon

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to nicos@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers kde4-runtime).

Please attach the main.log

comment:3 Changed 10 years ago by jonathan.nissenbaum@…

Ok, here's the main.log

Changed 10 years ago by jonathan.nissenbaum@…

Attachment: main.log added

comment:4 in reply to:  2 Changed 10 years ago by jonathan.nissenbaum@…

Just curious to know whether you got the attachment and were able to find anything useful in it. I really appreciate your help! -Jon

comment:5 Changed 10 years ago by jonathan.nissenbaum@…

Update: I did manage to install kde4-runtime (I'll describe the steps below). BUT... Now that I have all the dependencies installed for kdenlive, I tried installing kdenlive itself and have run into the very same problem. Again, the relevant portion of the main.log seems to be the following:

:info:configure gmake[1]: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_kdenlive/kdenlive/work/build/CMakeFiles/CMakeTmp'
:info:configure Makefile:117: recipe for target 'cmTryCompileExec1864267272/fast' failed
:info:configure gmake: *** [cmTryCompileExec1864267272/fast] Error 2
:info:configure 
:info:configure CMake Error at /opt/local/share/apps/cmake/modules/FindKDE4Internal.cmake:1377 (message):
:info:configure   Qt compiled without support for -fvisibility=hidden.  This will break
:info:configure   plugins and linking of some applications.  Please fix your Qt installation
:info:configure   (try passing --reduce-exports to configure).
:info:configure Call Stack (most recent call first):
:info:configure   /opt/local/share/cmake-2.8/Modules/FindKDE4.cmake:95 (find_package)
:info:configure   CMakeLists.txt:51 (find_package)
:info:configure 
:info:configure 
:info:configure -- Configuring incomplete, errors occurred!

I'm attaching the main.log to this.

The steps I took that ended up with a successful installation of kde4-runtime were:

sudo port clean kde4-runtime
sudo port clean --all installed
sudo port -d selfupdate
sudo port -u upgrade outdated
sudo port install kdenlive

At which point, instead of getting the usual uninformative "command execution failed", I got an instruction to use

sudo port -f activate kde4-runtime

...which did the trick. The same (corresponding) sequence of steps did not work for installing kdenlive itself.

-Jon

Changed 10 years ago by jonathan.nissenbaum@…

Attachment: main.2.log added

kdenlive main.log

comment:6 Changed 10 years ago by NicosPavlov

Resolution: duplicate
Status: newclosed

The issues you are encountering seem to be related to #41321, although one slight difference is that you report the error for Macports 2.2.1, which did not seem to have problems. I'll mark this ticket as duplicate, as the patches in the mentioned ticket should solve the issue.

comment:7 Changed 10 years ago by jonathan.nissenbaum@…

Ok thanks for this. But I am not sure what exactly I should do. Should I paste the code from your patch directly into terminal? At what point / how do I apply it? Very sorry but I’m pretty ignorant about this.

-Jon

comment:8 Changed 10 years ago by NicosPavlov

You can apply the patch before installing kde4-runtime. The command to apply the patch from the Terminal should be

sudo patch ${prefix}/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/cmake-1.0.tcl < ${path_to_patch}

where ${prefix} is the macports prefix (/opt/local for a standard installation) and ${patch_to_patch} is the absolute path to the patch.

Please note however that this is partly a workaround, as any call to selfupdate will revert your change, as long as the patch has not been committed. It will nevertheless stay as long as you don't run it, in case you have several kde ports to install.

Note: See TracTickets for help on using tickets.