Package Details: jpilot 2.0.3-5

Git Clone URL: https://aur.archlinux.org/jpilot.git (read-only, click to copy)
Package Base: jpilot
Description: A desktop organizer application for the Palm Pilot
Upstream URL: https://github.com/juddmon/jpilot/
Keywords: calendar diary note
Licenses: GPL2
Submitter: ilpianista
Maintainer: eklausmeier (edh)
Last Packager: eklausmeier
Votes: 23
Popularity: 0.000000
First Submitted: 2010-11-13 15:07 (UTC)
Last Updated: 2026-04-11 10:09 (UTC)

Latest Comments

1 2 3 4 5 6 Next › Last »

eklausmeier commented on 2026-04-12 13:01 (UTC)

Thanks for testing.

Omar007 commented on 2026-04-12 12:55 (UTC)

Just confirming that the current set of sed operations solved the issue here as well :)

eklausmeier commented on 2026-04-11 10:09 (UTC)

Thanks cylgalad.

cylgalad commented on 2026-04-10 22:19 (UTC) (edited on 2026-04-10 22:19 (UTC) by cylgalad)

The original sed is still needed.

build() {
        cd "${srcdir}"/juddmon-$pkgname-$pkgGitHubCommit

        ./autogen.sh --prefix=/usr --disable-pl-test --disable-gtktest
        sed 's/return Contact_add_blob(c, blob);/return Contact_add_blob(c, (void*)blob);/' jp-contact.c > /tmp/jp-contact.
        mv /tmp/jp-contact.c .
        sed 's/#include "jp-pi-contact.h"/\/*#include "jp-pi-contact.h"*\//' jp-contact.c > /tmp/jp-contact.c
        mv /tmp/jp-contact.c .
        make
}

eklausmeier commented on 2026-04-10 18:41 (UTC)

Thanks cylgalad!

I incorporated your change into the PKGBUILD.

cylgalad commented on 2026-04-10 17:45 (UTC)

Adding this in PKGBUILD after the existing sed does the trick:

sed 's/#include "jp-pi-contact.h"/\/*#include "jp-pi-contact.h"*\//' jp-contact.c > /tmp/jp-contact.c
mv /tmp/jp-contact.c

cylgalad commented on 2026-04-10 17:16 (UTC)

Still not building

In file included from /usr/include/pi-macros.h:25,
                 from jp-contact.c:32:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
jp-contact.c:57:51: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   57 | int jp_Contact_add_blob(struct Contact *c, struct ContactBlob *blob)
      |                                                   ^~~~~~~~~~~
jp-contact.c:57:5: error: conflicting types for 'jp_Contact_add_blob'; have 'int(struct Contact *, struct ContactBlob *)'
   57 | int jp_Contact_add_blob(struct Contact *c, struct ContactBlob *blob)
      |     ^~~~~~~~~~~~~~~~~~~
In file included from jp-contact.c:33:
jp-pi-contact.h:50:12: note: previous declaration of 'jp_Contact_add_blob' with type 'int(struct Contact *, struct ContactBlob *)'
   50 | extern int jp_Contact_add_blob
      |            ^~~~~~~~~~~~~~~~~~~
mv -f .deps/russian.Tpo .deps/russian.Po
make[2]: *** [Makefile:891: jp-contact.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f .deps/print_headers.Tpo .deps/print_headers.Po
mv -f .deps/icons.Tpo .deps/icons.Po
In file included from /usr/include/pi-appinfo.h:24,
                 from /usr/include/pi-address.h:25,
                 from ./address.h:24,
                 from jpsqlite/jpsqlite.c:25:
./jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
In file included from /usr/include/pi-socket.h:58,
                 from sync.c:41:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
In file included from /usr/include/pi-appinfo.h:24,
                 from /usr/include/pi-calendar.h:31,
                 from search_gui.c:29:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
In file included from /usr/include/pi-macros.h:25,
                 from /usr/include/pi-dlp.h:72,
                 from todo_gui.c:30:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
mv -f .deps/jpsqlite.Tpo .deps/jpsqlite.Po
mv -f .deps/search_gui.Tpo .deps/search_gui.Po
In file included from /usr/include/pi-appinfo.h:24,
                 from /usr/include/pi-datebook.h:25,
                 from utils.h:30,
                 from restore_gui.c:33:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
In file included from /usr/include/pi-appinfo.h:24,
                 from /usr/include/pi-calendar.h:31,
                 from weekview_gui.c:28:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
In file included from /usr/include/pi-socket.h:58,
                 from /usr/include/pi-source.h:81,
                 from utils.c:39:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~
mv -f .deps/weekview_gui.Tpo .deps/weekview_gui.Po
mv -f .deps/restore_gui.Tpo .deps/restore_gui.Po
In file included from /usr/include/pi-socket.h:58,
                 from /usr/include/pi-source.h:81,
                 from todo.c:26:
jp-pi-contact.h:51:39: warning: 'struct ContactBlob' declared inside parameter list will not be visible outside of this definition or declaration
   51 |     PI_ARGS((struct Contact *, struct ContactBlob *));
      |                                       ^~~~~~~~~~~

eklausmeier commented on 2026-04-09 18:15 (UTC) (edited on 2026-04-09 18:15 (UTC) by eklausmeier)

Thanks to Omar007 + cylgalad for prompt error reporting.

I put the sed back into PKGBUILD.

Omar007 commented on 2026-04-08 19:50 (UTC)

Ended up locally patching the PKGBUILD to restore the sed operation and that did solve the incompatible-pointer-types issue but then I hit the same problem @cylgalad did. Haven't looked further yet.

I cannot reproduce your finding. I git clone'd the repository and built it with makepkg and everything went smoothly.

Probably a good idea to verify things in a clean chroot, not against w/e state your system happens to be in. There is no way for anyone to replicate that and in reverse that also makes it impossible to reproduce issues. My builds are done in a clean chroot and it happens 100% of the time.

I am using pilot-link 0.12.5-2

This is very interesting though and might be part of the puzzle. As far as I'm aware that hasn't been buildable for years. I'm building against the -git variant instead for this reason.
I rechecked just now as well and it is still impossible to build it. Are you using custom patches to build it? Or is this an ancient compiled version you still had? Right now this looks like it might be a 'the build is dependent on the packager's system state' situation.

Can you please issue below command: pacman -Qo /usr/include/pi-contact.h

For me that would be pilot-link-git since pilot-link hasn't been buildable for well over a year, see previous.

eklausmeier commented on 2026-04-08 18:49 (UTC)

I had hoped that the latest change by Judd Montgomery regarding "fixing compiler warnings", would fix this long lasting problem with the blob.

I will probably reactivate the sed statement in PKGBUILD again.