Mailinglist Archive: opensuse-packaging (132 mails)

< Previous Next >
Re: [opensuse-packaging] libqt5
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sun, 2017-01-08 at 22:27 +0100, Axel Braun wrote:
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"

It is building now, I took liberty to commit changes directly to
Application:Geo/zyGrib

Cheers

Martin
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEwQnJ+Ps8HqIKhK3yWyRdZ/3eaFcFAlhzb8UACgkQWyRdZ/3e
aFe8Cw/9GKYXCl9gUpJzIDNJtu0Ts7b086+CgpekVvsP3w3N50W24q06z4XFi+Jz
w/XrFTAIvpkcrzo2X0RhD8mSHTzx1bthxxju/c+nMi8faNjr0ZOPK00HXRH309kq
kNnh22T+cvHVj2SvfmVjuu/oVuWLGQAGAqRGToImzmUyzAC+NsgGqmzy3g7xNCzz
JekCYHs+O7f65dCJsie2LBIDrSb2rAZQGi4f1ahITz/gVW/3HGS+oyiOTzNDrFXp
ARn1TAjgiuQZoInOs+zzdx7Wb00Sb34clrUefdyxd2IXIXgBXOEWeGbxaXE/oOjx
ia6nHjsubxBrA5osIUG1CKwRWLueoMTmHU/Z7wMWo1tQue7Dv6wi1YRrp79/+Fow
cNfbTjFpQTeujq0luARoGSFxoKGwotMT3mpHo5IdUI/hYI1QG/7n9ZZYm2DQz67d
EoUUi2kbTFkJClYdsyd7PgFsXSd5oNGiedxl4daXYllHsxiO2mEE/DLiq7Sx0BBa
y3yQCUzGIJRIdycuR2Tlu4tADalvhm5DwYqeexWAVFRJT+gbS4LriQOIhIITOSLe
DZuPfClwg2G40/LbdKmkG2sSAo8S50tD31rPNx/iWm+PAKQ/sIMqINYdXpznbk9Y
NAnY1Tts9u2ywtM2mcAdym9q/ANSGCER1BB4qqAji4fPQcvRZv8=
=fouy
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups