First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 125468
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Scheme Herd <scheme@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Priit Laes <amd@store20.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
g-wrap-1.9.6.ebuild g-wrap-1.9.6.ebuild text/plain Priit Laes 2006-03-08 06:03 0000 1017 bytes Details
g-wrap-glib-problem-fix.patch g-wrap-glib-problem-fix.patch text/plain Priit Laes 2006-03-08 06:05 0000 409 bytes Details
g-wrap-1.9.6.ebuild g-wrap-1.9.6.ebuild text/plain Priit Laes 2006-03-09 04:22 0000 1.23 KB Details
g-wrap-1.9.6.ebuild g-wrap-1.9.6.ebuild revision text/plain Josh Sled 2006-05-17 13:07 0000 789 bytes Details
g-wrap-1.9.7.ebuild dev-libs/g-wrap/g-wrap-1.9.7.ebuild text/plain Marijn Schouten 2006-12-22 10:41 0000 554 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 125468 depends on: 143745 Show dependency tree
Show dependency graph
Bug 125468 blocks: 122337 158251
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-03-08 05:59 0000
Required for gnucash 1.9.x

------- Comment #1 From Priit Laes 2006-03-08 06:03:37 0000 -------
Created an attachment (id=81681) [edit]
g-wrap-1.9.6.ebuild

------- Comment #2 From Priit Laes 2006-03-08 06:05:00 0000 -------
Created an attachment (id=81682) [edit]
g-wrap-glib-problem-fix.patch

------- Comment #3 From Priit Laes 2006-03-09 04:22:45 0000 -------
Created an attachment (id=81759) [edit]
g-wrap-1.9.6.ebuild

Added some comments to the ebuild...

------- Comment #4 From foser (RETIRED) 2006-03-10 06:40:22 0000 -------
I assume this is for the gtk 2 version of gnucash ?

Does it need slotting ?

------- Comment #5 From Josh Sled 2006-03-10 06:46:10 0000 -------
No; both gnucash 1.8 and 1.9/2.0 will build against g-wrap 1.9.6.  It might
need to force a gnucash-1.8 rebuild, though.  Not sure.

To be precise, g-wrap 1.9.6 is only really a requirement for gnucash-1.9.x on a
system with gcc-4, as it generates code that causes compiler warnings with gcc4
(not gcc3) which gnucash their -Werrors out on.  But gnucash-2.0 won't dist
with --enable-error-on-warning.  At the same time, it's probably a good idea to
encourage moving past g-wrap-1.3.4 anyways.

------- Comment #6 From Ed Catmur 2006-04-25 06:19:27 0000 -------
ebuild should set SLOT="0".

------- Comment #7 From Josh Sled 2006-05-17 13:07:06 0000 -------
Created an attachment (id=86947) [edit]
g-wrap-1.9.6.ebuild revision

[obsoletes previous]
- remove commented-out sections
- SLOT="0" (though g-wrap-1.3.4 has SLOT="1.3", and this will clobber that :( )
- add glib-2.0 as a DEPEND for emerge ordering, &c.
- we only need to re-`autoconf`.

------- Comment #8 From Morten Cools 2006-06-17 12:04:54 0000 -------
Can we get this in portage, please?

------- Comment #9 From Seemant Kulleen (RETIRED) 2006-07-11 17:19:45 0000 -------
I would love to put this into portage, but I don't think the SLOT adjustment is
appropriate, because that causes it to overwrite the prior version of g-wrap
without unmerging that version.  Are we all sure that the two versions are
co-habitable?  And furthermore, those libs and progs which depend on g-wrap-1.3
-- will they break with this new version?

------- Comment #10 From Ed Catmur 2006-07-20 09:08:03 0000 -------
g-wrap cannot be slotted; I have no idea why 1.3.4 has SLOT="1.3". It
shouldn't.

The only thing that uses g-wrap in portage is gnucash.

------- Comment #11 From Seemant Kulleen (RETIRED) 2006-07-20 10:32:22 0000 -------
Thanks Ed, you confirmed my suspicions.

------- Comment #12 From Jakub Moc 2006-08-13 02:13:25 0000 -------
*** Bug 143748 has been marked as a duplicate of this bug. ***

------- Comment #13 From Jakub Moc 2006-10-11 10:12:44 0000 -------
*** Bug 150911 has been marked as a duplicate of this bug. ***

------- Comment #14 From Seemant Kulleen (RETIRED) 2006-10-11 13:58:45 0000 -------
OK, I need to assess two things: 

1. Will people running gnucash-1 need to remerge?
2. Will people running gnucash-2 need to remerge?

------- Comment #15 From Bob McDonald 2006-10-12 07:55:50 0000 -------
According to the folks on the devel list at gnucash, the answer is yes, both
versions of gnucash (1.x and 2.x) would require recompiling.

------- Comment #16 From Seemant Kulleen (RETIRED) 2006-10-12 07:58:27 0000 -------
thanks Bob.  In this case then, I'll wait till we get rid of 1.8.11, and then
I'll develop -r1's for the remaining to depend strictly on the newer g-wrap and
make the old ones strictly depend on the existing g-wrap so that the upgrades
all happen together (and then the three can be stabled simultaneously).  This
will take a couple of weeks to put into ~arches from the looks of it.

------- Comment #17 From Bob McDonald 2006-12-20 05:57:27 0000 -------
I've been waiting 2 months for >dev-libs/g-wrap-1.3.4 to somehow make it into
the portage tree.  Is there ANY chance this will become a reality in the next
week?  This is starting to impact the regular update process for my system.  If
it can't be done, let me know so that I can unmerge GNUcash from my gentoo
machaine and start using it under ubuntu.  

------- Comment #18 From Seemant Kulleen (RETIRED) 2006-12-20 06:09:31 0000 -------
Bob,

Please note the two bugs which depend on this, and the bug that this depends
on.  I'm interested in upgrading guile, slib and g-wrap (and the newest
gnucash) in one go, but I'd like to do it smoothly. I'm working with our scheme
team to get this in as smoothly as possible.

It'll probably be another week, maybe 2.  If you can wait, that'd be great, if
not, then I do understand.

------- Comment #19 From Marijn Schouten 2006-12-20 06:11:02 0000 -------
g-wrap's homepage is (now) incorrect. The right one is
http://www.nongnu.org/g-wrap/

------- Comment #20 From Marijn Schouten 2006-12-22 10:41:43 0000 -------
Created an attachment (id=104598) [edit]
dev-libs/g-wrap/g-wrap-1.9.7.ebuild

seems to work together with guile-1.6.8 and slib-3.1.4(3a4)

------- Comment #21 From Howard B. Golden 2006-12-28 20:58:05 0000 -------
(In reply to comment #20)
> Created an attachment (id=104598) [edit]
> dev-libs/g-wrap/g-wrap-1.9.7.ebuild
> 
> seems to work together with guile-1.6.8 and slib-3.1.4(3a4)

I'm having trouble with g-wrap-1.9.7 due to code introduced in g-wrap-1.9.7:

On my system, g-wrap-1.9.7 creates a file config.scm in directory
/var/tmp/portage/dev-libs/g-wrap-1.9.7/image/usr/share/guile/site/g-wrap that
contains the following code:

    (define *g-wrap-shlib-dir*
"/var/tmp/portage/dev-libs/g-wrap-1.9.7/image//usr/lib/g-wrap/modules/")

The problem with this code is that it refers to the temporary image directory,
not the final destination directory (/usr/lib/g-wrap/modules/). This causes
gnucash on start-up to issue the following error messages:

ERROR: In procedure dynamic-link:
ERROR: file:
"/var/tmp/portage/dev-libs/g-wrap-1.9.7/image//usr/lib/g-wrap/modules/libgw-guile-standard",
message:
"/var/tmp/portage/dev-libs/g-wrap-1.9.7/image//usr/lib/g-wrap/modules/libgw-guile-standard.so:
cannot open shared object file: No such file or directory"

I can fix this problem by editing file /usr/share/guile/site/g-wrap/config.scm
to remove the prefixed "/var/tmp/portage/.../image/", but I think the code
upstream needs to be fixed.

------- Comment #22 From brad walker 2006-12-30 04:56:06 0000 -------
without an external libffi g-wrap-1.9.7 will break dependent packages when
emerged an even number of times. emerging g-wrap toggles the presence of
libffi.

when first emerged, g-wrap will build its internal ffi when it detects no
external libffi. portage merges the libffi into the filesystem.

emerged again, g-wrap doesn't build its internal ffi. portage then breaks any
packages depending on g-wrap by removing the external libffi g-wrap built
against.

temp workaround: emerge g-wrap-1.9.7 an odd number of times :)

------- Comment #23 From brad walker 2006-12-30 05:23:43 0000 -------
(In reply to comment #20)
> seems to work together with guile-1.6.8 and slib-3.1.4(3a4)

guile-gnome-platform-2.15.90's guile-gtk-demo successfully runs w/guile v1.8.1,
slib 3.1.4, and g-wrap-1.9.7. i used the slib-1.3.4/guile-1.8.1 workaround at
http://bugs.gentoo.org/show_bug.cgi?id=45826#c11.

disabling deprecated features in guile 1.8.x breaks g-wrap. g-wrap-1.9.7 uses
many things marked deprecated in 1.8.x. building guile-gnome-platform-2.15.90
failed w/guile-1.8.1 built with --disable-deprecated/--enable-deprecated=no. 

------- Comment #24 From brad walker 2006-12-30 05:25:18 0000 -------
(In reply to comment #20)
> seems to work together with guile-1.6.8 and slib-3.1.4(3a4)

guile-gnome-platform-2.15.90's guile-gtk-demo successfully runs w/guile v1.8.1,
slib 3.1.4, and g-wrap-1.9.7. i used the slib-1.3.4/guile-1.8.1 workaround at
http://bugs.gentoo.org/show_bug.cgi?id=45826#c11.

disabling deprecated features in guile 1.8.x breaks g-wrap. g-wrap-1.9.7 uses
many things marked deprecated in 1.8.x. building guile-gnome-platform-2.15.90
failed w/guile-1.8.1 built with --disable-deprecated/--enable-deprecated=no. 

------- Comment #25 From Marijn Schouten 2006-12-30 06:28:48 0000 -------
(In reply to comment #22)
> without an external libffi g-wrap-1.9.7 will break dependent packages when
> emerged an even number of times. emerging g-wrap toggles the presence of
> libffi.
>
> temp workaround: emerge g-wrap-1.9.7 an odd number of times :)

What about adding dev-libs/libffi to (R)DEPEND?

------- Comment #26 From Marijn Schouten 2006-12-30 06:34:40 0000 -------
(In reply to comment #23)
> guile-gnome-platform-2.15.90's guile-gtk-demo successfully runs w/guile
> v1.8.1, slib 3.1.4, and g-wrap-1.9.7. i used the slib-1.3.4/guile-1.8.1
> workaround at http://bugs.gentoo.org/show_bug.cgi?id=45826#c11.

From http://www.gnu.org/software/guile-gnome/
"Also note that we have bumped our dependency on G-Wrap to an as-yet-unreleased
version, and removed the dependency on SLIB."

So can you really use slib functions from guile-1.8.*?

------- Comment #27 From Marijn Schouten 2007-01-12 18:04:41 0000 -------
g-wrap-1.9.7 is in. This is fixed.

------- Comment #28 From Marijn Schouten 2007-01-19 15:38:57 0000 -------
1.9.6 now in too, since gnucash has some trouble with 1.9.7 still

First Last Prev Next    No search results available      Search page      Enter new bug