Package Details: pal 0.4.3-7

Git Clone URL: https://aur.archlinux.org/pal.git (read-only, click to copy)
Package Base: pal
Description: A command-line calendar program.
Upstream URL: https://palcal.sourceforge.net
Licenses: GPL2
Submitter: ilpianista
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 22
Popularity: 0.000007
First Submitted: 2010-11-13 15:20 (UTC)
Last Updated: 2023-01-27 05:51 (UTC)

Latest Comments

1 2 Next › Last »

mmsz commented on 2024-10-22 05:16 (UTC) (edited on 2024-10-22 05:17 (UTC) by mmsz)

Seems like I can't install neither pal nor pal-git

==> Starting build()...
...
 [deps] tmp.deps/manage.d
Using CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -Wno-format-security
Using CPPFLAGS: -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DPAL_VERSION="0.4.3" -DPREFIX="/usr"
Using LDFLAGS:  -lglib-2.0 -lreadline -lncurses
 [gcc] main.c
...
 [gcc] manage.c
manage.c: In function ‘pal_manage’:
manage.c:406:23: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types]
  406 |     rl_pre_input_hook = pal_rl_ncurses_hack;
      |                       ^
make: *** [Makefile:59: tmp.opt/manage.o] Error 1
make: Leaving directory '/tmp/.cache/yay/pal/src/pal-0.4.3/src'
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: pal-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
pal - exit status 4

This is my GCC version:

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,m2,objc,obj-c++,rust --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://gitlab.archlinux.org/archlinux/packaging/packages/gcc/-/issues --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 14.2.1 20240910 (GCC)

eclairevoyant commented on 2023-01-27 05:53 (UTC) (edited on 2023-01-27 05:54 (UTC) by eclairevoyant)

Adopted and updated. For now I've ignored the format-security error to get it to build, but I will work on actually patching the issue instead of hiding it.

tsester commented on 2021-09-30 05:44 (UTC)

Reporting that building failed with the [default] "-Werror=format-security" option from "/etc/makepkg.conf". Built successfully without it.

micwoj92 commented on 2021-09-22 09:29 (UTC)

Hello, could you update download to https?

juantascon commented on 2018-11-06 14:44 (UTC)

you could use a github gist if you like

pasabagi commented on 2018-11-02 13:59 (UTC)

Hey, so this was breaking because there's a new assert in glib that doesn't like it when you subtract days. It's really easy to fix (just change the add days to subtract days method) - but how do I submit a patch? Not very knowledgeable about doing this kind of thing outside of github.

andres commented on 2014-04-04 21:22 (UTC)

To get this to build, add the following line to prepare: sed -i "s: (Function\*)::" manage.c

TrialnError commented on 2013-11-27 21:24 (UTC)

Few notes about the PKGBUILD make should normally invoked in the build function as stuff is being compiled. make install is fine where it is. The last sed statement is propably unnecessary, since the /usr/bin move. And lastly, the sed instruction in build() should be moved into prepare(). See PKGBUILDS Guidelines

WonderWoofy commented on 2013-04-10 16:10 (UTC)

This is a neat little program. But the PKGBUILD is somewhat wrong. Everything is in "build()" when the last "make... install..." and "sed..." lines should be in the "package()" function. I fixed it, and pasted it on gist: https://gist.github.com/anonymous/5356027

crt commented on 2013-02-11 05:37 (UTC)

Updated PKGBUILD: http://codepad.org/NxMG65av - Updated correct SourceForge address - Added new depend 'pkg-config' ... required or 'make' will fail