compilation problem on Debian 11

Bug #1984246 reported by Sorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HomeBank
Fix Released
Low
Maxime DOYEN

Bug Description

Hello,

tring to compile source from http://homebank.free.fr/public/homebank-5.5.6.tar.gz

I have the following error:

list-operation.c: In function ‘list_txn_to_string_csv_text’:
list-operation.c:642:5: warning: implicit declaration of function ‘g_string_replace’; did you mean ‘g_tree_replace’? [-Wimplicit-function-declaration]
  642 | g_string_replace(dtext, "\"", "\"\"", 0);
      | ^~~~~~~~~~~~~~~~
      | g_tree_replace

+ your OS type: Debian GNU/Linux 11 (bullseye)
+ HomeBank version : 5.5.6
+ if relevant: GTK+ 3.24.24

Compiling from http://homebank.free.fr/public/homebank-5.5.5.tar.gz works fine!

Best regards,
Sorin

Revision history for this message
Sorin (sorin-l) wrote :

/usr/bin/ld : list-operation.o : dans la fonction « list_txn_to_string_csv_text » :
/opt/homebank/homebank-5.5.6/src/list-operation.c:642 : référence indéfinie vers « g_string_replace »
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:566 : homebank] Erreur 1
make[2] : on quitte le répertoire « /opt/homebank/homebank-5.5.6/src »
make[1]: *** [Makefile:464 : all-recursive] Erreur 1
make[1] : on quitte le répertoire « /opt/homebank/homebank-5.5.6 »
make: *** [Makefile:384 : all] Erreur 2

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

this func required glib 2.68, debain 11 provides only 2.66.8-1

Revision history for this message
Maxime DOYEN (mdoyen) wrote :

fixed,
here is a patch (that just provide the func in cas)

Changed in homebank:
assignee: nobody → Maxime DOYEN (mdoyen)
importance: Undecided → Low
milestone: none → 5.5.7
status: New → Fix Committed
Maxime DOYEN (mdoyen)
Changed in homebank:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.