Package Details: libipuz-git 0.2.0.r0.g9e292ca-1

Git Clone URL: (read-only, click to copy)
Package Base: libipuz-git
Description: Library for parsing .ipuz puzzle files
Upstream URL:
Licenses: LGPL
Conflicts: libipuz
Provides: libipuz
Submitter: dusansimic
Maintainer: dusansimic
Last Packager: flipflop97
Votes: 2
Popularity: 0.000004
First Submitted: 2021-11-20 00:05 (UTC)
Last Updated: 2022-09-07 13:03 (UTC)

Dependencies (3)

Required by (2)

Sources (1)

Latest Comments

flipflop97 commented on 2022-07-07 11:11 (UTC)

Adding the following at the start of the build function causes the error to be treated as a warning (which it should):

CFLAGS="${CFLAGS} -Wno-error=format-security"

You also need json-glib as a dependency.

flipflop97 commented on 2022-06-21 17:00 (UTC)

Hi, the package doesn't build.

[5/16] Compiling C object libipuz/tests/crossword.p/crossword.c.o
FAILED: libipuz/tests/crossword.p/crossword.c.o 
ccache cc -Ilibipuz/tests/crossword.p -Ilibipuz/tests -I../libipuz/libipuz/tests -I. -I../libipuz -Ilibipuz -I../libipuz/libipuz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/home/philip/.cache/paru/clone/libipuz-git/src/build -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -Wno-unused-parameter -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2,-D_GLIBCXX_ASSERTIONS -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIE -pthread '-DG_LOG_DOMAIN="IPUZ"' -DG_LOG_USE_STRUCTURED=1 -DJSON_COMPILATION '-DJSON_LOCALEDIR="/usr/share/locale"' -MD -MQ libipuz/tests/crossword.p/crossword.c.o -MF libipuz/tests/crossword.p/crossword.c.o.d -o libipuz/tests/crossword.p/crossword.c.o -c ../libipuz/libipuz/tests/crossword.c
../libipuz/libipuz/tests/crossword.c: In function 'test_crossword_save':
../libipuz/libipuz/tests/crossword.c:255:3: error: format not a string literal and no format arguments [-Werror=format-security]
  255 |   g_print (data);
      |   ^~~~~~~
cc1: some warnings being treated as errors
[13/16] Compiling C object libipuz/
ninja: build stopped: subcommand failed.