https://bugs.kde.org/show_bug.cgi?id=491857
Bug ID: 491857 Summary: Unable to build on MaOS: ERROR: Unmodified ffmpeg >= 5.0 is not supported. Classification: Applications Product: digikam Version: 8.4.0 Platform: Compiled Sources OS: macOS Status: REPORTED Severity: normal Priority: NOR Component: Bundle-MacOS Assignee: digikam-bugs-n...@kde.org Reporter: michael_mil...@msn.com Target Milestone: --- *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY STEPS TO REPRODUCE 1. Start with a fresh Mac without macports or homebrew installed 2. download digiKam sources --depth 1 --branch 8.4.0 3. cd to ~/digikam/project/bundles/macports 4. run 01-build-macports.sh OBSERVED RESULT After several hours, the build breaks while building qt5-qtwebengine with the error: :info:configure ERROR: Unmodified ffmpeg >= 5.0 is not supported. Please configure with -qt-webengine-ffmpeg. Surrounding log entries: :debug:main Executing org.macports.main (qt5-qtwebengine) :debug:main dropping privileges: euid changed to 502, egid changed to 501. :debug:main Privilege de-escalation not attempted as not running as root. :debug:archivefetch archivefetch phase started at Sun Aug 18 00:07:47 EDT 2024 :debug:archivefetch Executing org.macports.archivefetch (qt5-qtwebengine) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.fetch (qt5-qtwebengine) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.checksum (qt5-qtwebengine) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.extract (qt5-qtwebengine) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:archivefetch Skipping completed org.macports.patch (qt5-qtwebengine) :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Sun Aug 18 00:07:47 EDT 2024 :notice:configure ---> Configuring qt5-qtwebengine :debug:configure Preferred compilers: clang macports-clang-17 macports-clang-16 macports-clang-15 macports-clang-14 macports-clang-11 :debug:configure Using compiler 'Xcode Clang' :debug:configure Executing proc-pre-org.macports.configure-configure-0 :debug:configure qt5 PortGroup: Qt is provided by qt5 :debug:configure Executing proc-pre-org.macports.configure-configure-1 :debug:configure Found Dependency: path: /opt/digikam.org.arm64/lib filename: libavcodec.dylib :debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: fontconfig dbus harfbuzz glib2 zlib minizip libevent libxml2 poppler pulseaudio icu libopus webp libpng lcms2 freetype re2 snappy qt5-qtdeclarative qt5-qtquickcontrols qt5-qtquickcontrols2 qt5-qtlocation qt5-qtwebchannel qt5-qttools qt5-qtbase python27 py27-ply ninja gperf bison flex qt5-qtwebengine-gn pkgconfig nodejs20 :debug:configure Executing proc-pre-org.macports.configure-configure-2 :debug:configure QT5 Qmake Cache /opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.16-lts/.qmake.cache :debug:configure qt5-qtbase is installed with the following variants: +openssl :debug:configure required: debug, forbidden: :debug:configure rejected, because required variant debug is missing :debug:configure Executing proc-pre-org.macports.configure-configure-3 :debug:configure qt5-qtbase is installed with the following variants: +openssl :debug:configure required: examples, forbidden: :debug:configure rejected, because required variant examples is missing :debug:configure qt5-qtbase is installed with the following variants: +openssl :debug:configure required: tests, forbidden: :debug:configure rejected, because required variant tests is missing :debug:configure Executing proc-pre-org.macports.configure-configure-4 :debug:configure Executing org.macports.configure (qt5-qtwebengine) :debug:configure Environment: :debug:configure CC='/usr/bin/clang' :debug:configure CC_PRINT_OPTIONS='YES' :debug:configure CC_PRINT_OPTIONS_FILE='/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/.CC_PRINT_OPTIONS' :debug:configure CFLAGS='-pipe -Os -isysroot/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64' :debug:configure CPATH='/opt/digikam.org.arm64/include' :debug:configure CPPFLAGS='-I/opt/digikam.org.arm64/include -isysroot/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk' :debug:configure CXX='/usr/bin/clang++' :debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64' :debug:configure DEVELOPER_DIR='/Applications/Xcode-15.2.app/Contents/Developer' :debug:configure F90FLAGS='-pipe -Os -m64' :debug:configure FCFLAGS='-pipe -Os -m64' :debug:configure FFLAGS='-pipe -Os -m64' :debug:configure INSTALL='/usr/bin/install -c' :debug:configure LDFLAGS='-L/opt/digikam.org.arm64/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64' :debug:configure LIBRARY_PATH='/opt/digikam.org.arm64/lib' :debug:configure MACOSX_DEPLOYMENT_TARGET='11.3' :debug:configure MACPORTS_LEGACY_SUPPORT_DISABLED='1' :debug:configure OBJC='/usr/bin/clang' :debug:configure OBJCFLAGS='-pipe -Os -isysroot/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64' :debug:configure OBJCXX='/usr/bin/clang++' :debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64' :debug:configure PATH='/opt/digikam.org.arm64/Library/Frameworks/Python.framework/Versions/2.7/bin:/opt/digikam.org.arm64/bin:/opt/digikam.org.arm64/sbin:/bin:/sbin:/usr/bin:/usr/sbin' :debug:configure PKG_CONFIG_ALLOW_SYSTEM_CFLAGS='1' :debug:configure PKG_CONFIG_ALLOW_SYSTEM_LIBS='1' :debug:configure SDKROOT='/Applications/Xcode-15.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk' :debug:configure SOURCE_DATE_EPOCH='1722394506' :info:configure Executing: cd "/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.16-lts" && /opt/digikam.org.arm64/libexec/qt5/bin/qmake PREFIX=/opt/digikam.org.arm64 QMAKE_LINK=/usr/bin/clang++ -spec macx-clang -- -webengine-kerberos -webengine-proprietary-codecs -system-webengine-icu -system-webengine-ffmpeg -feature-webengine-system-gn :debug:configure system: cd "/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.16-lts" && /opt/digikam.org.arm64/libexec/qt5/bin/qmake PREFIX=/opt/digikam.org.arm64 QMAKE_LINK=/usr/bin/clang++ -spec macx-clang -- -webengine-kerberos -webengine-proprietary-codecs -system-webengine-icu -system-webengine-ffmpeg -feature-webengine-system-gn :info:configure Running configuration tests... :info:configure ERROR: Unmodified ffmpeg >= 5.0 is not supported. Please configure with -qt-webengine-ffmpeg. :info:configure Command failed: cd "/opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.16-lts" && /opt/digikam.org.arm64/libexec/qt5/bin/qmake PREFIX=/opt/digikam.org.arm64 QMAKE_LINK=/usr/bin/clang++ -spec macx-clang -- -webengine-kerberos -webengine-proprietary-codecs -system-webengine-icu -system-webengine-ffmpeg -feature-webengine-system-gn :info:configure Exit code: 3 :error:configure Failed to configure qt5-qtwebengine: consult /opt/digikam.org.arm64/var/macports/build/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/work/qtwebengine-5.15.16-lts/config.log :error:configure Failed to configure qt5-qtwebengine: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed :debug:configure while executing :debug:configure "$procedure $targetname" :error:configure See /opt/digikam.org.arm64/var/macports/logs/_opt_digikam.org.arm64_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtwebengine/main.log for details. EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: 14.6.1 (23G93) (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: 5 ADDITIONAL INFORMATION I'm using Xcode version 15.2. I can't run anything earlier than 15.0 on this version of MacOS. Additionally, this is an arm64, not x86_64 build. It looks like ffmpeg 6.1.1 is being explicitly used in digikam/project/bundles/3rdparty/ext_ffmpeg. I'm going to try 4.5.5 and see what happens. Alternatively, it looks like we could specify the flag "-qt-webengine-ffmpeg", but I'm not sure how to modify the options or makefiles. I had to modify a few files to even get this far in the build. Specifically, I added the following ports to 01-build-macports.sh: port install py312-setuptools_scm port install libass port install opus-tools port install libvpx port install x264 -- You are receiving this mail because: You are watching all bug changes.