Package Details: kronos 2.6.2-1

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: 6
Popularity: 0.010540
First Submitted: 2022-02-15 08:28 (UTC)
Last Updated: 2024-10-16 21:30 (UTC)

Latest Comments

1 2 Next › Last »

FabioLolix commented on 2024-10-16 17:47 (UTC)

About the error I have disabled inadvertently export CFLAGS+=" -Wno-error=format-security" for this pkgbuild, since my last test have been released a new version, I'll take care after dinner

simona commented on 2024-10-16 17:30 (UTC)

cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]

noabody commented on 2022-12-11 17:50 (UTC) (edited on 2022-12-11 17:51 (UTC) by noabody)

In yabause/src/CMakeLists.txt:

if (CMAKE_COMPILER_IS_GNUCC)
    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -D_DEFAULT_SOURCE -Wno-format -march=native -funroll-loops")
        set(CMAKE_CPP_FLAGS "${CMAKE_CPP_FLAGS} -march=native -funroll-loops")
endif()

-march=native generates processor dependent code which prevents the built package from being portable

No suggestions as to resolution since arch=('i686' 'x86_64' 'pentium4'). The first would be -march=i686 and the latter would be -march=x86-64

tallero commented on 2022-06-14 22:25 (UTC)

@FabioLolix: ok then it was me who had it already disabled on the build machine. Added the new flags.

FabioLolix commented on 2022-06-14 22:05 (UTC)

I have format-security set as it is in the default /etc/makekg.conf https://archlinux.org/packages/core/x86_64/pacman/

tallero commented on 2022-06-14 22:01 (UTC) (edited on 2022-06-14 22:02 (UTC) by tallero)

mmh, actually I also have clang failing:

/tmp/makepkg/kronos/src/kronos/yabause/src/core/sound/al/sndal.c:100:9: error: non-void function 'sound_update_thd' should return a value [-Wreturn-type]
        return;
        ^

About the format-security error, maybe you explicitly set it in makepkg.conf?

Here is someone with the same problem as you (on another package).

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?