jheinen / GR.jl

Plotting for Julia based on GR, a framework for visualisation applications
Other
357 stars 77 forks source link

Qt 5.13 on Arch Linux #238

Open mikkling opened 5 years ago

mikkling commented 5 years ago

I had problems using Plots with GR on Julia 1.1.1, and it seems it had to do with package qt5-base on Arch Linux official repo being version 5.12. Repo extra contains version 5.13; downloading and installing that binary solved my issues.

FlorianRhiem commented 5 years ago

Previously we have been using our generic Linux build (based on CentOS 6) for Arch Linux. GR 0.41.0 was the first version for which we built a distinct Arch Linux build, based on the archlinux/base Docker image. Apparently, this image has the extra and community repos activated by default, which is why Qt 5.13 was used during the build.

What repo are you finding Qt 5.12 in? The core repo doesn't seem to have any version of Qt in it.

mikkling commented 5 years ago

The core repo has qt5-base (v5.12). The extra repo has v5.13. It wasn’t exactly easy to find, but googling ‘arch linux extra qt5-base’ should give you the link.

|m|

Mikael Klingvall +46708917249

2 aug. 2019 kl. 19:35 skrev Florian Rhiem notifications@github.com:

Previously we have been using our generic Linux build (based on CentOS 6) for Arch Linux. GR 0.41.0 was the first version for which we built a distinct Arch Linux build, based on the archlinux/base Docker image. Apparently, this image has the extra and community repos activated by default, which is why Qt 5.13 was used during the build.

What repo are you finding Qt 5.12 in? The core repo doesn't seem to have any version of Qt in it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mikkling commented 5 years ago

I’ll post the link tomorrow.

|m|

Mikael Klingvall +46708917249

2 aug. 2019 kl. 19:35 skrev Florian Rhiem notifications@github.com:

Previously we have been using our generic Linux build (based on CentOS 6) for Arch Linux. GR 0.41.0 was the first version for which we built a distinct Arch Linux build, based on the archlinux/base Docker image. Apparently, this image has the extra and community repos activated by default, which is why Qt 5.13 was used during the build.

What repo are you finding Qt 5.12 in? The core repo doesn't seem to have any version of Qt in it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

mikkling commented 5 years ago

https://www.archlinux.org/packages/extra/x86_64/qt5-base/

|m|

Mikael Klingvall +46708917249

3 aug. 2019 kl. 03:12 skrev Mikael Klingvall mikael.klingvall@gmail.com:

I’ll post the link tomorrow.

|m|

Mikael Klingvall +46708917249

2 aug. 2019 kl. 19:35 skrev Florian Rhiem notifications@github.com:

Previously we have been using our generic Linux build (based on CentOS 6) for Arch Linux. GR 0.41.0 was the first version for which we built a distinct Arch Linux build, based on the archlinux/base Docker image. Apparently, this image has the extra and community repos activated by default, which is why Qt 5.13 was used during the build.

What repo are you finding Qt 5.12 in? The core repo doesn't seem to have any version of Qt in it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

FlorianRhiem commented 5 years ago

That's the one I found and the build images are using this package. I am unable to find qt5-base in version 5.12 in core and if I disable extra and community from pacman.conf, leaving only core behind, I get:

[root@a893e9fca2b1 /]# pacman -Sy qt5-base
:: Synchronizing package databases...
 core is up to date
error: target not found: qt5-base

This would fit the Arch wiki description that packages like Xorg belong to extra.

mikkling commented 5 years ago

I got version 5.13 when I downloaded the binary from mirror (link on the right-hand side of the package page that I linked to).

|m|

Mikael Klingvall +46708917249

5 aug. 2019 kl. 08:26 skrev Florian Rhiem notifications@github.com:

That's the one I found and the build images are using this package. I am unable to find qt5-base in version 5.12 in core and if I disable extra and community from pacman.conf, leaving only core behind, I get:

[root@a893e9fca2b1 /]# pacman -Sy qt5-base :: Synchronizing package databases... core is up to date error: target not found: qt5-base This would fit the Arch wiki description that packages like Xorg belong to extra.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

FlorianRhiem commented 5 years ago

So the package you had before was from extra already, but from an out-of-date mirror?

mikkling commented 5 years ago

From both core and extra. Both “pacman -S qt5-base” and “pacman-S extra/qt5-base” gave me old versions.

|m|

Mikael Klingvall +46708917249

5 aug. 2019 kl. 13:12 skrev Florian Rhiem notifications@github.com:

So the package you had before was from extra already, but from an out-of-date mirror?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

FlorianRhiem commented 5 years ago

Great, then I can leave the Dockerfiles for our Arch build images as they are. The images themselves are built on a weekly basis, so whenever a new version of GR is released the binaries will use packages that are at most a week old.