Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164974 - app-office/gnucash-2.0.4-r1 compile fails w/ slib-3.1.1-r1
Summary: app-office/gnucash-2.0.4-r1 compile fails w/ slib-3.1.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
: 165318 167425 168184 171542 172591 172625 172806 172833 172910 172960 173490 173809 175069 176344 184562 186088 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-02-02 12:43 UTC by Daniel Gerstner
Modified: 2007-07-21 11:46 UTC (History)
19 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gerstner 2007-02-02 12:43:25 UTC
gnucash-2.0.4-r1 don't compile with slib-3.1.1-r1 but the ebuild depends on.

Reproducible: Always

Steps to Reproduce:

Actual Results:  
checking for (g-wrap) guile module... yes
checking for (g-wrap gw-glib-spec) guile module... yes
checking for SLIB support... configure: error:

   Cannot find SLIB.  Are you sure you have it installed?
   See http://bugzilla.gnome.org/show_bug.cgi?id=347922



!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/gnucash-2.0.4-r1/work/gnucash-2.0.4/config.log

!!! ERROR: app-office/gnucash-2.0.4-r1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  gnucash-2.0.4-r1.ebuild, line 69:   Called econf '--disable-debug' '--disable-ofx' '--disable-doxygen' '--disable-html-docs' '--disable-dot' '--enable-hbci' '--enable-mt940' '--enable-locale-specific-tax'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2007-02-02 16:19:02 UTC
Daniel,

Please re-emerge slib and try again?

Comment 2 Daniel Gerstner 2007-02-02 20:56:02 UTC
It works. Thanks
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-04 19:25:04 UTC
*** Bug 165318 has been marked as a duplicate of this bug. ***
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2007-02-04 20:55:33 UTC
Solution is to remerge slib (which is what the bump was for, so that is strange).
Comment 5 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-05 09:43:37 UTC
Re-emerging fixed configure for me. Now having compile problem; see bug #165418

Isn't all this linked to bug #143012 and blocking bug #163921 ?
Comment 6 James C. Georgas 2007-02-05 15:02:45 UTC
Remerging slib doesn't work for me.

gnucash tries to downgrade slib from 3.1.4-r2 to 3.1.1-r1. I still get the error detailed in the OP.
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2007-02-05 15:34:36 UTC
James, slib-3.1.4 needs to be masked locally
Comment 8 James C. Georgas 2007-02-05 15:45:34 UTC
(In reply to comment #7)
> James, slib-3.1.4 needs to be masked locally
> 

Yeah, I just did that, and it seems to be building now. guile seems to be involved somehow too. I'll try to isolate the dependency issue, and post my findings when I figure it out.
Comment 9 James C. Georgas 2007-02-05 17:43:31 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > James, slib-3.1.4 needs to be masked locally
> > 
> 
> Yeah, I just did that, and it seems to be building now. guile seems to be
> involved somehow too. I'll try to isolate the dependency issue, and post my
> findings when I figure it out.
> 

I originally didn't have slib 3.1.4 masked, and it pulled in ~amd64 guile. When I masked slib 3.1.4, guile got recompiled back down to amd64, and now gnucash builds with no problems.

Before doing this, slib 3.1.1 wasn't detected by the configure script, even if I manually recompiled it.

I believe therefore that guile was to blame, and remerging guile fixed the problem. No idea how it got messed up in the first place though.

Next, I unmerged gnucash and its unique dependencies, and removed the mask on slib 3.1.4. When I emerged gnucash again, it pulled in 3.1.1 and built correctly, without any 3.1.4 dependency issues.

I'll keep trying to reproduce the bug, but I suspect that it was probably just a stale configuration file belonging to guile.
Comment 10 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-05 18:13:07 UTC
(In reply to comment #9)
> I originally didn't have slib 3.1.4 masked, and it pulled in ~amd64 guile. When
> I masked slib 3.1.4, guile got recompiled back down to amd64, and now gnucash
> builds with no problems.

This can be fixed locally by filling /etc/portage/package.keywords or /etc/portage/package.use (not sure whuich one). This will allow you to specify x86 amd64 or ~<foo> for specific packages, if thats your problem.

> I'll keep trying to reproduce the bug, but I suspect that it was probably just
> a stale configuration file belonging to guile.

I can easily reproduce the bug.
Comment 11 James C. Georgas 2007-02-05 19:35:32 UTC
(In reply to comment #10)
> 
> I can easily reproduce the bug.
> 

I meant the configure bug, not the compile bug in bug #165418.
Comment 12 DEMAINE Benoît-Pierre, aka DoubleHP 2007-02-05 19:41:58 UTC
(In reply to comment #11)
in page dealing with bug 164974, I speak about bug 164974: I do can reproduce easily 164974 configure problem.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 07:16:45 UTC
*** Bug 167425 has been marked as a duplicate of this bug. ***
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-02-23 19:52:53 UTC
*** Bug 168184 has been marked as a duplicate of this bug. ***
Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-03-20 13:23:18 UTC
*** Bug 171542 has been marked as a duplicate of this bug. ***
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2007-03-28 20:27:46 UTC
*** Bug 172591 has been marked as a duplicate of this bug. ***
Comment 17 Jakub Moc (RETIRED) gentoo-dev 2007-03-29 06:18:40 UTC
*** Bug 172625 has been marked as a duplicate of this bug. ***
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-03-30 16:34:56 UTC
*** Bug 172806 has been marked as a duplicate of this bug. ***
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-03-30 22:22:02 UTC
*** Bug 172833 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2007-03-31 17:51:39 UTC
*** Bug 172910 has been marked as a duplicate of this bug. ***
Comment 21 Hans de Graaff gentoo-dev Security 2007-03-31 19:10:13 UTC
After various recompilations I've finally managed to get things to compile again. It seems that g-wrap -> guile -> slib -> gnucash worked for me.

This whole upgrade path certainly isn't ideal, and I'm a bit surprised to see that this bug is closed. With people upgrading slib-3.1.1-r1 gnucash may easily break for them.
Comment 22 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 05:56:40 UTC
*** Bug 172960 has been marked as a duplicate of this bug. ***
Comment 23 Bill Skellenger 2007-04-03 01:15:10 UTC
(In reply to comment #21)
> After various recompilations I've finally managed to get things to compile
> again. It seems that g-wrap -> guile -> slib -> gnucash worked for me.
> 
> This whole upgrade path certainly isn't ideal, and I'm a bit surprised to see
> that this bug is closed. With people upgrading slib-3.1.1-r1 gnucash may easily
> break for them.

After running into the same configuration issue, I found this comment and tried:

#emerge guile slib gnucash

Which fixed the issue for me:

checking for SLIB support... yes

Anyone know what the root cause is?  I agree with Hans de Graaff -- why is this marked as closed without at least communicating the fix to the user?
Comment 24 Marijn Schouten (RETIRED) gentoo-dev 2007-04-03 08:31:09 UTC
the fix to this issue is to re-emerge slib and for a related issue to re-emerge g-wrap. I guess there could be an einfo message explaining that on the gnucash ebuild.
Comment 25 Jakub Moc (RETIRED) gentoo-dev 2007-04-05 17:26:54 UTC
*** Bug 173490 has been marked as a duplicate of this bug. ***
Comment 26 Hans de Graaff gentoo-dev Security 2007-04-07 07:26:36 UTC
My initial problems where caused by emerging slib, so I don't think re-emerging it once more would have solved the problem. In any case some einfo stuff would be great. It seems like this is going to be hard to resolve automatically so at least users should be told what to expect and do.

Isn't it possible to use some careful version bumping and dependencies to get users to upgrade everything in the right order?
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2007-04-08 22:28:15 UTC
*** Bug 173809 has been marked as a duplicate of this bug. ***
Comment 28 Christian Faulhammer (RETIRED) gentoo-dev 2007-04-18 11:20:21 UTC
*** Bug 175069 has been marked as a duplicate of this bug. ***
Comment 29 Jakub Moc (RETIRED) gentoo-dev 2007-07-08 07:48:16 UTC
*** Bug 184562 has been marked as a duplicate of this bug. ***
Comment 30 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 11:45:38 UTC
*** Bug 186088 has been marked as a duplicate of this bug. ***
Comment 31 Jakub Moc (RETIRED) gentoo-dev 2007-07-21 11:46:13 UTC
*** Bug 176344 has been marked as a duplicate of this bug. ***