Package Details: aewan 1.0.01-3

Git Clone URL: https://aur.archlinux.org/aewan.git (read-only, click to copy)
Package Base: aewan
Description: A multi-layered ascii-art/animation editor
Upstream URL: http://aewan.sourceforge.net/
Keywords: art ascii editor terminal text tui
Licenses: GPL2
Submitter: bhartshorn
Maintainer: bhartshorn
Last Packager: bhartshorn
Votes: 3
Popularity: 0.000001
First Submitted: 2021-05-29 17:33 (UTC)
Last Updated: 2022-10-12 18:22 (UTC)

Latest Comments

Popolon commented on 2024-11-25 20:50 (UTC) (edited on 2024-11-25 20:50 (UTC) by Popolon)

Doesn't compile anymore:

gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/popolon/.cache/yay/aewan/src=/usr/src/debug/aewan -flto=auto -Wno-error=format-security -fno-strict-aliasing -Wall -c colordlg.c -o colordlg.o
In file included from bores/bores.h:32,
                 from aeff.h:54,
                 from aeff.c:64:
aeff.c: In function 'read_parse_data_line':
aeff.c:91:40: error: passing argument 2 of 'freadline_ex' from incompatible pointer type [-Wincompatible-pointer-types]
   91 |    autod_assign( line, freadline_ex(f, gzgetc) );
      |                                        ^~~~~~
      |                                        |
      |                                        int (*)(struct gzFile_s *)

bhartshorn commented on 2022-10-12 18:24 (UTC)

@denilsonsa @sqbi-q Sorry for the huge delay, I have overridden just the -Werror=format-security using -Wno-error=format-security, so it will leave the rest of a user CFLAGS alone. Should be good to go now.

sqbi-q commented on 2022-06-26 17:50 (UTC) (edited on 2022-06-26 17:51 (UTC) by sqbi-q)

@denilsonsa I had same problem; makepkg failed, but manually make compiled successfully.

I found out that makepkg used its default CFLAGS from /etc/makepkg.conf - where -Werror=format-security is set.

Because code itself produces warnings and those are treated as errors by compiler, makepkg fails in build().

Setting !buildflags in options of PKGBUILD - preventing default CFLAGS - solves the problem.

denilsonsa commented on 2022-06-16 11:15 (UTC)

Fails to build, probably related to -Werror=format-security.

cc1: some warnings being treated as errors