Package Details: batman-alfred 2024.3-1

Git Clone URL: https://aur.archlinux.org/batman-alfred.git (read-only, click to copy)
Package Base: batman-alfred
Description: Almighty Lightweight Fact Remote Exchange Daemon
Upstream URL: http://www.open-mesh.net/
Licenses: GPL-2.0-only
Submitter: t-8ch
Maintainer: t-8ch
Last Packager: t-8ch
Votes: 2
Popularity: 0.000000
First Submitted: 2013-11-06 21:42 (UTC)
Last Updated: 2024-11-26 21:33 (UTC)

Latest Comments

t-8ch commented on 2024-08-21 05:52 (UTC)

Opened issue: https://gitlab.archlinux.org/archlinux/packaging/packages/gpsd/-/issues/1

MarsSeed commented on 2024-08-20 11:53 (UTC) (edited on 2024-08-20 11:55 (UTC) by MarsSeed)

But you are right to point out that this is an issue whose root cause is with Arch/extra/gpsd, not with batman-alfred. Still, it prevents batman-alfred to be buildable in clean chroot environment.

If you have an account, please feel free to report it to them and quote my log excerpt showing the linking failure.

Upon manually rebuilding the Arch/extra/gpsd PKGBUILD, I see in the build log a further evidence that libdbus (dbus) gets linked to:

gcc -o gpsd-3.25/gpsctl -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -pthread gpsd-3.25/gpsctl.o -Lgpsd-3.25 gpsd-3.25/libgpsd.a gpsd-3.25/libgps_static.a -lusb-1.0 -lbluetooth -lm -lrt -lnsl -ldbus-1

Also upon running an analysis on the built package with namcapgpsd-3.25-3-x86_64.pkg.tar.zst, I see evidence that dbus is mandatorily needed by gpsd but is not declared as such:

gpsd W (WARNING): Dependency dbus detected and implicitly satisfied but optional (libraries ['usr/lib/libdbus-1.so.3'] needed in files ['usr/bin/gps2udp', 'usr/bin/lcdgps', 'usr/lib/libgps.so.30.0.0', 'usr/lib/libQgpsmm.so.30.0.0', 'usr/bin/cgps', 'usr/bin/gpsd', 'usr/bin/gpspipe', 'usr/bin/gpsrinex', 'usr/bin/gpssnmp', 'usr/bin/gpxlogger'])

The statement but optional means that dbus is only a mandatory dependency of an optional direct dependency of gpsd-3.25-3, therefore installation of the mandatory dbus dependency is not guaranteed upon gpsd installation.

MarsSeed commented on 2024-08-20 11:28 (UTC)

I don't have a GitLab account for Arch Linux.

And I actually prefer not to have one, and I plan to leave Arch Linux for another distro community like OpenSUSE, because I have been bullied and attacked and denigrated by several Arch developers in the past 2 years, and finally I came to a point that I feel I've had enough, and I'm not gonna help them anymore.

t-8ch commented on 2024-08-20 11:06 (UTC) (edited on 2024-08-20 11:24 (UTC) by t-8ch)

@MarsSeed I prefer to have this fixed on the gpsd package properly. Did you already open a ticket for it?

MarsSeed commented on 2024-08-20 10:56 (UTC) (edited on 2024-08-20 10:59 (UTC) by MarsSeed)

To fix the aforementioned problem, please add depends=libdus to batman-alfred.

MarsSeed commented on 2024-08-20 10:55 (UTC) (edited on 2024-08-20 10:57 (UTC) by MarsSeed)

Dependency Arch/extra/gpsd is packaged badly. It needs depends=(libdbus) but that is missing from its depends array.

This causes a build failure of batman-alfred in clean chroot:

/usr/bin/ld: warning: libdbus-1.so.3, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_connection_read_write_dispatch@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_message_get_args@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_error_free@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_connection_add_filter@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_error_is_set@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_bus_get@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_bus_add_match@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_error_init@LIBDBUS_1_3'
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/14.2.1/../../../../lib/libgps.so: undefined reference to `dbus_message_is_signal@LIBDBUS_1_3'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:76: alfred-gpsd] Error 1

t-8ch commented on 2014-01-07 15:49 (UTC)

Thanks, fixed without bumping pkgrel.

s4rg.on commented on 2014-01-07 15:33 (UTC)

Missing build dep. "gpsd"