Aaron Bieber wrote:
> Another matrix-thing update \o/ !
>
> This time for Neochat!
>
> No real changes in the port. Here are the changes for the actual app:
> https://apps.kde.org/neochat/#1.2.0
>
> OK?
Hmm. Do you have some KDE parts on your system that I do not?
$ make
===> Configuring for neochat-1.2.0
Installing in /usr/local. Run
/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/prefix.sh to set the
environment for NeoChat.
-- Could not set up the appstream test. appstreamcli is missing.
CMake Deprecation Warning at CMakeLists.txt:35 (cmake_policy):
The OLD behavior for policy CMP0063 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Warning (dev) at
/usr/local/share/ECM/modules/ECMFindModuleHelpers.cmake:112 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/local/share/ECM/find-modules/FindKF5.cmake:30
(ecm_find_package_version_check)
CMakeLists.txt:47 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:71 (find_package):
By not providing "FindKF5QQC2DesktopStyle.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"KF5QQC2DesktopStyle", but CMake did not find one.
Could not find a package configuration file provided by
"KF5QQC2DesktopStyle" (requested version 5.77.0) with any of the following
names:
KF5QQC2DesktopStyleConfig.cmake
kf5qqc2desktopstyle-config.cmake
Add the installation prefix of "KF5QQC2DesktopStyle" to CMAKE_PREFIX_PATH
or set "KF5QQC2DesktopStyle_DIR" to a directory containing one of the above
files. If "KF5QQC2DesktopStyle" provides a separate development package or
SDK, be sure it has been installed.
-- Configuring incomplete, errors occurred!
See also
"/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/CMakeFiles/CMakeOutput.log".
See also
"/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/CMakeFiles/CMakeError.log".
*** Error 1 in . (/home/dpb/usr/ports/infrastructure/mk/bsd.port.mk:2909
'do-configure': @cd /home/dpb/usr/ports/pobj/neochat-1.2.0/build-am...)
*** Error 2 in . (/home/dpb/usr/ports/infrastructure/mk/bsd.port.mk:2929
'/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/.configure_done')
*** Error 2 in /usr/ports/net/neochat
(/home/dpb/usr/ports/infrastructure/mk/bsd.port.mk:2594 'all':
@lock=neochat-1.2.0; export _LOCKS_HEL...)
$ cat
/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/CMakeFiles/CMakeError.log
Determining if the __GLIBC__ exist failed with the following output:
Change Dir:
/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/local/bin/ninja cmTC_e5837 && [1/2] Building C object
CMakeFiles/cmTC_e5837.dir/CheckSymbolExists.c.o
FAILED: CMakeFiles/cmTC_e5837.dir/CheckSymbolExists.c.o
/home/dpb/usr/ports/pobj/neochat-1.2.0/bin/cc -O2 -pipe -MD -MT
CMakeFiles/cmTC_e5837.dir/CheckSymbolExists.c.o -MF
CMakeFiles/cmTC_e5837.dir/CheckSymbolExists.c.o.d -o
CMakeFiles/cmTC_e5837.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:8:19: error: use of undeclared identifier '__GLIBC__'
return ((int*)(&__GLIBC__))[argc];
^
1 error generated.
ninja: build stopped: subcommand failed.
File
/home/dpb/usr/ports/pobj/neochat-1.2.0/build-amd64/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <stdlib.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef __GLIBC__
return ((int*)(&__GLIBC__))[argc];
#else
(void)argc;
return 0;
#endif
}