Package Details: kcaldav 0.2.5-3

Git Clone URL: https://aur.archlinux.org/kcaldav.git (read-only, click to copy)
Package Base: kcaldav
Description: Simple, safe, minimal CalDAV server
Upstream URL: https://kristaps.bsd.lv/kcaldav/
Keywords: caldav cgi fastcgi server sqlite
Licenses: custom:BSD
Submitter: aperez
Maintainer: aperez
Last Packager: aperez
Votes: 2
Popularity: 0.000035
First Submitted: 2018-12-30 23:02 (UTC)
Last Updated: 2025-05-02 18:10 (UTC)

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

aperez commented on 2025-05-02 18:37 (UTC)

@m040601: You have to rebuild kcgi, the kcaldav package itself doesn't need to be updated.

m040601 commented on 2025-05-02 17:43 (UTC) (edited on 2025-05-02 17:51 (UTC) by m040601)

There is a problem with this PKGBUILD for "kcaldav" or its dependency "kcgi" It links to non existing files.

Name                          : kcaldav
Version                       : 0.2.5-3
Depends On                    : libbsd  sqlite3
Make Deps                     : expat  kcgi
Last Modified                 : Wed 10 Jan 2024 09:29:15 AM WET
Maintainer                    : aperez

https://wiki.archlinux.org/title/System_maintenance#Be_careful_with_unofficial_packages

https://archlinux.org/packages/?name=rebuild-detector

$ checkrebuild -v

foreign kcaldav

ldd /usr/lib/kcaldav/kcaldav

        libkcgixml.so.1 => not found
        libkcgijson.so.1 => not found
        libkcgi.so.1 => not found

I think the problem lies in it dependency "kcgi"

Name                          : kcgi
Version                       : 0.13.4-1
Depends On                    : glibc
Make Deps                     : git  bmake  libseccomp  libmd
Last Modified                 : Fri 11 Apr 2025 09:41:22 PM WEST
Maintainer                    : aperez
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/libkcgi.so.1
usr/lib/libkcgihtml.so.1
usr/lib/libkcgijson.so.1
usr/lib/libkcgixml.so.1
usr/lib/libkcgiregress.so.1
==> Creating package "kcgi"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: kcgi 0.13.4-1 (Fri 02 May 2025 06:40:07 PM WEST)

A rebuild does not solve the issue. It still links to "not found" stuff,

$ ldd /usr/lib/kcaldav/kcaldav

        linux-vdso.so.1 (0x0000792960fc1000)
        libkcgixml.so.1 => not found
        libkcgijson.so.1 => not found
        libkcgi.so.1 => not found
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x0000792960e16000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x0000792960dec000)
        libc.so.6 => /usr/lib/libc.so.6 (0x0000792960bfa000)
        libm.so.6 => /usr/lib/libm.so.6 (0x0000792960b02000)
        /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x0000792960fc3000)

fordprefect commented on 2024-01-10 09:31 (UTC)

I see, thanks for the update!

aperez commented on 2024-01-10 09:30 (UTC)

@fordprefect: I was waiting to add the post-install notice before updating .SRCINFO, which I just did a moment ago. Thanks!

fordprefect commented on 2024-01-10 09:04 (UTC)

Thanks for the PKGBUILD update. To reflect updates also in aurweb you'd need to update the .SRCINFO as well…

fordprefect commented on 2024-01-06 14:56 (UTC)

The PKGBUILD seems to miss installing the main compilation artefact, the cgi binary 'kcaldav', which has to be relocated by the user to match their webserver configuration. I'd propose moving it to /usr/share/kcaldav and notify the user via install message of the necessary configuration steps. Also, you could consider building from downloaded archives instead of pinning a specific commit.