Giter VIP home page Giter VIP logo

macstrop's People

Contributors

gitdevmod avatar rjvb avatar tatsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

macstrop's Issues

default port group files not found after applying hierarchial patch

I tried following the instructions to resolve the port group issue. After applying the patch patch-hierarchical-portgroup-search.diff as instructed into /opt/local/libexec/macports/lib, none of the port group files in my default port tree could be found by port. Reversing the patch resolved the problem. I would like to use this more elegant approach than manually copying the port group files into the default tree.

quassel-client @0.13.1 crashes on launch

A while ago this was working.

 $ lldb /Applications/MacPorts/Qt5/Quassel\ Client.app/
(lldb) target create "/Applications/MacPorts/Qt5/Quassel Client.app/"
r
Current executable set to '/Applications/MacPorts/Qt5/Quassel Client.app/' (x86_64).
(lldb) r
Process 77152 launched: '/Applications/MacPorts/Qt5/Quassel Client.app/Contents/MacOS/Quassel Client' (x86_64)
2019-02-20 15:51:36.954676-0500 Quassel Client[77152:41551673] [default] Unable to load Info.plist exceptions (eGPUOverrides)
dbus[77152]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that
org.freedesktop.dbus-session.plist is loaded!
dbus[77152]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that
org.freedesktop.dbus-session.plist is loaded!
2019-02-20 15:51:38.827360-0500 Quassel Client[77152:41551597] -[__NSMallocBlock__ item]: unrecognized selector sent to instance 0x1132c8f70
Process 77152 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
    frame #0: 0x00007fff46fb6a9b AppKit`-[NSApplication _crashOnException:] + 109
AppKit`-[NSApplication _crashOnException:]:
->  0x7fff46fb6a9b <+109>: ud2
    0x7fff46fb6a9d <+111>: mov    rdi, rax
    0x7fff46fb6aa0 <+114>: call   0x7fff4775b9d0            ; symbol stub for: objc_begin_catch
    0x7fff46fb6aa5 <+119>: xor    edi, edi
Target 0: (Quassel Client) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
  * frame #0: 0x00007fff46fb6a9b AppKit`-[NSApplication _crashOnException:] + 109
    frame #1: 0x00007fff46cad544 AppKit`__65+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayRefresh]_block_invoke + 849
    frame #2: 0x00007fff496b68ed CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
    frame #3: 0x00007fff496b6822 CoreFoundation`__CFRunLoopDoObservers + 452
    frame #4: 0x00007fff49658345 CoreFoundation`__CFRunLoopRun + 1166
    frame #5: 0x00007fff49657c64 CoreFoundation`CFRunLoopRunSpecific + 463
    frame #6: 0x00007fff488eeab5 HIToolbox`RunCurrentEventLoopInMode + 293
    frame #7: 0x00007fff488ee6f4 HIToolbox`ReceiveNextEventCommon + 371
    frame #8: 0x00007fff488ee568 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64
    frame #9: 0x00007fff46ba9363 AppKit`_DPSNextEvent + 997
    frame #10: 0x00007fff46ba8102 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1362
    frame #11: 0x00007fff46ba2165 AppKit`-[NSApplication run] + 699
    frame #12: 0x000000010ada304b libqaltcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 2215
    frame #13: 0x000000010426d75f QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 431
    frame #14: 0x0000000104272631 QtCore`QCoreApplication::exec() + 369
    frame #15: 0x00000001000061a4 Quassel Client`main + 2340
    frame #16: 0x00007fff768a9ed9 libdyld.dylib`start + 1
    frame #17: 0x00007fff768a9ed9 libdyld.dylib`start + 1

qt5-kde-devel build fails on High Sierra with auto_ptr errors

Hi René,

I'm just trying to build qt5-kde-devel with the goal of eventually building KDevelop (there are a couple KDevelop issues on my Linux desktop at work that I'd like to try to debug and fix from a MacPorts build at home). Unfortunately qt5-kde-devel fails when building the 3rd party mapbox-gl-native package, which in turn includes some packaged boost libs :

:info:build /opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/qt-everywhere-opensource-src-5.9.6/qtlocation/src/3rdparty/mapbox-gl-native/deps/boost/1.62.0/include/boost/smart_ptr/scoped_ptr.hpp:74:31: error: no template named 'auto_ptr' in namespace 'std'
:info:build explicit scoped_ptr( std::auto_ptr<T> p ) BOOST_NOEXCEPT : px( p.release() )

clang complains about a missing std::auto_ptr, identical to the issue discussed here. I've found that by adding

-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR

to the Makefile in

/opt/local/var/macports/build/_opt_local_site-ports_aqua_qt5-kde-devel/qt5-kde-devel/work/build/qtlocation/src/3rdparty/mapbox-gl-native

the package proceeds to build successfully. I'll now need to refresh myself on updating portfiles, and will give this a try to get a successful qt5-kde-devel build and installation.

Just curious if you encountered this issue, or perhaps you are building on a different macOS release?

Qt/KDE installation issues

I was unable to run port install --unrequested qt5-kde without first running port -f deactivate pkgconfig.

The logic in proc qt5.active_version in qt5-*-1.0.tcl checks to see if pkg-config exists but if this exists but Qt core is not installed, the proc raises. Maybe it should check that pkg-config succeeds?

proc qt5.active_version {} {
    global prefix
    namespace upvar ::qt5 active_version av
    if {[info exists av]} {
        return ${av}
    }
    if {[info exists building_qt5]} {
        set av ${version}
        return ${av}
    # This condition
    } elseif {[file exists ${prefix}/bin/pkg-config]} {
        set av [exec ${prefix}/bin/pkg-config --modversion Qt5Core]
        return ${av}
...

Something like:

try {
    set av [exec ${prefix}/bin/pkg-config --modversion Qt5Core]
} trap CHILDSTATUS {} {
    set av 0.0.0
}
return ${av}

Qt version mentioned in the current 5.9.7 Portfile is missing the last part in the branch name. Maybe this changed but Qt releases now have the the minor release number in the URL (5.9 not just 5):

http://download.qt.io/official_releases/qt/**5.9**/5.9.7/single/

With the current way the Portfile works (with the portgroup), it tries to use http://download.qt.io/official_releases/qt/5/5.9.7/single/.

With that change, the qt5-kde port works and installs.

Then kf5-kconfig fails:

:info:build Undefined symbols for architecture x86_64:
:info:build   "bool QTest::qCompare<QByteArray, QStringBuilder<QStringBuilder<QByteArray, QByteArray>,
 QByteArray> >(QByteArray const&, QStringBuilder<QStringBuilder<QByteArray, QByteArray>, QByteArray> c
onst&, char const*, char const*, char const*, int)", referenced from:
:info:build       KConfigTest::testQStringUtf8() in kconfigtest.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

quassel-client: Qt fatal error on exit

Qt fatal error-2019-03-12 16-11-28

Every time I exit Quassel client I get this error. Clicking Exit is impossible as the app will hang. Clicking Abort works.

The log shows the same error:

 $ /Applications/MacPorts/Quassel\ Client.app/Contents/MacOS/Quassel\ Client
2019-03-12 16:12:35 [Warn ] Icon theme "oxygen" not found.
2019-03-12 16:12:35 [Warn ] Missing icon: "message-quassel-tray" (using fallback: "message")
2019-03-12 16:12:40 [Info ] Quitting...
2019-03-12 16:12:40 [Info ] Client shutting down...
Trying to access a singleton that has not been instantiated yet

The app works completely otherwise.

"#elseif" is not a valid directive

diff --git a/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff b/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff
index 7e95caa4..9f0efc19 100644
--- a/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff
+++ b/aqua/qt5-kde/files/qt580/patch-define-qtnoexceptions.diff
@@ -27,7 +27,7 @@ index 3217691..36f1cae 100644
 +      (defined(Q_CC_GNU) && !defined(__EXCEPTIONS))
  #    define QT_NO_EXCEPTIONS
  #  endif
-+#elseif defined(QT_BOOTSTRAPPED)
++#elif defined(QT_BOOTSTRAPPED)
 +#  define QT_NO_EXCEPTIONS
  #endif

Missing dependency kf5-kio-extras -> kf5-kdelibs4support -> kf5-kemoticons

port install kf5-kio-extras
...
:info:configure CMake Warning at /opt/local/share/cmake-3.8/Modules/CMakeFindDependencyMacro.cmake:55 (find_package):
:info:configure   By not providing "FindKF5Emoticons.cmake" in CMAKE_MODULE_PATH this project
:info:configure   has asked CMake to find a package configuration file provided by
:info:configure   "KF5Emoticons", but CMake did not find one.
:info:configure   Could not find a package configuration file provided by "KF5Emoticons"
:info:configure   (requested version 5.35.0) with any of the following names:
:info:configure     KF5EmoticonsConfig.cmake
:info:configure     kf5emoticons-config.cmake
:info:configure   Add the installation prefix of "KF5Emoticons" to CMAKE_PREFIX_PATH or set
:info:configure   "KF5Emoticons_DIR" to a directory containing one of the above files.  If
:info:configure   "KF5Emoticons" provides a separate development package or SDK, be sure it
:info:configure   has been installed.
:info:configure Call Stack (most recent call first):
:info:configure   /opt/local/lib/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake:40 (find_dependency)
:info:configure   /opt/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package)
:info:configure   CMakeLists.txt:26 (find_package)
:info:configure CMake Warning at /opt/local/share/ECM/find-modules/FindKF5.cmake:74 (find_package):
:info:configure   Found package configuration file:
:info:configure     /opt/local/lib/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake
:info:configure   but it set KF5KDELibs4Support_FOUND to FALSE so package
:info:configure   "KF5KDELibs4Support" is considered to be NOT FOUND.  Reason given by
:info:configure   package:
:info:configure   KF5KDELibs4Support could not be found because dependency KF5Emoticons could
:info:configure   not be found.
:info:configure Call Stack (most recent call first):
:info:configure   CMakeLists.txt:26 (find_package)
:info:configure -- Could NOT find KF5KDELibs4Support (found version "5.35.0"), checked the following files:
:info:configure     /opt/local/lib/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake (version 5.35.0)
:info:configure     Reason given by package: KF5KDELibs4Support could not be found because dependency KF5Emoticons could not be found.
:info:configure CMake Error at /opt/local/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
:info:configure   Could NOT find KF5 (missing: KDELibs4Support) (found suitable version
:info:configure   "5.35.0", minimum required is "5.3.0")
:info:configure Call Stack (most recent call first):
:info:configure   /opt/local/share/cmake-3.8/Modules/FindPackageHandleStandardArgs.cmake:377 (_FPHSA_FAILURE_MESSAGE)
:info:configure   /opt/local/share/ECM/find-modules/FindKF5.cmake:110 (find_package_handle_standard_args)
:info:configure   CMakeLists.txt:26 (find_package)
:info:configure -- Configuring incomplete, errors occurred!
:info:configure See also "/opt/local/var/macports/build/_Users_oprypin_repos_macstrop_kf5_kf5-kio-extras/kf5-kio-extras/work/build/CMakeFiles/CMakeOutput.log".
...

Manually installing kf5-kemoticons allowed me to install kf5-kio-extras.

building kf5-karchive error

Building kf5-karchive fails.
Thanks for your help
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/kartest.dir/build.make tests/CMakeFiles/kartest.dir/depend :info:build make[2]: Entering directory/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build cd /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/karchive-5.60.0 /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/karchive-5.60.0/tests /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build/tests /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build/tests/CMakeFiles/kartest.dir/DependInfo.cmake --color=
:info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/kziptest.dir/build.make tests/CMakeFiles/kziptest.dir/build :info:build Undefined symbols for architecture x86_64: :info:build "bool QTest::qCompare<char, int>(char const&, int const&, char const*, char const*, char const*, int)", referenced from: :info:build KCompressionDeviceTest::testSeekReadUncompressedBuffer() in kcompressiondevicetest.cpp.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/krcctest.dir/build.make tests/CMakeFiles/krcctest.dir/build
:info:build make[2]: *** [bin/kcompressiondevicetest] Error 1
:info:build make[2]: Target autotests/CMakeFiles/kcompressiondevicetest.dir/build' not remade because of errors. :info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build make[1]: *** [autotests/CMakeFiles/kcompressiondevicetest.dir/all] Error 2
:info:build make[2]: Entering directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build' :info:build make[2]: Nothing to be done for tests/CMakeFiles/kziptest.dir/build'.
:info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build' :info:build make[2]: Entering directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build make[2]: Nothing to be done for tests/CMakeFiles/krcctest.dir/build'. :info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/kartest.dir/build.make tests/CMakeFiles/kartest.dir/build :info:build make[2]: Entering directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build make[2]: Nothing to be done for tests/CMakeFiles/kartest.dir/build'. :info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build [ 86%] Built target kziptest
:info:build [ 91%] Built target krcctest
:info:build [ 96%] Built target kartest
:info:build make[1]: Target all' not remade because of errors. :info:build make[1]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON -kw
:info:build Exit code: 2
:error:build Failed to build kf5-karchive: command execution failed
:debug:build Error code: CHILDSTATUS 33102 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {}$notty {}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-karchive/main.log for details.
main.log

kf5-okular issues

  1. The interface of kf5-okular lacks icons. Ports kf5-osx-integration-devel and ciment-icons are installed but it doesn't help. Am I missing something?

  2. If I want to set okular as the default application for, say, djvu, it doesn't work with multiple files properly. The first file is opened with double click just fine, but another file would not be opened after this. What I would expect is that it should create one more window for the second file, etc. Do you have an idea how to fix it?

Can't link against OpenSSL?

I get strange output building psycopg2:

:info:build /usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk -arch x86_64 -arch x86_64 build/temp.macosx-10.14-x86_64-3.7/psycopg/psycopgmodule.o build/temp.macosx-10.14-x86_64-3.7/psycopg/green.o build/temp.macosx-10.14-x86_64-3.7/psycopg/pqpath.o build/temp.macosx-10.14-x86_64-3.7/psycopg/utils.o build/temp.macosx-10.14-x86_64-3.7/psycopg/bytes_format.o build/temp.macosx-10.14-x86_64-3.7/psycopg/libpq_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/win32_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/solaris_support.o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/connection_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/cursor_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/column_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_connection_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_cursor_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/replication_message_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/diagnostics_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/error_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/conninfo_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_int.o build/temp.macosx-10.14-x86_64-3.7/psycopg/lobject_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/notify_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/xid_type.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_asis.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_binary.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_datetime.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_list.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pboolean.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pdecimal.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pint.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_pfloat.o build/temp.macosx-10.14-x86_64-3.7/psycopg/adapter_qstring.o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols.o build/temp.macosx-10.14-x86_64-3.7/psycopg/microprotocols_proto.o build/temp.macosx-10.14-x86_64-3.7/psycopg/typecast.o -L/opt/local/lib/postgresql10 -lpq -lssl -lcrypto -o build/lib.macosx-10.14-x86_64-3.7/psycopg2/_psycopg.cpython-37m-darwin.so
:info:build ld: library not found for -lssl

main.log

I mistakenly reported this to MacPorts first.

Port name and portdir mismatches

Whenever running portindex in this repository, 18 ports are re-parsed:

$ portindex
Creating port index in /Users/yen/var/syncthing/Projects/macstrop
Adding port kde/ECM
Adding subport kde-extra-cmake-modules-devel
Adding subport kECM
Warning: depends_libs change: path:lib/libQtCore.4.dylib:qt4-mac
Warning: Using the mainstream/official Qt4 portgroup
Adding port kde/krecipe
Adding port kf5/kde-cli-tools
Adding port kf5/kdevelop5-pg-qt
Adding subport kf5-kdevelop-pg-qt-devel
Adding port kf5/kdevplatform5
Adding subport kf5-kdevplatform-devel
Adding subport kf5-kdevplatform-translations
Adding port kf5/kf5-libkcalcore
Adding port kf5/kompare5
Adding port kf5/konsole5
Adding subport kf5-konsole-devel
Adding port kf5/kwalletman
Adding port kf5/libkompare5diff2
Adding port kf5/okteta5
Adding port x11/oxygen-gtk3

Total number of ports parsed:	18
Ports successfully parsed:	18
Ports failed:			0
Up-to-date ports skipped:	1052

Looks like the cause is mismatches between port name and portdir. For example, the port in kde/ECM has the name kde-extra-cmake-modules.

Activation of dbus +no_root fails

I'm getting this error while trying to install dbus (no_root variant):
:error:activate Failed to activate dbus: could not set owner for file "/testports2/libexec/dbus-daemon-launch-helper": not owner
main.log.txt

And one more thing: why do you have dbus 1.10.12 which is older than the one in the official port tree (1.10.18)?

Cannot build Bison

main.log

Bison build failure is making it not possible to update my machine (I tried port upgrade -p outdated).

From the log:


:info:build   GEN      doc/bison.help
:info:build /bin/sh: line 1: 61656 Abort trap: 6           src/bison --version > doc/bison.help.tmp
:info:build make[2]: *** [doc/bison.help] Error 134
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_tatsh_dev_macstrop_devel_bison/bison/work/bison-3.0.4'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_Users_tatsh_dev_macstrop_devel_bison/bison/work/bison-3.0.4'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_Users_tatsh_dev_macstrop_devel_bison/bison/work/bison-3.0.4'
:info:build Command failed:  cd "/opt/local/var/macports/build/_Users_tatsh_dev_macstrop_devel_bison/bison/work/bison-3.0.4" && /usr/bin/make -j8 -w all examples/calc++/calc++ examples/mfcalc/mfcalc examples/rpcalc/rpcalc
:info:build Exit code: 2
:error:build Failed to build bison: command execution failed
:debug:build Error code: CHILDSTATUS 60988 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"

cmake 1.1: strange error message when running `sudo port uninstall inactive`

This I saw on a 10.9.5 with qt5-kde-devel:

--->  Cleaning kf5-kdevplatform-devel
Error: Unable to open port: can't set "cmake.generator": The "{"Unix Makefiles"}" cmake generator is not currently known/supported
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

What is that now?

Qt environment variables and workaround

I am setting QT_QPA_PLATFORMTHEME globally with ~/.MacOSX/environment.plist.

I found that some Qt apps like Wireshark (which I am not installing with MacPorts due to conflicts with the original Qt 5 packages) will read the environment variables QT_QPA_PLATFORMTHEME and will either look incorrect or will crash. In general they are buggy.

The workaround for any app bundle is to set the LSEnvironment key in Info.plist:

        <key>LSEnvironment</key>
        <dict>
                <key>QT_QPA_PLATFORMTHEME</key>
                <string></string>
        </dict>

You have to force macOS to reread Info.plist. One way is to use touch(1).

libssh package fails to get distfile

I changed the file to use 0.8.6 and updated the checksums and now it works at least to get other packages fixed.

diff --git a/devel/libssh/Portfile b/devel/libssh/Portfile
index 781993e6..99a4f230 100644
--- a/devel/libssh/Portfile
+++ b/devel/libssh/Portfile
@@ -6,13 +6,11 @@ PortGroup           cmake 1.1

 name                libssh
 epoch               1
-version             0.7.2
+version             0.8.6
 master_sites        https://git.libssh.org/projects/libssh.git/snapshot/
-use_bzip2           yes
-checksums           rmd160  9db0ec537e05dec419f4b6e474a6b5312c76a254 \
-                    sha256  b7a66d5668cbf1bac7a3b8a221de9306e1cfc9b13d9ec271325e5f6d30872349
-# checksums           rmd160  ab4b2fb7ce62ba900f50a3a19a2de58551ceea46 \
-#                     sha256  f284aeb40a637d97e065df0f3b7902458ac17050c3f4057b5eca2dbcb1a9c179
+checksums           rmd160  ff419a448c1879619b9069fc262c7d1778a5338b \
+                    sha256  8f95d42930880be709fc4ef0965ab19261561b8a6e61c1440c1f906e0ca66ffd \
+                    size    597760

 set major           [join [lrange [split ${version} .] 0 1] .]
 categories          devel security net

libbluray @1.1.1 fails to build

This is after I install apache-ant (maybe this should be pulled in?). libbluray is pulled in by ffmpeg, VLC and mpv.

compile:
    [javac] /opt/local/var/macports/build/_Users_tatsh_dev_macstrop_multimedia_libbluray/libbluray/work/libbluray-1.0.1/src/libbluray/bdj/build.xml:24: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 22 source files to /opt/local/var/macports/build/_Users_tatsh_dev_macstrop_multimedia_$ibbluray/libbluray/work/libbluray-1.0.1/src/libbluray/bdj/build
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 5
    [javac] error: Source option 5 is no longer supported. Use 6 or later.
    [javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.

Building kf5-kfilemetadata error

Building kf5-kfilemetadata error
:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -DQT_USE_EXTSTANDARDPATHS -DQT_EXTSTANDARDPATHS_ALT_DEFAULT=true -stdlib=libc++ -std=c++0x -fno-operator-names -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -pedantic -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -arch x86_64 -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names CMakeFiles/indexextractortest.dir/indexextractortest_autogen/mocs_compilation.cpp.o CMakeFiles/indexextractortest.dir/indexerextractortests.cpp.o CMakeFiles/indexextractortest.dir/__/src/extractors/plaintextextractor.cpp.o -o ../bin/indexextractortest -Wl,-rpath,/opt/local/lib /opt/local/libexec/qt5/Library/Frameworks/QtTest.framework/QtTest ../bin/libKF5FileMetaData.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtCore.framework/QtCore
:info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kfilemetadata/work/build' :info:build [100%] Built target indexextractortest :info:build make[1]: Target all' not remade because of errors.
:info:build make[1]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kfilemetadata/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kfilemetadata/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kfilemetadata/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON -kw
:info:build Exit code: 2
:error:build Failed to build kf5-kfilemetadata: command execution failed

main.log

Clang 4.0 is pulled in and cannot be built

This affects a lot of the ports including Dolphin and systemsettings.

I have narrowed this down to a few dependencies, which blacklist compilers and makes MacPorts think it should pull in Clang 4.0. However, Clang 4.0 will not build at this time. And it does not seem necessary?

In the Dolphin port, I removed kcmutils and kcrash from kf5.depends_frameworks and I commented out the current depends_run-append line. Dolphin built fine but perhaps it's missing some features. It does run and looks okay, and is basically usable.

libaacs should pull in Bison

libaacs has a syntax error when used with the macOS' /usr/bin/yacc. Installing bison @3.3.2 fixes this issue.

Building kf5-kwidgetsaddons error

Building kf5-kwidgetsaddons error:

:info:build [100%] Built target kcharselecttest
:info:build [100%] Linking CXX executable ../../bin/kwidgetaddons-example-kmessagebox.app/Contents/MacOS/kwidgetaddons-example-kmessagebox
:info:build cd /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/build/examples/kmessagebox && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/kwidgetaddons-example-kmessagebox.dir/link.txt --verbose=ON
:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -DQT_USE_EXTSTANDARDPATHS -DQT_EXTSTANDARDPATHS_ALT_DEFAULT=true -stdlib=libc++ -std=c++0x -fno-operator-names -fno-exceptions -DQT_NO_EXCEPTIONS -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -pedantic -arch x86_64 -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names CMakeFiles/kwidgetaddons-example-kmessagebox.dir/kwidgetaddons-example-kmessagebox_autogen/mocs_compilation.cpp.o CMakeFiles/kwidgetaddons-example-kmessagebox.dir/main.cpp.o -o ../../bin/kwidgetaddons-example-kmessagebox.app/Contents/MacOS/kwidgetaddons-example-kmessagebox -Wl,-rpath,/opt/local/lib ../../bin/libKF5WidgetsAddons.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtWidgets.framework/QtWidgets /opt/local/libexec/qt5/Library/Frameworks/QtGui.framework/QtGui /opt/local/libexec/qt5/Library/Frameworks/QtCore.framework/QtCore
:info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/build' :info:build [100%] Built target kwidgetaddons-example-kmessagebox :info:build make[1]: Target all' not remade because of errors.
:info:build make[1]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/build' :info:build make: *** [all] Error 2 :info:build make: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kwidgetsaddons/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON -kw
:info:build Exit code: 2
:error:build Failed to build kf5-kwidgetsaddons: command execution failed
:debug:build Error code: CHILDSTATUS 11410 2
:debug:build Backtrace: command execution failed
:debug:build while executing
:debug:build "system {}$notty {}$nice $fullcmdstring"
:debug:build invoked from within
:debug:build "command_exec build"
:debug:build (procedure "portbuild::build_main" line 8)
:debug:build invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kwidgetsaddons/main.log for details.
main.log

Failed to patch qt5-kde

I suppose lbzip2 should be in the dependency list for qt5-kde. Otherwise, I have this:

:error:patch Failed to patch qt5-kde: command execution failed
:debug:patch Error code: CHILDSTATUS 99847 1
:debug:patch Backtrace: command execution failed
:debug:patch while executing
:debug:patch "system {}$notty {}$nice $fullcmdstring"
:debug:patch invoked from within
:debug:patch "command_exec patch "" "< '$patch'""
:debug:patch (procedure "portpatch::patch_main" line 33)
:debug:patch invoked from within
:debug:patch "$procedure $targetname"
:debug:patch Failed to locate 'lbzip2' in path: '/testports/bin:/testports/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?

kf5-systemsettings: Not built for high DPI

Applies to only macOS.

I think this may apply to a lot of kf5-* apps, but Quassel is built with high DPI support. It is possible to patch after compilation in the Info.plist by adding an entry:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <!-- ... -->
    <key>NSHighResolutionCapable</key>
    <true/>
</dict>
</plist>

This is not a full fix as far as I know as I think KDE/Qt packages have various options to enable this properly. In the case that there is no support, I would support patching the Info.plist.in (or equivalent) during the patch{} phase.

kf5-digikam-devel: failing to build on Mavericks

... with qt5-kde-devel:

:msg:archivefetch --->  Attempting to fetch kf5-digikam-devel-5.2.0.100_2+qt5kde.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/kf5-digikam-devel
:debug:archivefetch Fetching archive failed:: The requested URL returned error: 404 Not Found
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Fri Nov 11 23:31:43 CET 2016
:notice:fetch --->  Fetching distfiles for kf5-digikam-devel
:debug:fetch Executing org.macports.fetch (kf5-digikam-devel)
:debug:fetch Executing: /usr/bin/git clone -q git://anongit.kde.org/digikam /opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/digikam-5 2>&1
:debug:fetch Executing GIT_DIR=/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/digikam-5/.git GIT_WORK_TREE=/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/digikam-5 /usr/bin/git checkout -q 9f08606952582930edcb785febad347db12bfbab 2>&1
:debug:fetch Executing proc-post-org.macports.fetch-fetch-0
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Fri Nov 11 23:39:10 CET 2016
:notice:checksum --->  Verifying checksums for kf5-digikam-devel
:debug:checksum Executing org.macports.checksum (kf5-digikam-devel)
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Fri Nov 11 23:39:10 CET 2016
:notice:extract --->  Extracting kf5-digikam-devel
:debug:extract setting option extract.cmd to /opt/local/bin/xz
:debug:extract Executing proc-pre-org.macports.extract-extract-0
:debug:extract Executing org.macports.extract (kf5-digikam-devel)
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Nov 11 23:39:10 CET 2016
:debug:patch Executing org.macports.patch (kf5-digikam-devel)
:notice:patch --->  Applying patches to kf5-digikam-devel
:info:patch --->  Applying patch-tableview-fix.diff
:debug:patch Environment:
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.9'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/digikam-5" && /usr/bin/patch -Np2'
:debug:patch Executing command line:  cd "/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/digikam-5" && /usr/bin/patch -Np2 < '/Users/marko/WC/GIT/macstrop/kf5/kf5-digikam/files/patch-tableview-fix.diff'
:info:patch patching file app/views/tableview/tableview_treeview_delegate.cpp
:info:patch Reversed (or previously applied) patch detected!  Skipping patch.
:info:patch 2 out of 2 hunks ignored -- saving rejects to file app/views/tableview/tableview_treeview_delegate.cpp.rej
:info:patch Command failed:  cd "/opt/local/var/macports/build/_Users_marko_WC_GIT_macstrop_kf5_kf5-digikam/kf5-digikam-devel/work/digikam-5" && /usr/bin/patch -Np2 < '/Users/marko/WC/GIT/macstrop/kf5/kf5-digikam/files/patch-tableview-fix.diff'
:info:patch Exit code: 1
:error:patch org.macports.patch for port kf5-digikam-devel returned: command execution failed
:debug:patch Error code: CHILDSTATUS 45515 1
:debug:patch Backtrace: command execution failed

kf5-tellico configure stuck with ksvg2icns

Installation of kf5-tellico is stuck with ksvg2icns:

$ sudo port install kf5-tellico
---> p5-text-bibtex is replaced by p5.26-text-bibtex
---> Deactivating p5-text-bibtex @0.850.0_0
---> Cleaning p5-text-bibtex
---> Computing dependencies for p5.26-text-bibtex
---> Cleaning p5.26-text-bibtex
---> Computing dependencies for kf5-tellico
The following dependencies will be installed: p5-text-bibtex
Continue? [Y/n]: y
---> Activating p5-text-bibtex @0.850.0_0
---> Cleaning p5-text-bibtex
---> Fetching distfiles for kf5-tellico
---> Verifying checksums for kf5-tellico
---> Extracting kf5-tellico
---> Applying patches to kf5-tellico
---> Configuring kf5-tellico
load: 2.94 cmd: ksvg2icns 4220 waiting 0.13u 0.07s

$ ps auxwww|grep ksvg2icns
tom 4283 0,0 0,0 4267752 816 s003 S+ 4:25 0:00.00 grep ksvg2icns
macports 4220 0,0 0,3 4424200 22236 s002 S+ 4:22 0:00.22 /opt/local/bin/ksvg2icns /opt/local/var/macports/build/_opt_local_macstrop_kf5_kf5-tellico/kf5-tellico/work/tellico-3.1.3/icons/tellico.svg

$ file /opt/local/bin/ksvg2icns /opt/local/var/macports/build/_opt_local_macstrop_kf5_kf5-tellico/kf5-tellico/work/tellico-3.1.3/icons/tellico.svg
/opt/local/bin/ksvg2icns: Mach-O 64-bit executable x86_64
/opt/local/var/macports/build/_opt_local_macstrop_kf5_kf5-tellico/kf5-tellico/work/tellico-3.1.3/icons/tellico.svg: SVG Scalable Vector Graphics image

$ ksvg2icns
This application failed to start because it could not find or load the Qt platform plugin "cocoa"
in "".

Available platform plugins are: cocoa, minimal, offscreen, vnc.

Reinstalling the application may fix this problem.

^C

TIA

Building port:qt5-kde on Sierra

Hello. Trying to build port:qt5-kde on 10.12, Xcode 9.2. Got a couple of issues.

  1. Apparently, missing file CVE-2017-7867-CVE-2017-7868.patch for port:icu. I've added the one from the official tree.
    CVE-2017-7867-CVE-2017-7868.patch.txt

  2. Errors while compiling qt5, discussed here: https://trac.macports.org/ticket/54754
    Again, I've added patches to port:qt5-kde from the official tree. The files are attached.
    Portfile.txt
    patch-sdk10_13.diff.txt
    patch-qtconnectivity-sdk10_13.diff.txt

  3. The build of port:qt5-kde still fails. I've attached the log. There are several errors about chrono, which comes with Xcode. Do you have an idea, how to resolve the problem?
    main.log

Building kf5-kate

While installing qt5-qtbase I get this:
main.log.txt
So, the problem is installed qt5-kde, which seems to conflict with qt5-qtbase. However, the both ports are ones that kf5-kate depends on.

System Settings - clicking "Desktop Behavior" makes UI hang

The System Settings UI hangs whenever you click on Desktop Behavior. The widget partially loads but clicking on any part of the UI does not render anything. The window title does change if I click another KCM, but there is no way to really get things back to working without restarting. I thought this could be resolved by install kactivitymanagerd which partially solved the issue but did not fix the UI.

activities -2019-02-07 13-19-24

The line I think that is relevant is this:

 $ /Applications/MacPorts/KF5/systemsettings5.app/Contents/MacOS/systemsettings5
WARNING: Cannot find style "org.kde.desktop" - fallback: "/opt/local/share/qt5/qml/QtQuick/Controls/Styles/Desktop"

This happens when I click on the Desktop Behavior option.

libcxx extract issue

Trying to install kf5-libkcddb, it fails during extract of libcxx:
:debug:extract extract phase started at Sat Nov 10 16:56:05 CET 2018 :notice:extract ---> Extracting libcxx :debug:extract setting option extract.cmd to /opt/local/bin/xz :debug:extract Executing org.macports.extract (libcxx) :debug:extract Executing proc-post-org.macports.extract-extract-0 :error:extract Failed to extract libcxx: error renaming "/opt/local/var/macports/build/_opt_local_macstrop_lang_libcxx/libcxx/work/libcxxabi-6.0.0.src": no such file or directory :debug:extract Error code: NONE :debug:extract Backtrace: error renaming "/opt/local/var/macports/build/_opt_local_macstrop_lang_libcxx/libcxx/work/libcxxabi-6.0.0.src": no such file or directory :debug:extract while executing :debug:extract "$post $targetname" :error:extract See /opt/local/var/macports/logs/_opt_local_macstrop_lang_libcxx/libcxx/main.log for details.

Add tellico 3.x

Hi,
Could you add tellico based on kf5 ? I do not know if all dependencies are already in tree. Last version on Macports is old and does work anymore with discogs database (handshake issue, maybe tls is not well supported with kdelibs4 ?)
http://tellico-project.org/

Thanks in advance !

docbook-xsl replaced by docbook-xsl-nons

Hi,

A lot of Port (ie: kf5-kio) can not be installed with this error
Error: docbook-xsl has been replaced by docbook-xsl-nons; please install that instead.

I tried to change kf5/KF5-Frameworks/Portfile docbook-xsl to docbook-xsl-nons but it fails with
:info:configure -- The following REQUIRED packages have not been found: :info:configure * DocBookXSL, DocBook XSL, <http://docbook.sourceforge.net/release/xsl/current/> :info:configure Required by the KDE help system to process DocBook XML

qt5-mac-devel build fails on OS X 10.6.8

Hello and thank you for working on the additional QT5 ports!

I've just tried to build the qt5-mac-devel port using your portfiles. Unfortunately, it fails on the patching step. It looks like an attempt to apply QT 5.4.2 to 5.3.2 sources. It doesn't work for all files because the sources diverge too much.

The following patches break the build:
https://github.com/RJVB/macstrop/blob/master/aqua/qt5-mac-devel/files/patch-qFatal-no-abort.diff
https://github.com/RJVB/macstrop/blob/master/aqua/qt5-mac-devel/files/patch-improve-fontweight-support5.diff

The first one contains a tiny difference that I just fixed manually. But the second one is much bigger so I don't know how to fix it.

Would you kindly help me to fix that issue? It looks like you've found a possibility to build Qt5 in 10.6.8 without XCode. That's exactly what I'm looking for. I really need QT5 in 10.6.8 because I currently cannot upgrade my OS because I heavily depend on an older software package that isn't available in >= 10.7.

Thank you in advance!
Best regards
Max

Building kf5-kconfigwidgets error

Building kf5-kconfigwidgets error

:info:build /usr/bin/clang++ -pipe -Os -DNDEBUG -DQT_USE_EXTSTANDARDPATHS -DQT_EXTSTANDARDPATHS_ALT_DEFAULT=true -stdlib=libc++ -std=c++0x -fno-operator-names -fno-exceptions -D
QT_NO_EXCEPTIONS -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -
Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -pedantic -arch x86_64 -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-heade
rpad_max_install_names CMakeFiles/klanguagenametest.dir/klanguagenametest_autogen/mocs_compilation.cpp.o CMakeFiles/klanguagenametest.dir/klanguagenametest.cpp.o -o ../bin/klang
uagenametest -Wl,-rpath,/opt/local/lib /opt/local/libexec/qt5/Library/Frameworks/QtTest.framework/QtTest ../bin/libKF5ConfigWidgets.5.60.0.dylib /opt/local/lib/libKF5Codecs.5.60.
0.dylib /opt/local/lib/libKF5WidgetsAddons.5.60.0.dylib /opt/local/lib/libKF5ConfigGui.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtXml.framework/QtXml /opt/local/lib
/libKF5ConfigCore.5.60.0.dylib /opt/local/lib/libKF5Auth.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtWidgets.framework/QtWidgets /opt/local/lib/libKF5AuthCore.5.60.0
.dylib /opt/local/lib/libKF5CoreAddons.5.60.0.dylib /opt/local/libexec/qt5/Library/Frameworks/QtGui.framework/QtGui /opt/local/libexec/qt5/Library/Frameworks/QtCore.framework/QtC
ore
:info:build [ 97%] Built target kconfigdialog_unittest
:info:build Undefined symbols for architecture x86_64:
:info:build "bool QTest::qCompare<QString, char [10]>(QString const&, char const (&) [10], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNoTranslation() in klanguagenametest.cpp.o
:info:build "bool QTest::qCompare<QString, char [11]>(QString const&, char const (&) [11], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o
:info:build "bool QTest::qCompare<QString, char [12]>(QString const&, char const (&) [12], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o
:info:build "bool QTest::qCompare<QString, char [14]>(QString const&, char const (&) [14], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o
:info:build "bool QTest::qCompare<QString, char [20]>(QString const&, char const (&) [20], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNoEntry() in klanguagenametest.cpp.o
:info:build "bool QTest::qCompare<QString, char [7]>(QString const&, char const (&) [7], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o
:info:build KLanguageNameTest::testNoTranslation() in klanguagenametest.cpp.o
:info:build "bool QTest::qCompare<QString, char [8]>(QString const&, char const (&) [8], char const*, char const*, char const*, int)", referenced from:
:info:build KLanguageNameTest::testNameForCode() in klanguagenametest.cpp.o
:info:build KLanguageNameTest::testNameForCodeInLocale() in klanguagenametest.cpp.o
:info:build KLanguageNameTest::testNoEntry() in klanguagenametest.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make[2]: *** [bin/klanguagenametest] Error 1
:info:build make[2]: Target autotests/CMakeFiles/klanguagenametest.dir/build' not remade because of errors. :info:build make[2]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build'
:info:build make[1]: *** [autotests/CMakeFiles/klanguagenametest.dir/all] Error 2
:info:build make[1]: Target all' not remade because of errors. :info:build make[1]: Leaving directory /opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build'
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_macstrop_kf5_KF5-Frameworks/kf5-kconfigwidgets/work/build" && /usr/bin/make -j4 -w all VERBOSE=ON -kw
:info:build Exit code: 2
:error:build Failed to build kf5-kconfigwidgets: command execution failed

main.log

Add krita

Please, add Krita standalone build

I know Calligra contains Krita, but I want just use only Krita, without all Calligra suite.

kf5-kconfig: linker error

:info:build Undefined symbols for architecture x86_64:
:info:build   "KConfigTest::testQStringUtf8()", referenced from:
:info:build       KConfigTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in mocs_co
mpilation.cpp.o
:info:build   "KConfigTest::testQStringUtf8_data()", referenced from:
:info:build       KConfigTest::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in mocs_co
mpilation.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64

main.log

VLC-test: VLC.app not created

I just tested VLC-test on a current macOS Mojave (because of https://trac.macports.org/ticket/57260). It seems to compile fine but does not create an .app bundle, so it fails in destroot when trying to copy VLC.app.

Not sure if this is a Mojave / XCode 10 issue or if some step is missing to create VLC.app. All contents seem to be present under bin (i.e., binaries and a Contents folder with Info.plist).

Variants were +quartz -x11. Full build log is attached.

VLC-test.log

kf5-kdevelop-devel fails to build

It comes very close. Log here: https://gist.github.com/Tatsh/1b73b79425682842fdad124155c788af

 $ fgrep Error /opt/local/var/macports/logs/_Users_tatsh_dev_macstrop_kf5_kf5-kdevelop/kf5-kdevelop-devel/main.log
:info:build make[2]: *** [plugins/qthelp/CMakeFiles/kdevqthelp.dir/qthelpdocumentation.cpp.o] Error 1
:info:build make[1]: *** [plugins/qthelp/CMakeFiles/kdevqthelp.dir/all] Error 2
:info:build make[2]: *** [plugins/qthelp/tests/CMakeFiles/test_qthelpplugin.dir/__/qthelpdocumentation.cpp.o] Error 1
:info:build make[1]: *** [plugins/qthelp/tests/CMakeFiles/test_qthelpplugin.dir/all] Error 2
:info:build make: *** [all] Error 2

kf5-plasma-runtime fails to build

Getting this error:

:info:build make[2]: Entering directory `/opt/local/var/macports/build/_Users_tatsh_dev_macstrop_kf5_k
f5-plasma-runtime/kf5-plasma-runtime/work/build'
:info:build /opt/local/var/macports/build/_Users_tatsh_dev_macstrop_kf5_kf5-plasma-runtime/kf5-plasma-
runtime/work/build/ar qc ../lib/libdbusmenuqt.a  CMakeFiles/dbusmenuqt.dir/dbusmenuimporter.cpp.o CMakeFiles/dbusmenuqt.dir/dbusmenushortcut_p.cpp.o CMakeFiles/dbusmenuqt.dir/dbusmenutypes_p.cpp.o CMakeFi
les/dbusmenuqt.dir/utils.cpp.o CMakeFiles/dbusmenuqt.dir/dbusmenu_interface.cpp.o CMakeFiles/dbusmenuqt.dir/dbusmenuqt_autogen/mocs_compilation.cpp.o
:info:build sh: /bin/ps: Operation not permitted
:info:build Error running link command: No such file or directory
:info:build make[2]: *** [lib/libdbusmenuqt.a] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_Users_tatsh_dev_macstrop_kf5_kf
5-plasma-runtime/kf5-plasma-runtime/work/build'
:info:build make[1]: *** [libdbusmenuqt/CMakeFiles/dbusmenuqt.dir/all] Error 2

I have /bin/ps (as all Macs do).

 $ la /bin/ps
-rwsr-xr-x 1 root wheel 51280 2018-11-30 02:39:53 /bin/ps

This source's Cairo port conflicting with MacPorts' librsvg port?

I am getting this error from librsvg:

:info:configure checking for    cairo >= 1.15.12                cairo-png >= 1.15.12            freetype2 >= 20.0.14            gdk-pixbuf-2.0 >= 2.20  gio-2.0 >= 2.24.0                       glib-2.0 >= 2.48.0              libxml-2.0 >= 2.9.0             pangocairo >= 1.38.0            pangoft2 >= 1.38.0                    libcroco-0.6 >= 0.6.1... no
:info:configure configure: error: Package requirements (        cairo >= 1.15.12                cairo-png >= 1.15.12            freetype2 >= 20.0.14            gdk-pixbuf-2.0 >= 2.20  gio-2.0 >= 2.24.0
        glib-2.0 >= 2.48.0              libxml-2.0 >= 2.9.0             pangocairo >= 1.38.0            pangoft2 >= 1.38.0                    libcroco-0.6 >= 0.6.1) were not met:
:info:configure Requested 'cairo >= 1.15.12' but version of cairo is 1.14.8
:info:configure Requested 'cairo-png >= 1.15.12' but version of cairo-png is 1.14.8

This source provides cairo @1.14.8 and running port upgrade -f cairo refuses to update to MacPorts own cairo @1.16.0. This source does not provide its own librsvg, which is needed by a few packages from here like VLC and ffmpeg.

Documentation on KF5, workarounds, etc?

Wondering if you'd be open to a separate markdown file for notes on KF5 apps and workarounds for various issues as they are discovered. I can submit a PR.

One item I would note is that while a lot of settings will not show up in systemsettings they can still be set in ~/.config/kdeglobals. For example to enable double-clicking for files in Dolphin and other managers:

[KDE]
SingleClick=false

Failed to build kf5-osx-integration-devel

...
:info:build /opt/local/var/macports/build/_Users_oprypin_repos_macstrop_kf5_kf5-osx-integration/kf5-osx-integration-devel/work/kf5-osx-integration-5/src/qcocoa-qpa/qcocoawindow.mm:340:47: error: use of undeclared identifier 'QOperatingSystemVersion'; did you mean 'NSOperatingSystemVersion'?
:info:build     if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSSierra) {
:info:build                                               ^~~~~~~~~~~~~~~~~~~~~~~
:info:build                                               NSOperatingSystemVersion
:info:build /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h:25:3: note: 'NSOperatingSystemVersion' declared here
:info:build } NSOperatingSystemVersion;
:info:build   ^
:info:build /opt/local/var/macports/build/_Users_oprypin_repos_macstrop_kf5_kf5-osx-integration/kf5-osx-integration-devel/work/kf5-osx-integration-5/src/qcocoa-qpa/qcocoawindow.mm:340:34: error: no member named 'current' in 'NSOperatingSystemVersion'
:info:build     if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSSierra) {
:info:build         ~~~~~~~~~~~~~~~~~~~~~~~~~^
:info:build /opt/local/var/macports/build/_Users_oprypin_repos_macstrop_kf5_kf5-osx-integration/kf5-osx-integration-devel/work/kf5-osx-integration-5/src/qcocoa-qpa/qcocoawindow.mm:340:72: error: no member named 'MacOSSierra' in 'NSOperatingSystemVersion'
:info:build     if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSSierra) {
:info:build                                               ~~~~~~~~~~~~~~~~~~~~~~~~~^
...

I have qt5-kde @5.8.0_0+harfbuzz+mariadb55+qt5kde - which I installed just now (without specifying a particular version).
What's worrisome is that QOperatingSystemVersion was introduced in Qt 5.9.

The actual problem I'm trying to solve is that icons don't show in Kate and all possible solutions seem to hinge on kf5-osx-integration-devel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.