Package Details: vitetris 0.59.1-2

Git Clone URL: https://aur.archlinux.org/vitetris.git (read-only, click to copy)
Package Base: vitetris
Description: Virtual terminal *tris clone
Upstream URL: http://victornils.net/tetris
Keywords: game tetris
Licenses: BSD
Submitter: wide-eyed
Maintainer: kleintux
Last Packager: kleintux
Votes: 67
Popularity: 0.25
First Submitted: 2008-01-18 19:15 (UTC)
Last Updated: 2023-11-14 10:26 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

JohnRobson commented on 2023-05-21 19:10 (UTC)

gameserver.c: In function ‘main’:
gameserver.c:618:25: error: format not a string literal and no format arguments [-Werror=format-security]
  618 |                         printf(ctime(&t));
      |                         ^~~~~~
cc1: some warnings being treated as errors
make[1]: *** [Makefile:35: gameserver] Error 1
make[1]: Leaving directory '/tmp/yay/vitetris/src/vitetris-0.59.1/src/netw'
make: *** [Makefile:24: gameserver] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: vitetris-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
vitetris - exit status 4

hidayat.pcd commented on 2021-10-29 15:34 (UTC)

It seems like printf needs a string format, so I add this line to the end of prepare() in PKGBUILD. It successfully builds with this fix.

sed -i 's|ctime(&t)|"%s", &|' src/netw/gameserver.c

StarTroop commented on 2021-07-19 01:58 (UTC)

I haven't been able to build this since April (I have version 0.59.1-1 on my laptop, but now I'm unable to build it on my desktop as of June). Same error as kleintux, but I'm unable to troubleshoot in detail. From what I can gather, the addition in the compiler of Werror=format-security, which doesn't like fprint, causes the fatal error. If an upstream fix is necessary, is anyone who is able to troubleshoot better able to submit the issue? Otherwise is a patch possible?

Paragoumba commented on 2021-02-20 12:20 (UTC)

The desktop file need to be updated because it calls an executable that doesn't exist

xlucn commented on 2020-08-03 06:02 (UTC)

With the current makefile patch renaming the executable, I think the Exec key in the desktop file needs to be changed accordingly.

polyzen commented on 2017-11-02 19:57 (UTC)

Hund, looks like the reason it works for me is since I'm on [testing]: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/ncurses&id=987faeb8442d44e76a7a58642e8e6432eb220c25

<deleted-account> commented on 2017-11-02 12:22 (UTC)

I solved it by downgrading Ncurses from "6.0+20170902-2" to "6.0+20170902-1".