[opensuse-factory] quassel package not building with SSL support in Qt
Greetings, Could someone fix this. I now can't connect to my Quassel Core since the client now does not have SSL enabled. :-( The build log in factory is showing the following. [ 118s] -- Found QCA2-QT5: qca-qt5 [ 118s] -- Found execinfo (built-in) [ 118s] -- Looking for __GLIBC__ [ 118s] -- Looking for __GLIBC__ - found [ 118s] -- Performing Test _OFFT_IS_64BIT [ 118s] -- Performing Test _OFFT_IS_64BIT - Failed [ 118s] -- Performing Test HAVE_SSL [ 120s] -- Performing Test HAVE_SSL - Failed [ 120s] -- Looking for syslog.h [ 120s] -- Looking for syslog.h - found [ 120s] -- Installing data files separately [ 120s] -- Looking for umask [ 120s] -- Looking for umask - found [ 120s] -- Not installing bundled Oxygen icons [ 120s] -- Including languages: gl;sl;es;fi;sr;ko;ja;eo;mr;nb;el;sq;ru;pt;da;ro;de;pa;id;lt;fr;tr;hi;en;sv;et;uz@Latn;zh;it;hu;cs;uk;oc;pl;nl [ 120s] -- ... [ 120s] -- The following features have been disabled: [ 120s] [ 120s] * EMBED_DATA , Embed icons and translations in the binaries instead of installing them [ 120s] * SSL support in Qt , Use secure network connections [ 120s] [ 120s] -- Configuring done [ 121s] -- Generating done Notice the following lines HAVE_SSL - Failed -- The following features have been disabled: * SSL Support in Qt , Use secure network connections Can someone please fix and rebuild this for Tumbleweed. This dropped off sometime between the last few weeks. KDE Extra was building it wrong about 3 weeks ago. Thanks, -- Cameron Seader Sr. Systems Engineer SUSE cs@suse.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Dne Čt 2. července 2015 14:59:57, Cameron Seader napsal(a):
Greetings, Could someone fix this. I now can't connect to my Quassel Core since the client now does not have SSL enabled. :-(
The build log in factory is showing the following.
[ 118s] -- Found QCA2-QT5: qca-qt5 [ 118s] -- Found execinfo (built-in) [ 118s] -- Looking for __GLIBC__ [ 118s] -- Looking for __GLIBC__ - found [ 118s] -- Performing Test _OFFT_IS_64BIT [ 118s] -- Performing Test _OFFT_IS_64BIT - Failed [ 118s] -- Performing Test HAVE_SSL [ 120s] -- Performing Test HAVE_SSL - Failed [ 120s] -- Looking for syslog.h [ 120s] -- Looking for syslog.h - found [ 120s] -- Installing data files separately [ 120s] -- Looking for umask [ 120s] -- Looking for umask - found [ 120s] -- Not installing bundled Oxygen icons [ 120s] -- Including languages: gl;sl;es;fi;sr;ko;ja;eo;mr;nb;el;sq;ru;pt;da;ro;de;pa;id;lt;fr;tr;hi;en;sv;e t;uz@Latn;zh;it;hu;cs;uk;oc;pl;nl [ 120s] -- ... [ 120s] -- The following features have been disabled: [ 120s] [ 120s] * EMBED_DATA , Embed icons and translations in the binaries instead of installing them [ 120s] * SSL support in Qt , Use secure network connections [ 120s] [ 120s] -- Configuring done [ 121s] -- Generating done
Notice the following lines
HAVE_SSL - Failed
-- The following features have been disabled: * SSL Support in Qt , Use secure network connections
Can someone please fix and rebuild this for Tumbleweed. This dropped off sometime between the last few weeks. KDE Extra was building it wrong about 3 weeks ago.
Thanks, For some reason we fail the SSL check because of lacking -fPIC.
===== Performing C++ SOURCE FILE Test HAVE_SSL failed with the following output: Change Dir: /home/abuild/rpmbuild/BUILD/quassel-0.12.2/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/gmake" "cmTryCompileExec2522435533/fast" /usr/bin/gmake -f CMakeFiles/cmTryCompileExec2522435533.dir/build.make CMakeFiles/cmTryCompileExec2522435533.dir/build gmake[1]: Entering directory '/home/abuild/rpmbuild/BUILD/quassel-0.12.2/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /home/abuild/rpmbuild/BUILD/quassel-0.12.2/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building CXX object CMakeFiles/cmTryCompileExec2522435533.dir/src.cxx.o /usr/bin/c++ -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -fmessage-length=0 - grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind- tables -fasynchronous-unwind-tables -g -DNDEBUG -std=c++11 -Wall -Wextra - Wnon-virtual-dtor -fno-strict-aliasing -Wundef -Wcast-align -Wpointer-arith - Wformat-security -fno-check-new -fno-common -Woverloaded-virtual -std=c++0x - fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -DHAVE_SSL -fPIE -I/usr/include/qt5 - I/usr/include/qt5/QtCore -I/usr/lib64/qt5/mkspecs/linux-g++ -o CMakeFiles/cmTryCompileExec2522435533.dir/src.cxx.o -c /home/abuild/rpmbuild/BUILD/quassel-0.12.2/build/CMakeFiles/CMakeTmp/src.cxx In file included from /home/abuild/rpmbuild/BUILD/quassel-0.12.2/build/CMakeFiles/CMakeTmp/src.cxx:2:0: /usr/include/qt5/QtCore/qglobal.h:1052:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ ^ CMakeFiles/cmTryCompileExec2522435533.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec2522435533.dir/src.cxx.o' failed gmake[1]: *** [CMakeFiles/cmTryCompileExec2522435533.dir/src.cxx.o] Error 1 gmake[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/quassel-0.12.2/build/CMakeFiles/CMakeTmp' Makefile:117: recipe for target 'cmTryCompileExec2522435533/fast' failed gmake: *** [cmTryCompileExec2522435533/fast] Error 2 Source file was: #include "qglobal.h" #if defined QT_NO_OPENSSL || defined QT_NO_SSL # error "No SSL support" #endif int main() {} ===== Anyway no idea right now why is this not working as of now. Maybe the KDE guys will know. I will look on it tomorrow and if I fail I will just file a bug for future investigation. Cheers Tom
On Thursday 2015-07-02 23:31, Tomáš Chvátal wrote:
HAVE_SSL - Failed
-- The following features have been disabled: * SSL Support in Qt , Use secure network connections
Can someone please fix and rebuild this for Tumbleweed. This dropped off sometime between the last few weeks. KDE Extra was building it wrong about 3 weeks ago.
Thanks,
For some reason we fail the SSL check because of lacking -fPIC.
http://lists.qt-project.org/pipermail/development/2015-May/021557.html
/usr/include/qt5/QtCore/qglobal.h:1052:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
If qt5 has this stark a requirement, its pkgconfig file should output -fPIC ... as a temporary exception to the general rule that any flag that is not a -D or -I must be eradicated from .pc files because it can mess up the compilation of library-using programs in subtle ways. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Anyone have a peek at this yet? Thanks, Cameron On 07/02/2015 03:38 PM, Jan Engelhardt wrote:
On Thursday 2015-07-02 23:31, Tomáš Chvátal wrote:
HAVE_SSL - Failed
-- The following features have been disabled: * SSL Support in Qt , Use secure network connections
Can someone please fix and rebuild this for Tumbleweed. This dropped off sometime between the last few weeks. KDE Extra was building it wrong about 3 weeks ago.
Thanks,
For some reason we fail the SSL check because of lacking -fPIC.
http://lists.qt-project.org/pipermail/development/2015-May/021557.html
/usr/include/qt5/QtCore/qglobal.h:1052:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\
If qt5 has this stark a requirement, its pkgconfig file should output -fPIC ... as a temporary exception to the general rule that any flag that is not a -D or -I must be eradicated from .pc files because it can mess up the compilation of library-using programs in subtle ways.
-- Cameron Seader Sr. Systems Engineer SUSE cs@suse.com (w)208-572-0095 (M)208-420-2167 Register for SUSECon 2015 www.susecon.com -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Just noticed that. Thanks guys On 07/10/2015 02:48 AM, Tomáš Chvátal wrote:
Dne Čt 9. července 2015 10:20:49, Cameron Seader napsal(a):
Anyone have a peek at this yet?
Already fixed for few days. Will be in next snapshot.
Tom
-- Cameron Seader Sr. Systems Engineer SUSE cs@suse.com (w)208-572-0095 (M)208-420-2167 Register for SUSECon 2015 www.susecon.com
participants (3)
-
Cameron Seader
-
Jan Engelhardt
-
Tomáš Chvátal