Hello Martin, Am Sonntag, 8. Januar 2017, 21:16:18 CET schrieb Martin Pluskal:
On 08.01.2017 20:00, Axel Braun wrote:
Hi Martin,
Am Sonntag, 8. Januar 2017, 19:17:08 CET schrieb Martin Pluskal:
On 08.01.2017 14:09, Axel Braun wrote:
Am Dienstag, 3. Januar 2017, 11:18:40 CET schrieb Karl Cheng:
Hi, in openSUSE I believe the Qt 5 version is found in `/usr/bin/qmake-qt5`. You can find the package which has it by running `cnf qmake-qt5`.
Indeed, it is called qmake-qt5. With this hint I could get one step further, but get now stuck when compiling the qwt-widgets:
[ 71s] compiling qwt_slider.cpp [ 71s] compiling qwt_thermo.cpp [ 71s] compiling qwt_wheel.cpp [ 72s] moc qwt_dyngrid_layout.h [ 72s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std" [ 72s] Makefile:739: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed [ 72s] make[1]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 1 [ 72s] make[1]: *** Waiting for unfinished jobs.... [ 73s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/zyGrib-8.0.1/ src/qwt-6.1.3/src'
Anyone an idea?
In https://build.opensuse.org/build/home:DocB:branches:Application:Geo/openS USE _Tumbleweed/x86_64/zyGrib/_log I see that build fails due to missing libjasper-devel buildrequirement.
The error in Tumbleweed is obviously a different one from 42.2, where I was focused on. After adding libjasper and libpng-devel Tumbleweed builds now. Error in Leap remains the same.
I see
for Leap you need to use more recent compiler than defaul gcc-4.8, something along: Index: zyGrib.spec =================================================================== --- zyGrib.spec (revision c6eaca7520366bef852878999e637894) +++ zyGrib.spec (working copy) @@ -29,8 +29,8 @@ Source2: %{name}.desktop # PATCH-FIX-QWT Fix qwt path Patch1: %{name}624.patch -BuildRequires: gcc -BuildRequires: gcc-c++ +BuildRequires: gcc5 +BuildRequires: gcc5-c++ #qmake -> BuildRequires: codelite BuildRequires: libjpeg-devel @@ -78,7 +78,11 @@ %patch1 -p1
%build -make %{?_smp_mflags} +pushd src +%qmake5 +popd +#make %{?_smp_mflags} CC=gcc5 CXX=g++-5 +make %{?_smp_mflags} CC=gcc5 CXX=g++-5
That patch does unfortunaltey not work, neither for TW nor for Leap. In Leap it still fails with [ 116s] usr/include/c++/4.8/bits/stl_relops.:67: Parse error at "std" Why does it take the 4.8-include, and not the 5-include? docb@T520:~> dir /var/tmp/build-root/openSUSE_Leap_42.2-x86_64/usr/include/c+ +/ insgesamt 0 drwxr-xr-x 1 root root 1296 8. Jan 22:05 4.8 drwxr-xr-x 1 root root 1358 8. Jan 22:05 5 Cheers Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org