Package Details: cursynth-git 20150622.r219.578b43c-2

Git Clone URL: https://aur.archlinux.org/cursynth-git.git (read-only, click to copy)
Package Base: cursynth-git
Description: GNU ncurses terminal synthesizer
Upstream URL: http://gnu.org/software/cursynth
Licenses: GPL3
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 2
Popularity: 0.000000
First Submitted: 2016-08-31 23:03 (UTC)
Last Updated: 2022-11-25 18:16 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

prurigro commented on 2022-11-25 18:16 (UTC)

@konlaasz: Thanks for reporting! I've pushed an updated package that builds correctly again :)

konlaasz commented on 2022-10-24 16:15 (UTC)

The source code won't compile:

make[2]: Entering directory '/tmp/cursynth-git/src/cursynth/src'
  CXX      cursynth-main.o
  CXX      cursynth-cursynth.o
  CXX      cursynth-cursynth_gui.o
  CXX      cursynth-cursynth_engine.o
cursynth_gui.cpp: In member function ‘void mopo::CursynthGui::drawMidi(std::string)’:
cursynth_gui.cpp:160:11: error: format not a string literal and no format arguments [-Werror=format-security]
  160 |     printw(status.substr(0, MAX_STATUS_SIZE).c_str());
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursynth_gui.cpp: In member function ‘void mopo::CursynthGui::drawStatus(std::string)’:
cursynth_gui.cpp:170:11: error: format not a string literal and no format arguments [-Werror=format-security]
  170 |     printw(gettext(status.substr(0, MAX_STATUS_SIZE).c_str()));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursynth_gui.cpp: In member function ‘void mopo::CursynthGui::drawPatchSaving(std::string)’:
cursynth_gui.cpp:192:11: error: format not a string literal and no format arguments [-Werror=format-security]
  192 |     printw(patch_name.c_str());
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~
cursynth_gui.cpp: In member function ‘void mopo::CursynthGui::drawPatchLoading(std::vector<std::__cxx11::basic_string<char> >, int)’:
cursynth_gui.cpp:215:15: error: format not a string literal and no format arguments [-Werror=format-security]
  215 |         printw(patches[patch_index].c_str());
      |         ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursynth_gui.cpp: In member function ‘void mopo::CursynthGui::drawText(const mopo::DisplayDetails*, std::string, bool)’:
cursynth_gui.cpp:299:11: error: format not a string literal and no format arguments [-Werror=format-security]
  299 |     printw(gettext(text.c_str()));
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
cursynth_gui.cpp: In member function ‘void mopo::CursynthGui::drawControl(const mopo::Control*, bool)’:
cursynth_gui.cpp:314:13: error: format not a string literal and no format arguments [-Werror=format-security]
  314 |       printw(gettext(details->label.c_str()));
      |       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  CXX      cursynth-cursynth_strings.o
cc1plus: some warnings being treated as errors
make[2]: *** [Makefile:507: cursynth-cursynth_gui.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/cursynth-git/src/cursynth/src'
make[1]: *** [Makefile:459: all-recursive] Error 1
make[1]: Leaving directory '/tmp/cursynth-git/src/cursynth'
make: *** [Makefile:379: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...