Search Criteria
Package Details: eliot 2.2-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/eliot.git (read-only, click to copy) |
---|---|
Package Base: | eliot |
Description: | An open source Scrabble game |
Upstream URL: | http://www.nongnu.org/eliot/ |
Licenses: | GPL |
Submitter: | cjlano |
Maintainer: | cjlano |
Last Packager: | cjlano |
Votes: | 3 |
Popularity: | 0.000000 |
First Submitted: | 2017-01-03 20:10 (UTC) |
Last Updated: | 2023-11-01 18:19 (UTC) |
Latest Comments
macxcool commented on 2024-11-25 19:01 (UTC)
I've updated the 'arabica' dependency. The compile error for eliot can be solved be simply adding:
CXXFLAGS="-Wno-format-security"
to the line before ./configure The alternative is editing the C++ code. With arabica fixed and this edit eliot compiles and runs on my system just fine.
ArnaudNux commented on 2022-08-09 21:12 (UTC) (edited on 2022-08-09 21:22 (UTC) by ArnaudNux)
package eliot v2.2
Making all in utils make[2]: Entering directory '/home/arnaud/tempo/eliot/eliot/src/eliot-2.2/utils' depbase=
echo curses_intf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'
;\ g++ -DHAVE_CONFIG_H -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -I../dic -I../game -I../intl -I../intl -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -fPIC -MT curses_intf.o -MD -MP -MF $depbase.Tpo -c -o curses_intf.o curses_intf.cpp &&\ mv -f $depbase.Tpo $depbase.Po curses_intf.cpp: In member function 'void CursesIntf::drawStatus(WINDOW, const std::string&, bool)': curses_intf.cpp:213:14: error: format not a string literal and no format arguments [-Werror=format-security] 213 | mvwprintw(win, y, x, truncOrPad(iMessage, cols).c_str()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses_intf.cpp: In member function 'void CursesIntf::drawBoard(WINDOW, int, int) const': curses_intf.cpp:268:30: error: format not a string literal and no format arguments [-Werror=format-security] 268 | mvwprintw(win, y + row + 1, x + 3 * col + 2 + offset, lfw(chr).c_str()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses_intf.cpp:273:30: error: format not a string literal and no format arguments [-Werror=format-security] 273 | mvwprintw(win, y + row + 1, x + 3 * col + 2 + offset, lfw(chr).c_str()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses_intf.cpp: In member function 'bool CursesIntf::readString(WINDOW, int, int, int, std::wstring&, unsigned int)': curses_intf.cpp:751:22: error: format not a string literal and no format arguments [-Werror=format-security] 751 | mvwprintw(win, y, x, string(len, ' ').c_str()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ curses_intf.cpp: In member function 'void CursesIntf::redraw(WINDOW)': curses_intf.cpp:1129:14: error: format not a string literal and no format arguments [-Werror=format-security] 1129 | mvwprintw(win, 0, 0, truncOrPad(title, cols).c_str()); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1plus: some warnings being treated as errors make[2]: [Makefile:524: curses_intf.o] Error 1 make[2]: Leaving directory '/home/arnaud/tempo/eliot/eliot/src/eliot-2.2/utils' make[1]: [Makefile:476: all-recursive] Error 1 make[1]: Leaving directory '/home/arnaud/tempo/eliot/eliot/src/eliot-2.2' make: *** [Makefile:413: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting...macxcool commented on 2021-01-16 18:51 (UTC)
Here's a working PKGBUILD for v2.2:
https://gist.github.com/macxcool/1bead43180d75504bbe09e61e5f9617c
You'll need to install Arabica from the other gist linked on the Arabica AUR package page.
mmeinert commented on 2018-02-17 16:49 (UTC)
Source URL is (now) incorrect, should be replaced by : http://dl.sv.nongnu.org/releases/eliot/releases/2.1/eliot-2.1.tar.gz