LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-04-2020, 03:07 AM   #1
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Rep: Reputation: Disabled
Qt5 build openssl error


My setup:
  • SlackWare current (kernel 5.4.7)
  • libinput 1.14.3
  • libxkbcommon 0.9.1
  • libwebp (1.0.3) [optional dependency]
  • opus (1.3.1) [optional dependency]
  • pcre2 (10.33) [optional dependency]
  • snappy (1.1.3) [optional dependency]

~ % sudo slackpkg search openssl
Code:
Password:

Looking for openssl in package list. Please wait... DONE

The list below shows all packages with name matching "openssl".

[ installed ] - openssl-solibs-1.1.1d-x86_64-1
[ installed ] - openssl10-solibs-1.0.2u-x86_64-1
[ installed ] - openssl-1.1.1d-x86_64-1
[ installed ] - openssl10-1.0.2u-x86_64-1

You can search specific files using "slackpkg file-search file".
Problem: I want to build Qt5 (5.9.9) but fails to with the following errors...
Code:
ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && libs.openssl' failed.
ERROR: Feature 'openssl' was enabled, but the pre-condition '!features.securetransport && (features.openssl-linked || libs.openssl_headers)' failed.
I have openssl installed but what do I miss out on?

Last edited by unInstance; 01-05-2020 at 04:02 PM. Reason: Marked as solved
 
Old 01-04-2020, 04:28 AM   #2
hj1967
Member
 
Registered: Jun 2011
Location: Nunspeet, The Netherlands
Distribution: Slackware x64
Posts: 39

Rep: Reputation: Disabled
If you want to use OpenSSL 1.1 and Qt 5 you can better try Qt 5.12.6 which is also an LTS release.

See this message: https://development.qt-project.narki...-on-qt-5-6-5-9
 
1 members found this post helpful.
Old 01-04-2020, 08:23 AM   #3
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by unInstance View Post
Problem: I want to build Qt5 (5.9.9) but fails to with the following errors...
That version (5.9.9) and its SlackBuild is for release 14.2 (and its openssl 1.02), not for -current. So either use a newer version of QT or downgrade openssl to the openssl 1.02 version OF 14.2. This qt version will not work with with openssl 1.1 (which is one of the reasons why Slackware 14.2 still uses 1.0 versions).
 
1 members found this post helpful.
Old 01-04-2020, 10:51 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
as earthman stated you are just using a repository where scripts has not been tested/targeted for current, try the one linked in this topic: in the specific case of qt5 contains various fixes for the new gcc in current and a patch provided by Ole-André Rodlie that ports openssl-1.1.x support to qt5-5.9.x.
also, the linked repository removes the SlackBuilds already provided by current, so that you don't overwrite stock packages in current with the version in SBo (as you seem to have done with libinput, libwebp, opus and pcre2).
 
1 members found this post helpful.
Old 01-04-2020, 10:54 AM   #5
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
as earthman stated you are just using a repository where scripts has not been tested/targeted for current, try the one linked in this topic: in the specific case of qt5 contains various fixes for the new gcc in current and a patch provided by Ole-André Rodlie that ports openssl-1.1.x support to qt5-5.9.x.
also, the linked repository removes the SlackBuilds already provided by current, so that you don't overwrite stock packages in current with the version in SBo (as you seem to have done with libinput, libwebp, opus and pcre2).
I am intended to just build new LTS from sources.
 
Old 01-04-2020, 11:03 AM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by unInstance View Post
I am intended to just build new LTS from sources.
if you will clone the git repository linked in that topic, you will find the patches you need for the SlackBuild in the libraries/qt5 directory.
you can also download the files you need from the cgit interface, but it's much easier to download all the repository and have everything you need already there, do as you prefer.

Last edited by ponce; 01-04-2020 at 11:15 AM.
 
1 members found this post helpful.
Old 01-04-2020, 05:12 PM   #7
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
if you will clone the git repository linked in that topic, you will find the patches you need for the SlackBuild in the libraries/qt5 directory.
you can also download the files you need from the cgit interface, but it's much easier to download all the repository and have everything you need already there, do as you prefer.
Thanks for information about SlackBuilds and current SlackWare. I turned to SlackWare's newer software versions rather instead of old SlackBuilds.
 
Old 01-05-2020, 01:25 AM   #8
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by unInstance View Post
I turned to SlackWare's newer software versions rather instead of old SlackBuilds.
it's not important that they may be older or newer, but that they may differ in some way, so we better stick with a common platform.

Last edited by ponce; 01-05-2020 at 01:53 AM.
 
1 members found this post helpful.
Old 01-05-2020, 03:48 PM   #9
unInstance
Member
 
Registered: Jan 2020
Distribution: Slackware
Posts: 161

Original Poster
Rep: Reputation: Disabled
Short story: I configured sbopkg to install from current branch and managed to build Qt5.

Full story: First off I tried to build Qt5 from official repository, I have spent the whole night waiting for it to fail. I got specific errors at first that I fixed but then it decided to fail and suggest me to make a bug report instead of giving out something concrete. At that point I screamed "fuck you, bloated mess" because I had spend two nights trying to build it. My thermal paste must have evaporated as a result. Then I read this topic again, moved sbopkg over to current branch, finally managed to build Qt and Qt depended applications.
 
  


Reply

Tags
gui, openssl, qt5



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] QT5 failed build from sbopkg Gugur Slackware 5 03-08-2018 02:01 AM
[SOLVED] Can't Build qt5 with slackrepo in VM bilbod Slackware 15 05-03-2017 02:30 AM
QT5 won't build, don't understand error message Ook Slackware 2 10-26-2015 02:21 PM
[SOLVED] SBo + sbopkg, qt5 build parallel a4z Slackware 3 10-12-2014 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration