Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207605 - =app-office/grisbi-0.5.9 doesn't compile w/ --as-needed
Summary: =app-office/grisbi-0.5.9 doesn't compile w/ --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME Office (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 246910 (view as bug list)
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2008-01-26 20:28 UTC by Muelli
Modified: 2010-02-14 23:36 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gzipped build log (app-office:grisbi-0.5.9:20080126-201247.log.gz,171.55 KB, application/octet-stream)
2008-01-26 20:33 UTC, Muelli
Details
my emerge info (emerge-info.txt,5.35 KB, text/plain)
2008-01-26 21:14 UTC, Muelli
Details
Patch for the ebuild fixing the above problem (grisbi-as-needed-ebuild.patch,436 bytes, patch)
2008-03-03 11:22 UTC, Thomas Kahle (RETIRED)
Details | Diff
grisbi-0.5.9-autofoo-fixes.patch (grisbi-0.5.9-autofoo-fixes.patch,9.59 KB, patch)
2008-04-13 14:11 UTC, Gilles Dartiguelongue (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Muelli 2008-01-26 20:28:08 UTC
I try to compile grisbi but it doesn't work. 

Reproducible: Always

Steps to Reproduce:
1. emerge =app-office/grisbi-0.5.9
2.
3.

Actual Results:  
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)

Expected Results:  
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...?
Comment 1 Muelli 2008-01-26 20:33:06 UTC
Created attachment 141841 [details]
gzipped build log
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-01-26 20:55:58 UTC
emerge --info please.
Comment 3 Muelli 2008-01-26 21:14:21 UTC
Created attachment 141843 [details]
my emerge info
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-01-26 21:36:05 UTC
Looks like --as-needed issue to me...
Comment 5 Thomas Kahle (RETIRED) gentoo-dev 2008-03-03 11:22:48 UTC
Created attachment 145192 [details, diff]
Patch for the ebuild fixing the above problem

Works on my System, please test.
Comment 6 Muelli 2008-03-03 21:11:59 UTC
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.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-13 14:11:00 UTC
Created attachment 149554 [details, diff]
grisbi-0.5.9-autofoo-fixes.patch

Here is a patch that fixes upstream's autofoo brokeness. I've filled a bug upstream and hope they'll be quick at reviewing.
Comment 8 Muelli 2008-04-13 14:16:29 UTC
Hey Eva :)

Could you point us to the bug please?
Comment 9 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-04-20 19:52:17 UTC
http://grisbi.tuxfamily.org/mantis/view.php?id=349

Looks like there is not much activity over there though.

Adding remi to CC since he told me he was interested in this.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-14 16:25:57 UTC
upstream took the patch, hopefully, we'll see a release soon with this fixed.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-15 18:39:49 UTC
*** Bug 246910 has been marked as a duplicate of this bug. ***
Comment 12 Dustin Polke 2008-12-04 11:35:06 UTC
(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?

BR,
Dustin
Comment 13 Mounir Lamouri (volkmar) (RETIRED) gentoo-dev 2009-04-17 22:14:47 UTC
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...
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-16 21:23:38 UTC
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 ?
Comment 15 Rémi Cardona (RETIRED) gentoo-dev 2009-09-16 21:29:04 UTC
I'll ping upstream. Remind me in a week if I haven't commented here.

Thanks
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-27 22:57:19 UTC
a bit over a week ping
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2009-12-21 14:58:11 UTC
(In reply to comment #16)
> a bit over a week ping
> 

3+ months ping
Comment 18 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-06 22:36:47 UTC
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.
Comment 19 Rémi Cardona (RETIRED) gentoo-dev 2010-01-06 22:41:57 UTC
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.

Cheers
Comment 20 Rémi Cardona (RETIRED) gentoo-dev 2010-02-14 23:36:09 UTC
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.

Closing \o/