I try to compile grisbi but it doesn't work.
Steps to Reproduce:
1. emerge =app-office/grisbi-0.5.9
i686-pc-linux-gnu-gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -m3dnow -
msse -mmmx -fprefetch-loop-arrays -DOFX_0_7 -I/usr/include/gtk-2.0 -I/usr/lib/gt
k-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1
.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/libxml2 -Wl,-O1 -Wl,--enable-new-dtags
-Wl,--sort-common -Wl,--as-needed -lofx -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -l
gdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0
-ldl -lglib-2.0 -lxml2 -o grisbi accueil.o affichage.o affichage_liste.o banq
ue.o barre_outils.o calendar.o categories_onglet.o check.o comptes_gestion.o com
ptes_onglet.o comptes_traitements.o csv.o devises.o dialog.o echeancier_onglet.o
echeancier_formulaire.o echeancier_liste.o echeancier_ventilation.o equilibrage
.o erreur.o etat_io.o etats_affiche.o etats_calculs.o etats_config.o etats_gtkta
ble.o etats_html.o etats_latex.o etats_csv.o etats_onglet.o etats_support.o exer
cice.o export.o fenetre_principale.o fichier_configuration.o fichiers_gestion.o fichiers_io.o gnucash.o gtk_combofix.o gtk_list_button.o help.o imputation_budgetaire.o main.o menu.o ofx.o operations_classement.o operations_comptes.o operations_formulaire.o operations_liste.o operations_onglet.o parametres.o patienter.o print_config.o qif.o import.o html.o tiers_onglet.o traitement_variables.o type_operations.o ventilation.o utils.o utils_files.o utils_file_selection.o utils_xml.o search_glist.o
accueil.o: In function `mise_a_jour_fin_comptes_passifs':
accueil.c:(.text+0x9a): undefined reference to `gtk_notebook_get_type'
accueil.c:(.text+0xab): undefined reference to `g_type_check_instance_cast'
accueil.c:(.text+0xbb): undefined reference to `gtk_notebook_remove_page'
(thousands of missing references to glib/gtk functions)
I'd expect grisbi to compile fine
Seems, as if it doesn't find glib or GTK libraries. Maybe the build script is somewhat broken...?
Created attachment 141841 [details]
gzipped build log
emerge --info please.
Created attachment 141843 [details]
my emerge info
Looks like --as-needed issue to me...
Created attachment 145192 [details, diff]
Patch for the ebuild fixing the above problem
Works on my System, please test.
Thanks Thomas, works like charm :)
I would close it as FIXED, but I assume the patch has to go in first. Hence leaving it open.
Created attachment 149554 [details, diff]
Here is a patch that fixes upstream's autofoo brokeness. I've filled a bug upstream and hope they'll be quick at reviewing.
Hey Eva :)
Could you point us to the bug please?
Looks like there is not much activity over there though.
Adding remi to CC since he told me he was interested in this.
upstream took the patch, hopefully, we'll see a release soon with this fixed.
*** Bug 246910 has been marked as a duplicate of this bug. ***
(In reply to comment #10)
> upstream took the patch, hopefully, we'll see a release soon with this fixed.
Hit this issue today as well.
Could you include this patch to the tree until upstream releases a fix new version?
I have just hit this bug.
After a year it could be interesting to add this patch to the ebuild.
grisbi-0.5.9 is stable for 3 arch...
still no 0.6 and again no activity on upstream website for quite a while, should we actually get rid of this package or at least apply this patch for the time being ?
I'll ping upstream. Remind me in a week if I haven't commented here.
a bit over a week ping
(In reply to comment #16)
> a bit over a week ping
3+ months ping
upstream released 0.6.0rc1 yesterday. I suggest either starting to look if they fixed the as-needed issues or just moving to maintainer-needed/last riting this application if no-one feels the itch to work on this.
I have the itch and I'm using this app. I promise I'll take some time to look into it, but since I'm moving this weekend into a new place, I really can't make any promises as to when I'll be able to fix this.
Ok, a few weeks have passed, the itch was still there (and Gilles kicked me a few times) so now, that's taken care of in 0.6.0_rc2.