Discussion:
[Interest] Interest Digest, Vol 86, Issue 17
r***@logikalsolutions.com
2018-11-29 12:55:47 UTC
Permalink
Can you find the section of the config.log where it tried to find openssl and
failed? It will have an error message there.
If you are asking to help solve the problem, the problem is solved by
installing

libssl.0-dev

on 18.04. Something seems to be hard coded for this specific version
instead of floating with whatever libssl-dev installs.

If you are asking because you want me to paste error here so configure
can be fixed, I will try to set up another Dev VM some time before
Monday to reproduce the error and paste the message. Sadly, I blasted
rather than preserving the directory where I did that particular build.
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
Konstantin Tokarev
2018-11-29 14:56:01 UTC
Permalink
Post by r***@logikalsolutions.com
 Can you find the section of the config.log where it tried to find openssl and
 failed? It will have an error message there.
If you are asking to help solve the problem, the problem is solved by
installing
libssl.0-dev
on 18.04. Something seems to be hard coded for this specific version
instead of floating with whatever libssl-dev installs.
libssl-dev installs OpenSSL 1.1 which breaks API compatibility and wasn't supported
yet in 5.9.x series
Post by r***@logikalsolutions.com
If you are asking because you want me to paste error here so configure
can be fixed, I will try to set up another Dev VM some time before
Monday to reproduce the error and paste the message. Sadly, I blasted
rather than preserving the directory where I did that particular build.
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
_______________________________________________
Interest mailing list
https://lists.qt-project.org/listinfo/interest
--
Regards,
Konstantin
r***@logikalsolutions.com
2018-11-29 15:18:29 UTC
Permalink
In case Thiago wanted this, I sacrificed a laptop while setting up
other test environments this morning.

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.

Check config.log for details.

looking for library openssl
Trying source 0 (type openssl) of library openssl ...
$OPENSSL_LIBS is not set.
=> source produced no result.
Trying source 1 (type inline) of library openssl ...
=> source failed condition 'config.win32 && !features.shared'.
Trying source 2 (type inline) of library openssl ...
=> source failed condition 'config.win32 && features.shared'.
Trying source 3 (type inline) of library openssl ...
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && /home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'LIBS += -lssl -lcrypto'
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && MAKEFLAGS=
/usr/bin/make
g++ -c -pipe -O2 -w -fPIC
-I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl -I. -I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/linux-g++ -o openssl.o
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp:43:4: error: #error "OpenSSL >= 0.9.7, and < 1.1.0 is
required"
# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
^~~~~
Makefile:170: recipe for target 'openssl.o' failed
make: *** [openssl.o] Error 1
=> source failed verification.
test config.network.libraries.openssl FAILED
looking for library openssl_headers
Trying source 0 (type inline) of library openssl_headers ...
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && /home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch"
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS=
/usr/bin/make
rm -f openssl.o
rm -f *~ core *.core
g++ -c -pipe -O2 -w -fPIC
-I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl -I. -I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/linux-g++ -o openssl.o
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp:43:4: error: #error "OpenSSL >= 0.9.7, and < 1.1.0 is
required"
# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
^~~~~
Makefile:170: recipe for target 'openssl.o' failed
make: *** [openssl.o] Error 1
=> source failed verification.
test config.network.libraries.openssl_headers FAILED


Rather interesting situation though Konstantin. Basically 5.9.7 LTS
has a configure which won't work with 18.04 LTS out of the box. Rather
than just an error message buried in the log it should print something
out in the summary given the work around is known. I mean it already
prints all of this note stuff.

ALSA ................................... yes
PulseAudio ............................. yes
System libraries:
re2 .................................. no
ICU .................................. no
libwebp and libwebpdemux ............. no
Opus ................................. no
ffmpeg ............................... no

Note: Also available for Linux: linux-clang linux-icc

Note: Dropped compiler flags '-pthread' when detecting library 'glib'.

Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.


so something along the lines of

"Note: trying installing libssl.0-dev if the default for your system
is OpenSSL 1.1 which breaks API compatibility"
Post by r***@logikalsolutions.com
 Can you find the section of the config.log where it tried to find openssl and
 failed? It will have an error message there.
If you are asking to help solve the problem, the problem is solved by
installing
libssl.0-dev
on 18.04. Something seems to be hard coded for this specific version
instead of floating with whatever libssl-dev installs.
libssl-dev installs OpenSSL 1.1 which breaks API compatibility and wasn't supported
yet in 5.9.x series
Post by r***@logikalsolutions.com
If you are asking because you want me to paste error here so configure
can be fixed, I will try to set up another Dev VM some time before
Monday to reproduce the error and paste the message. Sadly, I blasted
rather than preserving the directory where I did that particular build.
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
_______________________________________________
Interest mailing list
https://lists.qt-project.org/listinfo/interest
--
Regards,
Konstantin
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
Filip Piechocki
2018-11-29 16:15:26 UTC
Permalink
Yes, it would be even better if it would just call 'sudo apt install
libssl1.0-dev' and brought you a coffee in the meantime...

It is no rocket science to check the config tests logs when something
is not going the way you would expect. I would rather say - that is
the standard procedure in such case and it would take you like 5
minutes to deal with the issue. A lot less than this discussion on
mailing list.

BR
Filip
Post by r***@logikalsolutions.com
In case Thiago wanted this, I sacrificed a laptop while setting up
other test environments this morning.
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.
Check config.log for details.
looking for library openssl
Trying source 0 (type openssl) of library openssl ...
$OPENSSL_LIBS is not set.
=> source produced no result.
Trying source 1 (type inline) of library openssl ...
=> source failed condition 'config.win32 && !features.shared'.
Trying source 2 (type inline) of library openssl ...
=> source failed condition 'config.win32 && features.shared'.
Trying source 3 (type inline) of library openssl ...
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && /home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'LIBS += -lssl -lcrypto'
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && MAKEFLAGS=
/usr/bin/make
g++ -c -pipe -O2 -w -fPIC
-I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl -I. -I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/linux-g++ -o openssl.o
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp:43:4: error: #error "OpenSSL >= 0.9.7, and < 1.1.0 is
required"
# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
^~~~~
Makefile:170: recipe for target 'openssl.o' failed
make: *** [openssl.o] Error 1
=> source failed verification.
test config.network.libraries.openssl FAILED
looking for library openssl_headers
Trying source 0 (type inline) of library openssl_headers ...
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && /home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch"
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS=
/usr/bin/make
rm -f openssl.o
rm -f *~ core *.core
g++ -c -pipe -O2 -w -fPIC
-I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl -I. -I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/linux-g++ -o openssl.o
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp:43:4: error: #error "OpenSSL >= 0.9.7, and < 1.1.0 is
required"
# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
^~~~~
Makefile:170: recipe for target 'openssl.o' failed
make: *** [openssl.o] Error 1
=> source failed verification.
test config.network.libraries.openssl_headers FAILED
Rather interesting situation though Konstantin. Basically 5.9.7 LTS
has a configure which won't work with 18.04 LTS out of the box. Rather
than just an error message buried in the log it should print something
out in the summary given the work around is known. I mean it already
prints all of this note stuff.
ALSA ................................... yes
PulseAudio ............................. yes
re2 .................................. no
ICU .................................. no
libwebp and libwebpdemux ............. no
Opus ................................. no
ffmpeg ............................... no
Note: Also available for Linux: linux-clang linux-icc
Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
so something along the lines of
"Note: trying installing libssl.0-dev if the default for your system
is OpenSSL 1.1 which breaks API compatibility"
Post by r***@logikalsolutions.com
Can you find the section of the config.log where it tried to find openssl and
failed? It will have an error message there.
If you are asking to help solve the problem, the problem is solved by
installing
libssl.0-dev
on 18.04. Something seems to be hard coded for this specific version
instead of floating with whatever libssl-dev installs.
libssl-dev installs OpenSSL 1.1 which breaks API compatibility and wasn't supported
yet in 5.9.x series
Post by r***@logikalsolutions.com
If you are asking because you want me to paste error here so configure
can be fixed, I will try to set up another Dev VM some time before
Monday to reproduce the error and paste the message. Sadly, I blasted
rather than preserving the directory where I did that particular build.
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
_______________________________________________
Interest mailing list
https://lists.qt-project.org/listinfo/interest
--
Regards,
Konstantin
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
_______________________________________________
Interest mailing list
https://lists.qt-project.org/listinfo/interest
r***@logikalsolutions.com
2018-11-29 16:20:58 UTC
Permalink
A lot less than this discussion on mailing list.
Actually no. The error message wasn't "solution useful" it was only
"error useful." One still needed to find out what package it really
wanted. Now it is documented in the list and __hopefully__ Ask,
DuckDuckGo or Bing indexes it.

Never drink coffee. It's the beverage of the damned.
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593

http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
Continue reading on narkive:
Loading...