Search Criteria
Package Details: kalu-kde 4.5.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/kalu-kde.git (read-only, click to copy) |
---|---|
Package Base: | kalu-kde |
Description: | Upgrade notifier w/ AUR support, watched (AUR) packages, news; supports autohide in KDE Plasma's panel |
Upstream URL: | https://github.com/Thulinma/kalu |
Licenses: | GPL3+ |
Conflicts: | kalu |
Provides: | kalu |
Submitter: | Rhinoceros |
Maintainer: | Rhinoceros (Thulinma, jghodd) |
Last Packager: | Rhinoceros |
Votes: | 14 |
Popularity: | 0.000004 |
First Submitted: | 2014-12-30 12:30 (UTC) |
Last Updated: | 2024-09-14 14:24 (UTC) |
Dependencies (11)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- dbus (dbus-gitAUR, dbus-selinuxAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libnotify (libnotify-gitAUR)
- notification-daemon (ysnotifierAUR, xfce4-notifyd-layer-shell-gitAUR, awesome-luajitAUR, awesome-gitAUR, awesome-luajit-gitAUR, dunst-gitAUR, twmn-gitAUR, swaync-gitAUR, lxqt-notificationd-gitAUR, rofication-gitAUR, xfce4-notifyd-gitAUR, dunst-wayland-gitAUR, enlightenment-gitAUR, enlightenment-git-asanAUR, awesome, dunst, lxqt-notificationd, mate-notification-daemon, notify-osd, xfce4-notifyd)
- pacman (pacman-gitAUR)
- polkit (polkit-gitAUR, polkit-consolekitAUR)
- statusnotifierAUR (statusnotifier-introspection-dbus-menuAUR)
- groff (groff-gitAUR) (make)
- perl (perl-gitAUR) (make)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »
Rhinoceros commented on 2024-03-31 01:35 (UTC)
I can't comment on the authentication issues, as I don't use the updater. Probably better to report it upstream, since it's presumably not a packaging error.
Thanks for the info with
CFLAGS
. However, in theory I don't really like explicitly listing all the options, because unrelated flags in the users' defaults will potentially be overwritten. Instead, I'm fairly sure I can just add additional flags that will overrule the previous flags. So instead of writing out the whole set of flags and omitting-O2
, I could just append to the users' current flags withThis is the default
-O
value, i.e. equivalent to having no flag.However, I'm not sure how to overrule
-Wp,-D_FORTIFY_SOURCE=2
, and my Googling turns up nothing. Any ideas?jghodd commented on 2024-03-30 21:43 (UTC)
I'd still like to know why I have to authenticate every time, despite my username having been added to the kalu group.
jghodd commented on 2024-03-30 21:42 (UTC)
You can leave makepkg.conf alone. Here's the change to PKGBUILD that works:
The options that are not needed are both "-O2" and "-Wp,-D_FORTIFY_SOURCE=2".
jghodd commented on 2024-03-30 20:56 (UTC)
One other issue is that despite adding my user name to group and gshadow, kalu is now throwing up an authentication window every time i want to do an update. didn't used to do that if your username was in the kalu group.
simona commented on 2024-03-30 20:20 (UTC)
the only consolation is that removing optimizations from makepkg.conf only affects AURs and not all packages. at least I hope so.
jghodd commented on 2024-03-30 20:18 (UTC) (edited on 2024-03-30 20:54 (UTC) by jghodd)
@Thulima + @Rhinoceros - OK. figured it out. optimization needs to be removed from CFLAGS in /etc/makepkg.conf. in other words, edit makepkg.conf, find CFLAGS, and delete "-O2" from it. the obvious issue with this is that we don't really want to permanently remove optimization from makepkg.conf. is there some way to remove that optimization with some setting in PKGBUILD? i'm guessing we can set CFLAGS in the build function, just not sure where would be appropriate...
Edit: btw, -D_FORTIFY_SOURCE=2 throws warnings when -O2 is removed. not sure how to resolve this. also, tried setting CFLAGS in build(), but it didn't take, so i'm guessing we need some other solution to get rid of the -O option from CFLAGS.
jghodd commented on 2024-03-30 18:40 (UTC) (edited on 2024-03-30 19:01 (UTC) by jghodd)
@Thulima - rebuilt and installed 4.5.1 twice and both times got this error:
And I'm still seeing the same build warning.
Edit: just adding that it's crashing in basically the same place. It does appear to be getting a hair further in that it's now also reporting a cyclical dependency right after Checking inter-conflict - but it crashes right at that point with the buffer overflow.
Edit2: I ran gdb against kalu and got this backtrace:
Hope this helps. Do note that there appears to be a lot that's being "optimized out".
Rhinoceros commented on 2024-03-30 02:38 (UTC)
Thanks for the quick fix @Thulinma, and that sounds great looking forward!
The package has been updated.
Thulinma commented on 2024-03-30 01:50 (UTC)
Took me a while to get around to this, but I just pushed version 4.5.1 live that should resolve the buffer overflow issue (and also fixes a bunch of other compile warnings).
On a related note: It looks like the original maintainer of Kalu is alive again! I exchanged a few emails with him and it looks like he prefers I keep maintaining it for now as he hasn't touched it for years. So... I might actually put some time in to properly clean it up and modernize it (it's using a bunch of deprecated function calls still...) as well as getting more familiar with the source code so I can hopefully do more than just keeping it functional. 🤞
jghodd commented on 2024-03-29 22:05 (UTC) (edited on 2024-03-29 22:19 (UTC) by jghodd)
@Rhinoceros - tried your suggestion, same result: buffer overflow
I'm seeing this in the build:
This seems to correspond with when it's crashing. And I'm not the only person reporting a buffer overflow - see @JansuX2 below.
Edit: interestingly, despite the use of snprintf throughout the code, this is the only place a build warning is thrown for it (yes, I understand that snprint_size is used everywhere too). Does this help pinpoint the issue?
« First ‹ Previous 1 2 3 4 5 6 7 .. 14 Next › Last »