Package Details: kronos 2.7.0-2

Git Clone URL: https://aur.archlinux.org/kronos.git (read-only, click to copy)
Package Base: kronos
Description: Sega Saturn emulator, fork of yabause
Upstream URL: https://github.com/FCare/Kronos
Licenses: GPL-2.0-or-later
Submitter: tallero
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 7
Popularity: 0.013606
First Submitted: 2022-02-15 08:28 (UTC)
Last Updated: 2025-05-02 22:13 (UTC)

Latest Comments

« First ‹ Previous 1 2

FabioLolix commented on 2022-06-14 21:41 (UTC)

Building with clang don't conclude the build (same as last month), it loop at:

/build/kronos/src/kronos/yabause/src/core/video/opengl/common/src/rbg_compute.cpp:2389:59: warning: expression result unused [-Wunused-value]
               DEBUGWIP("Draw RBG0 [%d -> %d]\n", uniform.startLine, uniform.endLine);
                                                  ~~~~~~~ ^~~~~~~~~
/build/kronos/src/kronos/yabause/src/core/video/opengl/common/src/rbg_compute.cpp:2389:78: warning: expression result unused [-Wunused-value]
               DEBUGWIP("Draw RBG0 [%d -> %d]\n", uniform.startLine, uniform.endLine);
                                                                     ~~~~~~~ ^~~~~~~
/build/kronos/src/kronos/yabause/src/core/video/opengl/common/src/rbg_compute.cpp:2444:14: warning: expression result unused [-Wunused-value]
    YGLDEBUG("RBGGenerator_resize\n");
             ^~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
1 warning generated.
202 warnings generated.
25 warnings generated.
1 warning generated.
2 warnings generated.
52 warnings generated.
30 warnings generated.
1 warning generated.

with 1 core running at 100%

tallero commented on 2022-06-14 21:33 (UTC) (edited on 2022-06-14 21:33 (UTC) by tallero)

I'm wondering why I'm not getting the format-security issue even with gcc. Have you tried with clang by exporting CC=/usr/bin/clang and CXX=/usr/bin/clang++?

FabioLolix commented on 2022-06-14 20:57 (UTC)

It is installed and is automatically installed when building in chroot

tallero commented on 2022-06-14 20:56 (UTC)

@FabioLolix: are you sure base-devel is installed on your system?

FabioLolix commented on 2022-06-12 21:06 (UTC)

I tried again now in clean chroot, the error is still present and the pkgbuild isn't configured to use clang (as already told you on 15/02/22)

Corrected pkgbuild here https://github.com/FabioLolix/AURFIX/tree/main/k/kronos

tallero commented on 2022-06-12 15:58 (UTC)

@FabioLolix @Simona: with clang there is no reported problem on build. Maybe you weren't in a clear chroot?

FabioLolix commented on 2022-05-17 17:04 (UTC) (edited on 2022-05-17 17:04 (UTC) by FabioLolix)

Issue is reported upstream but not answered https://github.com/FCare/Kronos/issues/1337

I was able to build adding:

export CFLAGS+=" -Wno-format -Wno-format-security"
export CXXFLAGS="${CFLAGS}"

between md5sums=() and prepare()


Building with clang don't conclude anyway, so that can be removed entirely IMO


For the records mixed stuff from these posts for the solution

https://bugs.archlinux.org/task/74753

https://bugs.archlinux.org/task/70701

simona commented on 2022-05-16 23:14 (UTC)

[ 4%] Building C object src/CMakeFiles/kronos.dir/utils/src/cheat.c.o
cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
cc1: some warnings being treated as errors
make[2]: [src/CMakeFiles/kronos.dir/build.make:76: src/CMakeFiles/kronos.dir/utils/src/cheat.c.o] Errore 1
make[1]:
[CMakeFiles/Makefile2:273: src/CMakeFiles/kronos.dir/all] Errore 2
make: *** [Makefile:156: all] Errore 2