v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
645 stars 58 forks source link

Build fail on Debian 12 #269

Closed Xdavius closed 1 week ago

Xdavius commented 1 week ago

Hi

This error occur while trying to build on Debian 12 only :

CCLD     yad-icon-browser
/usr/bin/ld: yad-list.o: in function `get_data_as_string':
/tmp/pacstall/yad~14.0/yad-14.0/src/list.c:759: undefined reference to `g_string_free_and_steal'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:487: yad] Error 1
make[2]: Leaving directory '/tmp/pacstall/yad~14.0/yad-14.0/src'
make[1]: *** [Makefile:403: all-recursive] Error 1
make[1]: Leaving directory '/tmp/pacstall/yad~14.0/yad-14.0'
make: *** [Makefile:344: all] Error 2

Any idea to solve this?

Regards

Pro-pra commented 1 week ago

g_string_free_and_steal was introduced in GLib 2.75.3, released 2023-02-13

step- commented 1 week ago

@Xdavius try getting the patch file for 1153a3e, apply the patch and rebuild. It worked for me for the same error message.

Xdavius commented 1 week ago

@Xdavius try getting the patch file for 1153a3e, apply the patch and rebuild. It worked for me for the same error message.

Thank you ! works on all builds.

https://github.com/pacstall/pacstall-programs/pull/6184

Closing.