Package Details: gcal 4.1-3

Git Clone URL: https://aur.archlinux.org/gcal.git (read-only, click to copy)
Package Base: gcal
Description: Display hybrid and proleptic Julian and Gregorian calendar sheets
Upstream URL: http://www.gnu.org/software/gcal/
Licenses: GPL
Submitter: McRelah
Maintainer: None
Last Packager: McRelah
Votes: 8
Popularity: 0.000000
First Submitted: 2015-08-18 20:51 (UTC)
Last Updated: 2021-02-20 19:42 (UTC)

Latest Comments

emk2203 commented on 2025-05-31 17:29 (UTC) (edited on 2025-06-05 19:59 (UTC) by emk2203)

Program doesn't compile with the latest GCC 15.

Reason seems to be that in hd-data.c, there's a ton of errors (one for each location) of the type

error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(Bool *, const Bool,  int,  const int,  int *, const int,  const int)' {aka 'void (*)(int *, const int,  int,  const int,  int *, const int,  const int)'} [-Wincompatible-pointer-types]

GCC 15 does treat the incompatible-pointer-types not as a warning, but as an error, which leads to the abortion of the compile run.

kraza commented on 2025-04-22 21:39 (UTC) (edited on 2025-04-22 21:41 (UTC) by kraza)

I am new to ArchLinux and I wanted my favorite "gcal" CLI calendar program from GNU. It was not available in pacman or Octopi. So, I tried to install gcal on Garuda Linux and it is not working as it fails with a segment fault, Here is what I did.

  1. git clone https://aur.archlinux.org/gcal.git
  2. cd gcal
  3. makepkg -s
  4. sudo pacman -U ./gcal-4.1-3-x86_64.pkg.tar.zst

And at this point, it behaves as though the installation went through OK, but, when gcal is invoked, it just fails with a fault as this:

gcal ..

*** buffer overflow detected ***: terminated

fish: Job 1, 'gcal ..' terminated by signal SIGABRT (Abort)

Is there anything that I should be doing to make it work?

McRelah commented on 2021-02-20 19:43 (UTC)

Fixed, thanks for the info.

jw0k commented on 2021-02-20 18:35 (UTC)

Hi.

The package won't build because the gcal-glibc-no-libio.patch has been moved to https://src.fedoraproject.org/rpms/gcal/raw/rawhide/f/gcal-glibc-no-libio.patch

Can you please fix the PKGBUILD? Changing the path in the source variable should be enough.

McRelah commented on 2018-11-07 21:50 (UTC)

Thanks! I've added the patch.

mmtung commented on 2018-09-22 19:14 (UTC)

Hi there!

Compilation yields:

fseeko.c: In function 'rpl_fseeko': fseeko.c:110:4: error: #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug- gnulib." #error "Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib."

Probably fseeko.c needs to be patched. See https://bugzilla.redhat.com/show_bug.cgi?id=1595702 .

Thanks, Mike