Summary: | x11/kdelibs-kde4: fails to build with clang 7 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> |
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | tcberner |
Priority: | --- | Keywords: | needs-patch |
Version: | Latest | Flags: | tcberner:
maintainer-feedback+
|
Hardware: | Any | ||
OS: | Any | ||
Bug Depends on: | |||
Bug Blocks: | 230355 |
Description
Jan Beich
2018-08-08 17:13:29 UTC
Hi there Can you give me a patch to get clang7 built, to test a fix? mfg Tobias Use /projects/clang700-import branch instead of /head or if you really want /head then try the following $ svn diff --patch-compatible svn://svn.freebsd.org/base/head@r337285 svn://svn.freebsd.org/base/projects/clang700-import@337355 | xz -T0 >/path/to/clang7.diff.xz $ du -Ah /path/to/clang7.diff.xz 7.4M /path/to/clang7.diff.xz $ xzcat /path/to/clang7.diff.xz | patch -Efsp0 -d /usr/src Sorry, I blindly overlooked the poudriere -cj line *head->wall* A commit references this bug: Author: adridg Date: Thu Aug 23 21:29:11 UTC 2018 New revision: 477926 URL: https://svnweb.freebsd.org/changeset/ports/477926 Log: Massage strange comparison for clang7 kdecore/localization/klocale_kde.cpp:2441:59: error: ordered comparison between pointer and zero ('const void *' and 'int') if ((timeFormat().contains(QString::fromLatin1("%I")) > 0) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ contains() returns bool or QBool, so this was weird to begin with. PR: 230462 Reported by: jbeich Changes: head/x11/kdelibs-kde4/Makefile head/x11/kdelibs-kde4/files/patch-kdecore_localization_klocale__kde.cpp More failure: /wrkdirs/usr/ports/x11/kdelibs-kde4/work/kdelibs-4.14.38/kio/kfile/kopenwithdialog.cpp:716:92: error: ordered comparison between pointer and zero ('const void *' and 'int') d->nocloseonexit->setChecked((terminalOptions.contains(QLatin1String("--noclose")) > 0)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ |