[Bug 263068] KDE ports fail to build without showing why

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 5 18:11:10 BST 2022


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263068

            Bug ID: 263068
           Summary: KDE ports fail to build without showing why
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: bsd at volki.at
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

This happens with some KDE-related ports. The build fails may be caused by some
version incompatibilty, but additionally there is an issue with the error
message, or the lack of it. It says "FAILED:", but what comes after that in the
same line doesn't seem related, or cut off. Also, ninja reports that a
subcommand has failed, but doesn't reveal which subcommand. The last reported
command (cd /usr/ports/devel/kf5-kservice/work/.build/po/ca/docs/desktoptojson
&& /usr/local/bin/meinproc5 --stylesheet
/usr/local/share/kf5/kdoctools/customization/kde-include-man.xsl --check
/usr/ports/devel/kf5-kservice/work/kservice-5.92.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook)
doesn't fail, as it reports a successful write of the output file and doesn't
report an error when executed manually.

My OS version is 12.3-STABLE r371751 on amd64, and /usr/ports has been updated
today.

kf5-kservice# cd /usr/ports/devel/kf5-kservice/
kf5-kservice# MAKE_JOBS_UNSAFE=yes make
===>  License LGPL20 accepted by the user
===>   kf5-kservice-5.92.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by kf5-kservice-5.92.0 for building
===>  Extracting for kf5-kservice-5.92.0
=> SHA256 Checksum OK for KDE/frameworks/5.92.0/kservice-5.92.0.tar.xz.
===>  Patching for kf5-kservice-5.92.0
===>   kf5-kservice-5.92.0 depends on executable: bison - found
===>   kf5-kservice-5.92.0 depends on file: /usr/local/bin/cmake - found
===>   kf5-kservice-5.92.0 depends on executable: ninja - found
===>   kf5-kservice-5.92.0 depends on executable: msgfmt - found
===>   kf5-kservice-5.92.0 depends on file: /usr/local/bin/meinproc5 - found
===>   kf5-kservice-5.92.0 depends on file:
/usr/local/share/ECM/cmake/ECMConfig.cmake - found
===>   kf5-kservice-5.92.0 depends on package: qt5-buildtools>=5.15.2 - found
===>   kf5-kservice-5.92.0 depends on package: qt5-qmake>=5.15.2 - found
===>   kf5-kservice-5.92.0 depends on shared library: libintl.so - found
(/usr/local/lib/libintl.so)
===>   kf5-kservice-5.92.0 depends on shared library: libKF5Archive.so - found
(/usr/local/lib/libKF5Archive.so)
===>   kf5-kservice-5.92.0 depends on shared library: libKF5ConfigCore.so -
found (/usr/local/lib/libKF5ConfigCore.so)
===>   kf5-kservice-5.92.0 depends on shared library: libKF5CoreAddons.so -
found (/usr/local/lib/libKF5CoreAddons.so)
===>   kf5-kservice-5.92.0 depends on shared library: libKF5Crash.so - found
(/usr/local/lib/libKF5Crash.so)
===>   kf5-kservice-5.92.0 depends on shared library: libKF5DBusAddons.so -
found (/usr/local/lib/libKF5DBusAddons.so)
===>   kf5-kservice-5.92.0 depends on shared library: libKF5I18n.so - found
(/usr/local/lib/libKF5I18n.so)
===>   kf5-kservice-5.92.0 depends on shared library: libQt5Core.so - found
(/usr/local/lib/qt5/libQt5Core.so)
===>   kf5-kservice-5.92.0 depends on shared library: libQt5DBus.so - found
(/usr/local/lib/qt5/libQt5DBus.so)
===>   kf5-kservice-5.92.0 depends on shared library: libQt5Gui.so - found
(/usr/local/lib/qt5/libQt5Gui.so)
===>   kf5-kservice-5.92.0 depends on shared library: libQt5Xml.so - found
(/usr/local/lib/qt5/libQt5Xml.so)
===>  Configuring for kf5-kservice-5.92.0
===>  Performing out-of-source build
/bin/mkdir -p /usr/ports/devel/kf5-kservice/work/.build
-- The C compiler identification is Clang 13.0.0
-- The CXX compiler identification is Clang 13.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- 

-- Looking for __GLIBC__
-- Looking for __GLIBC__ - not found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Performing Test HAVE_DATE_TIME
-- Performing Test HAVE_DATE_TIME - Success
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE
-- Performing Test BSYMBOLICFUNCTIONS_AVAILABLE - Success
-- Found Gettext: /usr/local/bin/msgmerge (found version "0.20.1") 
-- Found FLEX: /usr/local/bin/flex (found version "2.6.4") 
-- Found BISON: /usr/local/bin/bison (found suitable version "3.8.2", minimum
required is "3.0") 
-- Looking for mmap
-- Looking for mmap - found
-- Looking for posix_madvise
-- Looking for posix_madvise - found
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- The following OPTIONAL packages have been found:

 * KF5DocTools (required version >= 5.92.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.92.0), Extra CMake Modules.,
<https://commits.kde.org/extra-cmake-modules>
 * Qt5 (required version >= 5.15.2)
 * Qt5Xml (required version >= 5.15.2)
 * KF5Config (required version >= 5.92.0)
 * KF5CoreAddons (required version >= 5.92.0)
 * Qt5DBus (required version >= 5.15.2)
 * KF5DBusAddons (required version >= 5.92.0)
 * Gettext
 * KF5I18n (required version >= 5.92.0)
 * FLEX, Fast Lexical Analyzer, <http://flex.sourceforge.net>
   Required for the Trader parser
 * BISON (required version >= 3.0), general-purpose parser generator,
<http://www.gnu.org/software/bison>
   Required for the Trader parser
 * Qt5Core

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator &
KDevelop)

-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_VERBOSE_MAKEFILE
    THREADS_HAVE_PTHREAD_ARG


-- Build files have been written to: /usr/ports/devel/kf5-kservice/work/.build
===>  Building for kf5-kservice-5.92.0
[  1% 1/78] cd /usr/ports/devel/kf5-kservice/work/.build &&
/usr/local/bin/cmake -DGETTEXT_MSGFMT_EXECUTABLE=/usr/local/bin/msgfmt
-DCOPY_TO=/usr/ports/devel/kf5-kservice/work/.build/locale
-DPO_DIR=/usr/ports/devel/kf5-kservice/work/kservice-5.92.0/po -P
/usr/local/lib/cmake/KF5I18n/build-pofiles.cmake
[  2% 2/78] cd /usr/ports/devel/kf5-kservice/work/.build &&
/usr/local/bin/cmake -DPYTHON_EXECUTABLE=/usr/local/bin/python3.8
-D_ki18n_pmap_compile_script=/usr/local/lib/cmake/KF5I18n/ts-pmap-compile.py
-DCOPY_TO=/usr/ports/devel/kf5-kservice/work/.build/locale
-DPO_DIR=/usr/ports/devel/kf5-kservice/work/kservice-5.92.0/po -P
/usr/local/lib/cmake/KF5I18n/build-tsfiles.cmake
[  3% 3/78] cd
/usr/ports/devel/kf5-kservice/work/.build/po/ca/docs/desktoptojson &&
/usr/local/bin/meinproc5 --stylesheet
/usr/local/share/kf5/kdoctools/customization/kde-include-man.xsl --check
/usr/ports/devel/kf5-kservice/work/kservice-5.92.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook
FAILED: po/ca/docs/desktoptojson/desktoptojson.8
/usr/ports/devel/kf5-kservice/work/.build/po/ca/docs/desktoptojson/desktoptojson.8 
cd /usr/ports/devel/kf5-kservice/work/.build/po/ca/docs/desktoptojson &&
/usr/local/bin/meinproc5 --stylesheet
/usr/local/share/kf5/kdoctools/customization/kde-include-man.xsl --check
/usr/ports/devel/kf5-kservice/work/kservice-5.92.0/po/ca/docs/desktoptojson/man-desktoptojson.8.docbook
Note: Writing desktoptojson.8
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/kf5-kservice

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list