$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https $ poudriere testport -j clang7 x11/kdelibs-kde4 [...] 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) || ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ kdecore/localization/klocale_kde.cpp:2442:59: error: ordered comparison between pointer and zero ('const void *' and 'int') (timeFormat().contains(QString::fromLatin1("%l")) > 0)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ build log: https://ptpb.pw/Hvuj
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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
http://package18.nyi.freebsd.org/data/headamd64PR230355gnucxx98-default/2018-08-26_10h16m34s/logs/kdelibs-kde4-4.14.38_5.log