Package Details: cytopia-git r2838.2c670ec2-1

Git Clone URL: https://aur.archlinux.org/cytopia-git.git (read-only, click to copy)
Package Base: cytopia-git
Description: A city building simulation game
Upstream URL: https://www.cytopia.net/
Keywords: building city citybuilding game manager simulation tycoon
Licenses: GPL-3.0-only
Submitter: Mr.Smith1974
Maintainer: furrykef
Last Packager: furrykef
Votes: 1
Popularity: 0.001427
First Submitted: 2023-06-07 14:01 (UTC)
Last Updated: 2024-03-16 20:13 (UTC)

Pinned Comments

furrykef commented on 2024-03-16 20:14 (UTC)

There's currently a bug where running the game will generate an imgui.ini file in whatever directory you run the game from, so be careful.

Latest Comments

furrykef commented on 2024-03-16 20:14 (UTC)

There's currently a bug where running the game will generate an imgui.ini file in whatever directory you run the game from, so be careful.

furrykef commented on 2024-03-15 15:18 (UTC)

The game should install now, but I can't get sound working. I uploaded the PKGBUILD anyway because it's still an improvement. Maybe an upstream change will fix the sound, or maybe I'll have to update the PKGBUILD again.

In the meantime, if anyone can figure out what's wrong with the sound and how to fix it, I'm all ears.

furrykef commented on 2024-03-14 19:27 (UTC) (edited on 2024-03-14 19:28 (UTC) by furrykef)

Upstream has been patched and removing -Werror=format-security is no longer necessary. However, the issue of the package installing to the wrong directory is still there. I will try to work with upstream on this, but I can't guarantee anything.

@Mr.Smith1974: I noticed you orphaned the package. I've adopted it for now, but I will happily return it if you change your mind. I'm not sure the issues can be fixed on the packaging side of things anyway.

furrykef commented on 2024-03-14 16:06 (UTC)

Even if you remove -Werror=format-security, the game is not playable because it installs the files to the wrong path. In particular, it installs files to a subdirectory of where the program was built, which a PKGBUILD should never do.

furrykef commented on 2024-03-14 08:29 (UTC) (edited on 2024-03-14 16:06 (UTC) by furrykef)

-Werror=format-security is there to prevent security issues. It shouldn't be disabled except as a last resort. I am working with upstream to try to fix the cause there.

Mr.Smith1974 commented on 2023-11-01 15:36 (UTC)

I just checked everything. Everything works well.

LuxFerre commented on 2023-11-01 15:04 (UTC) (edited on 2023-11-01 15:07 (UTC) by LuxFerre)

Had another error after removing -Werror=format-security from makepkg.conf:

-- The CXX compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:60 (message): The C++ compiler /usr/bin/c++ is not able to compile a simple test program. It fails with the following output: Change Dir: '/home/leon/.cache/yay/cytopia-git/src/Cytopia/CMakeFiles/CMakeScratch/TryCompile-pe81rd' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_2de4f/fast /usr/bin/make -f CMakeFiles/cmTC_2de4f.dir/build.make CMakeFiles/cmTC_2de4f.dir/build make[1]: Entering directory '/home/leon/.cache/yay/cytopia-git/src/Cytopia/CMakeFiles/CMakeScratch/TryCompile-pe81rd' Building CXX object CMakeFiles/cmTC_2de4f.dir/testCXXCompiler.cxx.o /usr/bin/c++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions # -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wformat -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -o CMakeFiles/cmTC_2de4f.dir/testCXXCompiler.cxx.o -c /home/leon/.cache/yay/cytopia-git/src/Cytopia/CMakeFiles/CMakeScratch/TryCompile-pe81rd/testCXXCompiler.cxx c++: fatal error: no input files compilation terminated. make[1]: *** [CMakeFiles/cmTC_2de4f.dir/build.make:78: CMakeFiles/cmTC_2de4f.dir/testCXXCompiler.cxx.o] Error 1 make[1]: Leaving directory '/home/leon/.cache/yay/cytopia-git/src/Cytopia/CMakeFiles/CMakeScratch/TryCompile-pe81rd' make: *** [Makefile:127: cmTC_2de4f/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:15 (project) -- Configuring incomplete, errors occurred! ==> ERROR: A failure occurred in build(). Aborting... -> error making: cytopia-git-exit status 4

Mr.Smith1974 commented on 2023-10-30 06:37 (UTC)

To successfully build this package please disable -Werror=format-security in /etc/makepkg.conf

LuxFerre commented on 2023-10-29 18:43 (UTC)

Getting some build errors: UIManager.cxx:203:13: error: format not a string literal and no format arguments [-Werror=format-security] 203 | ui::Text(m_tooltip.c_str()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~ UIManager.cxx:215:13: error: format not a string literal and no format arguments [-Werror=format-security] 215 | ui::Text(m_fpsCounter.c_str()); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~