[MacPorts] #62105: kdelibs4 @ 4.14.3_15: build failure on Catalina
MacPorts
noreply at macports.org
Sat Mar 27 08:28:18 UTC 2021
#62105: kdelibs4 @ 4.14.3_15: build failure on Catalina
-----------------------------+-------------------------
Reporter: DaveStrickland | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: catalina
Port: kdelibs4 |
-----------------------------+-------------------------
Comment (by NicosPavlov):
Replying to [comment:7 cooljeanius]:
> For me the error is:
> {{{
>
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_kdelibs4/kdelibs4/work/kdelibs-4.14.3/kdeui/itemviews/kselectionproxymodel.cpp:2147:43:
error: ordered comparison between pointer and zero ('void *' and 'int')
> Q_ASSERT(proxyIndex.internalPointer() >= 0);
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
> /opt/local/libexec/qt4/include/QtCore/qglobal.h:1938:32: note: expanded
from macro 'Q_ASSERT'
> # define Q_ASSERT(cond) ((!(cond)) ?
qt_assert(#cond,__FILE__,__LINE__) : qt_noop())
> ^~~~
> }}}
I think this error is not related and should be easy to fix, as it is
because of the compiler not allowing comparison between integers and
pointers. The attached patch should fix it, but do you get other errors
after that? I did not experience that error, so I am wondering if you will
encounter others.
Also, if you do, please post the whole log (to try to see why you get
these while I don't) and file a new ticket as the issue seems not related.
--
Ticket URL: <https://trac.macports.org/ticket/62105#comment:9>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list