[MacPorts] #57332: kde4-workspace fails to build under Mojave

MacPorts noreply at macports.org
Wed Oct 10 19:01:59 UTC 2018


#57332: kde4-workspace fails to build under Mojave
-----------------------------+----------------------
  Reporter:  cs0rfecs0rfe    |      Owner:  RJVB
      Type:  defect          |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.5.4
Resolution:                  |   Keywords:
      Port:  kde4-workspace  |
-----------------------------+----------------------

Comment (by cs0rfecs0rfe):

 Replying to [comment:8 RJVB]:
 > Erm, from what tree did you get the port, i.e. what does `port dir
 kde4-workspace` print? Or did you maybe apply the patch twice, the errors
 above suggest that? Actually, that's the only scenario where these exact
 errors would make sense.
 >
 > Either way you're now getting a lot further but there are 3 or 4 other
 and highly similar errors. Which I cannot reproduce, and which don't seem
 to make sense.
 >
 > The errors about missing typeinfo and vtable do ring a bell; I've seen
 that happen in Qt5 code (under QMake control) because of a missing moc
 file, but in KDE software (which is under CMake control) that should give
 a missing file error much earlier during the build.
 >
 > The only thing I can suggest at this point is to clean the build again
 and try with the same compiler I have been able to test with: clang 5.0
 from MacPorts. At least we can then exclude the possibility that the
 system clang has introduced some subtle incompatibility.
 > For that, do `sudo port -s install kde4-workspace configure.compiler
 =macports-clang-5.0` . BTW, if you don't plan to use the oxygen style you
 can speed up things a bit (and get rid of 1 error) by disabling the style;
 add `-oxygen` just after the port name.
 > If you're handy with a text editor and cli-fu I can give some
 instructions how to skip the git checkout step which takes a couple of
 minutes (for me).
 >
 > BTW, did you already install other KDE4 ports? The kde4-workspace port
 is of interest only (on Mac) if you want to be able to configure a small
 selection of KDE configurable things (incl. icon theme, fonts, widget
 style) without editing the configuration files by hand. It does not
 provide a full plasma desktop, that's not possible on Mac.




 Many thanks for rapid and detailed response.

 a) Yes, it's possible I applied the patch twice - sorry about that. For
 what it's worth, {{{port dir kde4-workspace}}} returns:

 {{{
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/kde/kde4-workspace
 }}}

 b) I'll have a go with clang and report back

 c) Yes, I'm cli/text-editor compliant!

 d) I've installed several of the KDE ports - (I'm really interested in
 okteta, konsole, kwrite and konqueror) but I have problem with them (a bad
 'flashing' when they seem to refresh some of their window components out
 of sync). In order to try and fix that I *think* I need to set the 'look
 and feel' (?) to qtcurve. I'd assumed I need systemsettings (which is part
 of kde-workspace) to do that, but I guess
 from what you say there must be a configuration file somewhere I could
 edit. If I can get systemsettings sorted I'll raise another ticket for my
 flashing problem.

-- 
Ticket URL: <https://trac.macports.org/ticket/57332#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list