You are not logged in.
Hey guys,
Having trouble with intstallation of one of the AUR packages (semantik), during compilation the system complain about the lack of 'KMessageBox' and 'KLocalizedString'.
I bet it's the case of missing dependencies - unfortunately not a clue which could these be - maybe someone does.
Help much appreciated.
The relevant compiler errors (during 'makepkg'):
------------
[ 15/139] Compiling src/fig/box_view.cpp ../src/fig/box_entity_properties.cpp:3:10: fatal error: KMessageBox: No such file or directory 3 | #include <KMessageBox> | ^~~~~~~~~~~~~ compilation terminated.
In file included from ../src/fig/mem_box.cpp:5: ../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory 6 | #include <KLocalizedString> | ^~~~~~~~~~~~~~~~~~ compilation terminated.
In file included from ../src/base/color_scheme.h:7, from ../src/base/data_item.h:15, from ../src/fig/mem_box.h:6, from ../src/fig/box_document_properties.cpp:12: ../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory 6 | #include <KLocalizedString> | ^~~~~~~~~~~~~~~~~~ compilation terminated.
../src/fig/box_view.cpp:4:10: fatal error: KMessageBox: No such file or directory 4 | #include <KMessageBox> | ^~~~~~~~~~~~~ compilation terminated.
In file included from ../src/base/color_scheme.h:7, from ../src/base/data_item.h:15, from ../src/fig/CON.h:8, from ../src/fig/box_fork.h:8, from ../src/fig/box_fork.cpp:14: ../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory 6 | #include <KLocalizedString> | ^~~~~~~~~~~~~~~~~~ compilation terminated.
Waf: Leaving directory `/data/Temp/semantik/src/semantik-1.2.6/build' Build failed -> task in 'semlib' failed with exit status 1 (run with -v to display more information) (..) -> task in 'semlib' failed with exit status 1 (run with -v to display more information) ==> ERROR: A failure occurred in build(). Aborting...
--------------------
Last edited by muthuh (2021-04-20 06:51:31)
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
root@frege ~]# pacman -F KMessageBox
extra/kdelibs4support 5.77.0-1 (kf5-aids) [Installiert: 5.81.0-1]
usr/include/KF5/KDELibs4Support/KDE/KMessageBox
extra/kwidgetsaddons 5.77.0-1 (kf5) [Installiert: 5.81.0-1]
usr/include/KF5/KWidgetsAddons/KMessageBox
root@frege ~]# pacman -F KLocalizedString
extra/kdelibs4support 5.77.0-1 (kf5-aids) [Installiert: 5.81.0-1]
usr/include/KF5/KDELibs4Support/KDE/KLocalizedString
extra/ki18n 5.77.0-1 (kf5) [Installiert: 5.81.0-1]
usr/include/KF5/KI18n/KLocalizedString
Offline
Much appreciate.
So many years, yet still a n00b : (
Offline
Package is failing to build in a clean chroot:
Setting top to : /build/semantik/src/semantik-1.2.6
Setting out to : /build/semantik/src/semantik-1.2.6/build
Checking for program 'msgfmt' : /usr/bin/msgfmt
Checking for program 'gzip' : /usr/bin/gzip
You are using Linux, perfect!
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for program 'qmake-qt5' : /usr/bin/qmake-qt5
Checking for program 'qmake5' : not found
Checking for program 'qmake' : /usr/bin/qmake
Checking for program 'uic-qt5' : /usr/bin/uic-qt5
Checking for uic version : uic-qt5 5.15.2
Checking for program 'moc-qt5' : /usr/bin/moc-qt5
Checking for program 'rcc-qt5' : /usr/bin/rcc-qt5
Checking for program 'lrelease-qt5' : /usr/bin/lrelease-qt5
Checking for program 'lupdate-qt5' : /usr/bin/lupdate-qt5
Found the Qt5 library path : /usr/lib
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for pkg-config version >= '0.1' : yes
Checking for 'Qt5QuickTest' : yes
Checking for 'Qt5DesignerComponents' : not found
Checking for 'Qt5PdfWidgets' : yes
Checking for 'Qt5WebEngine' : yes
Checking for 'Qt5Qml' : yes
Checking for 'Qt5Designer' : yes
Checking for 'Qt5OpenGL' : yes
Checking for 'Qt5Positioning' : yes
Checking for 'Qt5QmlModels' : yes
Checking for 'Qt5MultimediaWidgets' : yes
Checking for 'Qt5PositioningQuick' : yes
Checking for 'Qt5Help' : yes
Checking for 'Qt5WebChannel' : yes
Checking for 'Qt5Concurrent' : yes
Checking for 'Qt5TextToSpeech' : yes
Checking for 'Qt5Sql' : yes
Checking for 'Qt5EglFSDeviceIntegration' : not found
Checking for 'Qt5EglFsKmsSupport' : not found
Checking for 'Qt5Quick' : yes
Checking for 'Qt5DBus' : yes
Checking for 'Qt5Gui' : yes
Checking for 'Qt5Core' : yes
Checking for 'Qt5MultimediaQuick' : not found
Checking for 'Qt5Xml' : yes
Checking for 'Qt5MultimediaGstTools' : not found
Checking for 'Qt5WaylandClient' : yes
Checking for 'Qt5QuickShapes' : not found
Checking for 'Qt5Pdf' : yes
Checking for 'Qt5Test' : yes
Checking for 'Qt5WebEngineCore' : yes
Checking for 'Qt5Location' : yes
Checking for 'Qt5WebEngineWidgets' : yes
Checking for 'Qt5QuickParticles' : not found
Checking for 'Qt5WaylandCompositor' : yes
Checking for 'Qt5Widgets' : yes
Checking for 'Qt5XcbQpa' : not found
Checking for 'Qt5Network' : yes
Checking for 'Qt5QuickWidgets' : yes
Checking for 'Qt5Svg' : yes
Checking for 'Qt5QmlWorkerScript' : yes
Checking for 'Qt5Multimedia' : yes
Checking for 'Qt5PrintSupport' : yes
See if Qt files compile : no
See if Qt files compile with -fPIE : no
See if Qt files compile with -fPIC : yes
Checking for code snippet : yes
Checking for program 'python3' : /usr/bin/python3
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.2.0 : 3.9.3
python-config : /usr/bin/python3-config
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags : yes
Testing pyembed configuration : yes
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Checking for kdelibs4support : no
Checking for kdelibs4support /usr/include/KF5/KDELibs4Support : no
Checking for kdelibs4support /usr/local/include/KF5/KDELibs4Support : no
Checking for QT5GUI : yes
Enabling gradients in Pdf exports : yes, Qt:(5, 15, 2)
'configure' finished successfully (3.286s)
'clean' finished successfully (0.018s)
Waf: Entering directory `/build/semantik/src/semantik-1.2.6/build'
[ 1/139] Compiling src/fig/box_view.h
[ 2/139] Compiling src/fig/box_class_properties.h
[ 3/139] Compiling src/fig/export_fig_dialog.h
[ 4/139] Compiling src/fig/matrix_dialog.h
[ 5/139] Compiling src/fig/box_link_properties.h
[ 6/139] Compiling src/fig/box_entity_properties.h
[ 7/139] Compiling src/fig/special_edit.h
[ 8/139] Compiling src/fig/box_frame_properties.h
[ 9/139] Compiling src/base/sem_mediator.h
[ 10/139] Compiling src/fig/box_document_properties.h
[ 11/139] Compiling src/fig/box_fork.cpp
[ 12/139] Compiling src/base/sem_mediator.cpp
[ 13/139] Compiling src/fig/box_entity_properties.cpp
[ 14/139] Compiling src/fig/box_entity.cpp
[ 15/139] Compiling src/base/mem_base.cpp
[ 16/139] Compiling src/fig/box_dot.cpp
[ 17/139] Compiling src/fig/box_document_properties.cpp
[ 18/139] Compiling src/base/flag_scheme.cpp
[ 19/139] Compiling src/fig/box_decision.cpp
[ 20/139] Compiling src/fig/special_edit.cpp
../src/fig/box_entity_properties.cpp:3:10: fatal error: KMessageBox: No such file or directory
3 | #include <KMessageBox>
| ^~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/base/mem_base.cpp:6:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
../src/base/sem_mediator.cpp:24:9: fatal error: KConfig: No such file or directory
24 | #include<KConfig>
| ^~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/fig/box_view.h:11,
from ../src/fig/res:zable.h:7,
from ../src/fig/box_entity.h:8,
from ../src/fig/box_entity.cpp:15:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/fig/CON.h:8,
from ../src/fig/box_dot.h:9,
from ../src/fig/box_dot.cpp:14:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/fig/mem_box.h:6,
from ../src/fig/box_document_properties.cpp:12:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/fig/box_view.h:11,
from ../src/fig/res:zable.h:7,
from ../src/fig/box_decision.h:8,
from ../src/fig/box_decision.cpp:16:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/fig/CON.h:8,
from ../src/fig/box_fork.h:8,
from ../src/fig/box_fork.cpp:14:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/color_scheme.h:7,
from ../src/base/data_item.h:15,
from ../src/fig/box_view.h:11,
from ../src/fig/res:zable.h:7,
from ../src/fig/box_item.h:10,
from ../src/fig/special_edit.cpp:5:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ../src/base/flag_scheme.cpp:8:
../src/con.h:6:10: fatal error: KLocalizedString: No such file or directory
6 | #include <KLocalizedString>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
Waf: Leaving directory `/build/semantik/src/semantik-1.2.6/build'
Build failed
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
-> task in 'semlib' failed with exit status 1 (run with -v to display more information)
[1m[31m==> ERROR:(B[m[1m A failure occurred in build().(B[m
[1m Aborting...(B[m
Bad dependencies or it is failing to detect installed packages correctly. From config.log
Checking for kdelibs4support
==>
#include <kio/job.h>
#include <KDE/KDialog>
<==
[1/1] Compiling build/.conf_check_c833546a6b72b7e4021549aaac871a4f/test.cpp
['/usr/bin/g++', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-std=c++11', '-fPIC', '-I/usr/lib/qt/mkspecs/linux-g++', '-I../../../include/KF5/KIOCore', '-I../../../../include/KF5/KIOCore', '-I../../../include/KF5/KAuth', '-I../../../../include/KF5/KAuth', '-I../../../include/KF5/KIOWidgets', '-I../../../../include/KF5/KIOWidgets', '-I../../../include/KF5/KIconThemes', '-I../../../../include/KF5/KIconThemes', '-I../../../include/KF5/KConfigWidgets', '-I../../../../include/KF5/KConfigWidgets', '-I../../../include/KF5/KXmlGui', '-I../../../../include/KF5/KXmlGui', '-I../../../include/KF5/KCoreAddons', '-I../../../../include/KF5/KCoreAddons', '-I../../../include/KF5/KConfigGui', '-I../../../../include/KF5/KConfigGui', '-I../../../include/KF5/KConfigCore', '-I../../../../include/KF5/KConfigCore', '-I../../../include/KF5/KWidgetsAddons', '-I../../../../include/KF5/KWidgetsAddons', '-I../../../include/KF5/KI18n', '-I../../../../include/KF5/KI18n', '-I../../../include/KF5/SonnetUi', '-I../../../../include/KF5/SonnetUi', '-I/usr/include/qt/QtCore', '-I/usr/include/qt', '-I/usr/include/qt/QtGui', '-I/usr/include/qt/QtWidgets', '-DWAF', '-DICONS="/usr/share/icons:/usr:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/:/var/lib/mandriva/kde-profiles/powerpackplus/share/icons/:/usr/share/icons/"', '-DVERSION="1.2.6"', '-DSEMANTIK_DIR="/usr/share/semantik"', '-DTEMPLATE_DIR="/usr/share/semantik/templates/"', '-DFILTER_DIR="/usr/share/semantik/filters/"', '-DQT_CORE_LIB', '-DQT_GUI_LIB', '-DQT_CORE_LIB', '-DQT_WIDGETS_LIB', '-DQT_GUI_LIB', '-DQT_CORE_LIB', '../test.cpp', '-c', '-o/build/semantik/src/semantik-1.2.6/build/.conf_check_c833546a6b72b7e4021549aaac871a4f/testbuild/test.cpp.1.o', '-D_FORTIFY_SOURCE=2']
err: ../test.cpp:1:10: fatal error: kio/job.h: No such file or directory
1 | #include <kio/job.h>
| ^~~~~~~~~~~
compilation terminated.
from /build/semantik/src/semantik-1.2.6: Test does not build: Traceback (most recent call last):
File "/build/semantik/src/semantik-1.2.6/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py", line 335, in run_build
bld.compile()
File "/build/semantik/src/semantik-1.2.6/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 176, in compile
raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more information)
no
from /build/semantik/src/semantik-1.2.6: The configuration failed
--------------------------------------------------------------------------
Checking for kdelibs4support /usr/include/KF5/KDELibs4Support
==>
#include <kio/job.h>
#include <KDE/KDialog>
<==
[1/1] Compiling build/.conf_check_bc42a31b80158db1b576c9a1247c9ee4/test.cpp
['/usr/bin/g++', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-std=c++11', '-fPIC', '-I/usr/lib/qt/mkspecs/linux-g++', '-I../../../include/KF5/KIOCore', '-I../../../../include/KF5/KIOCore', '-I../../../include/KF5/KAuth', '-I../../../../include/KF5/KAuth', '-I../../../include/KF5/KIOWidgets', '-I../../../../include/KF5/KIOWidgets', '-I../../../include/KF5/KIconThemes', '-I../../../../include/KF5/KIconThemes', '-I../../../include/KF5/KConfigWidgets', '-I../../../../include/KF5/KConfigWidgets', '-I../../../include/KF5/KXmlGui', '-I../../../../include/KF5/KXmlGui', '-I../../../include/KF5/KCoreAddons', '-I../../../../include/KF5/KCoreAddons', '-I../../../include/KF5/KConfigGui', '-I../../../../include/KF5/KConfigGui', '-I../../../include/KF5/KConfigCore', '-I../../../../include/KF5/KConfigCore', '-I../../../include/KF5/KWidgetsAddons', '-I../../../../include/KF5/KWidgetsAddons', '-I../../../include/KF5/KI18n', '-I../../../../include/KF5/KI18n', '-I../../../include/KF5/SonnetUi', '-I../../../../include/KF5/SonnetUi', '-I/usr/include/KF5/KDELibs4Support', '-I/usr/include/qt/QtCore', '-I/usr/include/qt', '-I/usr/include/qt/QtGui', '-I/usr/include/qt/QtWidgets', '-DWAF', '-DICONS="/usr/share/icons:/usr:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/:/var/lib/mandriva/kde-profiles/powerpackplus/share/icons/:/usr/share/icons/"', '-DVERSION="1.2.6"', '-DSEMANTIK_DIR="/usr/share/semantik"', '-DTEMPLATE_DIR="/usr/share/semantik/templates/"', '-DFILTER_DIR="/usr/share/semantik/filters/"', '-DQT_CORE_LIB', '-DQT_GUI_LIB', '-DQT_CORE_LIB', '-DQT_WIDGETS_LIB', '-DQT_GUI_LIB', '-DQT_CORE_LIB', '../test.cpp', '-c', '-o/build/semantik/src/semantik-1.2.6/build/.conf_check_bc42a31b80158db1b576c9a1247c9ee4/testbuild/test.cpp.1.o', '-D_FORTIFY_SOURCE=2']
err: ../test.cpp:1:10: fatal error: kio/job.h: No such file or directory
1 | #include <kio/job.h>
| ^~~~~~~~~~~
compilation terminated.
from /build/semantik/src/semantik-1.2.6: Test does not build: Traceback (most recent call last):
File "/build/semantik/src/semantik-1.2.6/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py", line 335, in run_build
bld.compile()
File "/build/semantik/src/semantik-1.2.6/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 176, in compile
raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more information)
no
from /build/semantik/src/semantik-1.2.6: The configuration failed
--------------------------------------------------------------------------
Checking for kdelibs4support /usr/local/include/KF5/KDELibs4Support
==>
#include <kio/job.h>
#include <KDE/KDialog>
<==
[1/1] Compiling build/.conf_check_e7bf12d5ca55c1b658e4ae88925d5f4e/test.cpp
['/usr/bin/g++', '-march=x86-64', '-mtune=generic', '-O2', '-pipe', '-fno-plt', '-std=c++11', '-fPIC', '-I/usr/lib/qt/mkspecs/linux-g++', '-I../../../include/KF5/KIOCore', '-I../../../../include/KF5/KIOCore', '-I../../../include/KF5/KAuth', '-I../../../../include/KF5/KAuth', '-I../../../include/KF5/KIOWidgets', '-I../../../../include/KF5/KIOWidgets', '-I../../../include/KF5/KIconThemes', '-I../../../../include/KF5/KIconThemes', '-I../../../include/KF5/KConfigWidgets', '-I../../../../include/KF5/KConfigWidgets', '-I../../../include/KF5/KXmlGui', '-I../../../../include/KF5/KXmlGui', '-I../../../include/KF5/KCoreAddons', '-I../../../../include/KF5/KCoreAddons', '-I../../../include/KF5/KConfigGui', '-I../../../../include/KF5/KConfigGui', '-I../../../include/KF5/KConfigCore', '-I../../../../include/KF5/KConfigCore', '-I../../../include/KF5/KWidgetsAddons', '-I../../../../include/KF5/KWidgetsAddons', '-I../../../include/KF5/KI18n', '-I../../../../include/KF5/KI18n', '-I../../../include/KF5/SonnetUi', '-I../../../../include/KF5/SonnetUi', '-I/usr/include/qt/QtCore', '-I/usr/include/qt', '-I/usr/include/qt/QtGui', '-I/usr/include/qt/QtWidgets', '-DWAF', '-DICONS="/usr/share/icons:/usr:/etc/opt/kde3/share/icons/:/opt/kde3/share/icons/:/var/lib/mandriva/kde-profiles/powerpackplus/share/icons/:/usr/share/icons/"', '-DVERSION="1.2.6"', '-DSEMANTIK_DIR="/usr/share/semantik"', '-DTEMPLATE_DIR="/usr/share/semantik/templates/"', '-DFILTER_DIR="/usr/share/semantik/filters/"', '-DQT_CORE_LIB', '-DQT_GUI_LIB', '-DQT_CORE_LIB', '-DQT_WIDGETS_LIB', '-DQT_GUI_LIB', '-DQT_CORE_LIB', '../test.cpp', '-c', '-o/build/semantik/src/semantik-1.2.6/build/.conf_check_e7bf12d5ca55c1b658e4ae88925d5f4e/testbuild/test.cpp.1.o', '-D_FORTIFY_SOURCE=2']
err: ../test.cpp:1:10: fatal error: kio/job.h: No such file or directory
1 | #include <kio/job.h>
| ^~~~~~~~~~~
compilation terminated.
from /build/semantik/src/semantik-1.2.6: Test does not build: Traceback (most recent call last):
File "/build/semantik/src/semantik-1.2.6/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py", line 335, in run_build
bld.compile()
File "/build/semantik/src/semantik-1.2.6/.waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 176, in compile
raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
-> task in 'testprog' failed with exit status 1 (run with -v to display more information)
no
kio is in depends but usr/include/KF5/KIOCore/kio/job.h is not detected.
Offline
Turns out 'kdelibs4support' 'kwidgetsaddons' and 'ki18n' were already present so apparently not a simple case of missing dependencies - something I was very much counting on.
Offline