Opened 7 years ago

Last modified 3 years ago

#44398 new defect

kdelibs4 configure failure

Reported by: ryandesign (Ryan Schmidt) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version: 2.3.99
Keywords: Cc: mkae (Marko Käning), chrstphrchvz (Christopher Chavez)
Port: kdelibs4


kdelibs4 @4.12.5_3 is failing to configure for me. kdelibs4 @4.12.5_1 is currently installed. I'm actually having trouble reading the log and figuring out what the problem is. I do see:

-- Performing Test HAVE_QSSLSOCKET
-- Performing Test HAVE_QSSLSOCKET - Failed
CMake Error at kdecore/network/ConfigureChecks.cmake:22 (message):
  KDE Requires Qt to be built with SSL support
Call Stack (most recent call first):
  kdecore/CMakeLists.txt:23 (include)

However, qt4-mac is of course installed with ssl support (there is no option not to do that).

Attachments (1)

main.log (54.7 KB) - added by ryandesign (Ryan Schmidt) 7 years ago.

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by ryandesign (Ryan Schmidt)

Attachment: main.log added

comment:1 Changed 7 years ago by NicosPavlov

I cannot reproduce the issue, but for reference, kdecore/CMakeLists.txt at line 23 is:


and the file ConfigureChecks.cmake contains the test:

"#include <QtNetwork/QSslSocket>
int main()
    QSslSocket *socket;
    return 0;
    message(SEND_ERROR "KDE Requires Qt to be built with SSL support")

which means that it is again a case where cmake tries to compile some code, fails for any reason, and gives the issue at the place of the code, which is not necessarily linked to ssl here. It seems very similar to #41321, where there were issues with how cmake was configured. I strongly suspect that the recent changes to the cmake portgroup, which reverted some of the changes related to #41321, induced a regression (see in particular r122298 and r122339, linked to #44125).

I suspect that even kdelibs4@4.12.5_1 would also fail the configure stage, but by reverting the cmake portgroup and cmake to 3.0.0_2, the error of this ticket would not happen.

comment:2 Changed 7 years ago by ryandesign (Ryan Schmidt)

I've been having problems building kdelibs4 for over a week already, but only reported it now. But I don't know if the error I got earlier was the same or different.

comment:3 Changed 7 years ago by NicosPavlov

I see. I saw two differences between your log and my system. The first one is that you have
while mine is
which is probably as you have configure.sdkroot set, but this should not be the issue, as setting the sdk was not causing configure errors previously.

The other one is universal build, that I could not test yet, because of other ports issues to rebuild the set.

Nevertheless, the log shows that there is an issue with cmake trying to build anything, as all tests based on compilation tests, such as

:info:configure -- Performing Test HAVE_X86_SSE
:info:configure -- Performing Test HAVE_X86_SSE - Failed

which is based on

check_cxx_source_compiles("int main() { __asm { xorps xmm0, xmm0 }; }" HAVE_X86_SSE)

The error announced about ssl is just the one picked up within many others, even though I do not know what is causing this.

comment:4 Changed 7 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:5 Changed 7 years ago by mkae (Marko Käning)

Is this still an issue?

comment:6 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

No activity on this ticket in over 4 years, should this be closed?

comment:7 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.