Opened 7 months ago

Last modified 7 months ago

#58459 assigned defect

Krusader Fails to Build on Mojave

Reported by: Andrew-McGee (Andrew McGee) Owned by: kurthindenburg (Kurt Hindenburg)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: Cc:
Port: krusader

Description (last modified by mf2k (Frank Schima))

MacOS 10.14.4 - MacBook Pro 2017.

This seems to be a frequent error, popping up in various ports, with later versions of Clang throwing an error like this one reported here: ticket:58354

krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp 
error: ordered comparison between pointer and zero ('const void *' and 'int')

See attached logfile.

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:67:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar")) typeData->addItem("tar");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:68:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("gzip")) typeData->addItem("tar.gz");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:68:22: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("gzip")) typeData->addItem("tar.gz");
:info:build                      ^~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:69:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("bzip2")) typeData->addItem("tar.bz2");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:69:22: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("bzip2")) typeData->addItem("tar.bz2");
:info:build                      ^~~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:70:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("lzma")) typeData->addItem("tar.lzma");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:70:22: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("lzma")) typeData->addItem("tar.lzma");
:info:build                      ^~~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:71:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("xz")) typeData->addItem("tar.xz");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:71:22: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("tar") && PS("xz")) typeData->addItem("tar.xz");
:info:build                      ^~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:72:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("zip")) typeData->addItem("zip");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:73:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("rar")) typeData->addItem("rar");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:74:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("lha")) typeData->addItem("lha");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:75:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("arj")) typeData->addItem("arj");
:info:build         ^~~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:76:9: error: ordered comparison between pointer and zero ('const void *' and 'int')
:info:build     if (PS("7z")) typeData->addItem("7z");
:info:build         ^~~~~~~~
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_kde_krusader/krusader/work/krusader-2.4.0-beta3/krusader/Dialogs/packgui.cpp:43:30: note: expanded from macro 'PS'
:info:build #define PS(x) lst.contains(x)>0
:info:build               ~~~~~~~~~~~~~~~^~
:info:build 14 errors generated.}}

Attachments (1)

main.log (1.2 MB) - added by Andrew-McGee (Andrew McGee) 7 months ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 7 months ago by Andrew-McGee (Andrew McGee)

Attachment: main.log added

main.log

comment:1 Changed 7 months ago by jmroot (Joshua Root)

Keywords: Krusader Clang removed
Owner: set to kurthindenburg
Status: newassigned

comment:2 Changed 7 months ago by mf2k (Frank Schima)

Port: krusader added; Krusader removed

comment:3 Changed 7 months ago by mf2k (Frank Schima)

Description: modified (diff)
Note: See TracTickets for help on using tickets.