File tree Expand file tree Collapse file tree 4 files changed +50
-12
lines changed Expand file tree Collapse file tree 4 files changed +50
-12
lines changed Original file line number Diff line number Diff line change 7878 FIND : gfind
7979 SED : gsed
8080 AWK : gawk
81+ RMDIR : grmdir
8182
8283 steps :
8384 - uses : actions/checkout@v4
8788 - name : Test in FreeBSD
8889 uses : vmactions/freebsd-vm@v1
8990 with :
90- envs : " CC EXTRA_CFLAGS MAKE INSTALL FIND SED AWK"
91+ envs : " CC EXTRA_CFLAGS MAKE INSTALL FIND SED AWK RMDIR "
9192 usesh : true
9293 sync : rsync
9394 copyback : false
Original file line number Diff line number Diff line change 110110
111111# a librsvg memoryleak that shows up in arch, but not in the CI environment
112112{
113- < librsvg-arch>
113+ librsvg-arch
114114 Memcheck:Leak
115115 match-leak-kinds: definite
116116 fun:malloc
215215}
216216
217217{
218- # FreeBSD part1
219- glib_leak_freebsd1
220- Memchek:Leak
218+ g_bus_own_name_supp
219+ Memcheck:Leak
220+ match-leak-kinds: definite
221+ fun:*alloc
221222 ...
222- fun:g_dbus_address_get_stream_sync
223+ obj:/usr/local/lib/libgio-2.0.so.0.8000.5
224+ ...
225+ fun:g_bus_own_name
226+ fun:dbus_init
227+ fun:test_dbus_init
223228 ...
224229}
225230
226231{
227- # FreeBSD part2
228- # XXX: Why isn't memory freed in g_bus_unown_name?
229- glib_leak_freebsd2
230- Memchek:Leak
232+ gdk_pixbuf_new_from_file_freebsd
233+ Memcheck:Leak
234+ match-leak-kinds: definite
235+ fun:calloc
231236 ...
232- fun:g_bus_own_name
237+ obj:/usr/local/lib/librsvg-2.so.2.40.21
238+ ...
239+ obj:/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
240+ obj:/usr/local/lib/libgdk_pixbuf-2.0.so.0.4200.10
241+ fun:gdk_pixbuf_new_from_file
242+ fun:notification_setup_raw_image
243+ ...
244+ }
245+
246+ {
247+ freebsd_dbus_leak
248+ Memcheck:Leak
249+ match-leak-kinds: definite
250+ fun:calloc
251+ fun:g_malloc0
252+ fun:g_type_create_instance
253+ fun:g_param_spec_internal
254+ fun:g_param_spec_boolean
255+ obj:/usr/local/lib/libgio-2.0.so.0.8000.5
256+ obj:/usr/local/lib/libgobject-2.0.so.0.8000.5
257+ fun:g_type_class_ref
258+ fun:g_object_new
259+ fun:g_dbus_message_new_method_call
260+ ...
261+ }
262+
263+ {
264+ glib_freebsd
265+ Memcheck:Leak
266+ fun:*alloc
267+ ...
268+ fun:g_dbus_address_get_stream_sync
233269 ...
234270}
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ uninstall-keepconf: uninstall-service uninstall-dunstctl uninstall-completions
281281
282282uninstall-dunstrc :
283283 rm -f ${DESTDIR}${SYSCONFFILE}
284- rmdir --ignore-fail-on-non-empty ${DESTDIR}${SYSCONFDIR} /dunst
284+ ${RMDIR} --ignore-fail-on-non-empty ${DESTDIR}${SYSCONFDIR} /dunst
285285
286286uninstall-dunstctl :
287287 rm -f ${DESTDIR}${BINDIR} /dunstctl
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ MAKE ?= make
2929FIND ?= find
3030SED ?= sed
3131AWK ?= awk
32+ RMDIR ?= rmdir
3233
3334# Disable systemd service file installation,
3435# if you don't want to use systemd albeit installed
You can’t perform that action at this time.
0 commit comments