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

MacPorts noreply at macports.org
Wed Oct 10 18:07:35 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 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.

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


More information about the macports-tickets mailing list