Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building kf5-kate #9

Closed
s1bit opened this issue Jun 25, 2017 · 13 comments
Closed

Building kf5-kate #9

s1bit opened this issue Jun 25, 2017 · 13 comments

Comments

@s1bit
Copy link

s1bit commented Jun 25, 2017

While installing qt5-qtbase I get this:
main.log.txt
So, the problem is installed qt5-kde, which seems to conflict with qt5-qtbase. However, the both ports are ones that kf5-kate depends on.

@RJVB
Copy link
Owner

RJVB commented Jun 25, 2017 via email

@s1bit
Copy link
Author

s1bit commented Jun 25, 2017

This most likely means you messed up something somewhere. Did you follow the instructions to copy the Qt5 portgroups from my repository into the main portgroup directory?

Apparently I've messed up something. Otherwise it would work I believe. I did copy your portgroup files (all of them, in fact) to var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group. Is that the correct destination?

@RJVB
Copy link
Owner

RJVB commented Jun 25, 2017 via email

@s1bit
Copy link
Author

s1bit commented Jun 25, 2017

Looks like it could be; did it have qt5-1.0.tcl, qmake5-1.0.tcl, cmake-1.0.tcl etc.?

Yes, it has all of that.

port dir qt5-qtbase

/testports2/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5

Do you see qt5-qtbase in the output of port rdeps kf5-kate and if so, where?

No, there is no qt5-qtbase.

@RJVB
Copy link
Owner

RJVB commented Jun 25, 2017 via email

@s1bit
Copy link
Author

s1bit commented Jun 26, 2017

So, if I start with no ports installed:
$ port rdeps kf5-kate
...
phonon-qt5
  qt5-qtbase
    gawk
  qt5-qttools
    qt5-qtxmlpatterns
    qt5-qtdeclarative
    qt5-sqlite-plugin
...

What about adding 'set qt5.prefer_kde 1' to the phonon portfile?

@RJVB
Copy link
Owner

RJVB commented Jun 27, 2017 via email

@s1bit
Copy link
Author

s1bit commented Jun 27, 2017

Did you uninstall everything, or deactivate everything?

I started with a brand new MacPorts installation.

phonon-qt5 is not a direct dependency of kf5-kate, so how did you get at it? When I look at the Kate rdeps I see phonon-qt5 via kf5-kinit -> kf5-kio ->kf5-knotifications -> phonon-qt5 .

Sorry, I skipped the full tree. Yes, it's kf5-kinit -> kf5-kio -> kf5-knotifications -> phonon-qt5 -> qt5-qtbase.

Is there any difference when you do the following?
port rdeps kf5-kate +qt5kde

Yes, there is no qt5-qtbase, qt5-qttools in the tree.

That I could do - but have you checked if that solves the issue?

I've checked. It does solve the issue.

It still doesn't make a lot of sense, though. First, it shouldn't be necessary if you follow the recommended method of installing qt5-kde first. That's my biggest concern here: as far as I understand you had qt5-kde installed when you ran into the conflict.

Yes, it shouldn't be necessary if I had qt5-kde installed. But I started with zero ports installed. I typed 'port install kf5-kate'. With the phonon portfile fix I got it through without an error (for the first time).

@RJVB
Copy link
Owner

RJVB commented Jun 27, 2017 via email

@s1bit
Copy link
Author

s1bit commented Jun 29, 2017

Note that it is not a big secret that installing dependencies explicitly can sometimes be a good idea, for instance to avoid certain install variants from propagating.

I tried that at some point also. But there was the qttools port among the dependencies and I installed it first...

Thanks to your experience (and patience) I have now updated my instructions to indicate that the recommended procedure is to install port:qt5-kde first, but that you can also provide the +qt5kde variant explicitly during the initial install.

Yes, I noticed that when you wrote that there was a 'recommended' way to install kf5 ports. Thank you for your work on the project! How far do you think kf5 stuff from including into the official port repository?

@RJVB
Copy link
Owner

RJVB commented Jun 29, 2017 via email

@s1bit
Copy link
Author

s1bit commented Jul 8, 2017

Hello.

Qttools is a build dependency for all KF5 ports, but is provided by qt5-kde.

I did not know that and since qttools was one of the dependencies, I installed it. Anyway, it does not matter now.

I have the impression it isn't exactly getting any closer to that (= no movement or sound for months now).

Doesn't sound very promising... Well, I could try to help a bit.

@RJVB
Copy link
Owner

RJVB commented Jul 8, 2017 via email

@s1bit s1bit closed this as completed Jan 24, 2018
RJVB added a commit that referenced this issue Aug 23, 2024
… of `supported_archs`

should be helpful porting a port to a new architecture.

See: #9
Committed from host : Bola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants