Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351991 - dev-scheme/greg fails to build with dev-scheme/guile:2
Summary: dev-scheme/greg fails to build with dev-scheme/guile:2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 355355
  Show dependency tree
 
Reported: 2011-01-18 10:54 UTC by Cyprien Nicolas (fulax)
Modified: 2016-08-05 13:04 UTC (History)
2 users (show)

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


Attachments
dev-scheme/greg-2.0.0 build.log (greg-2.0.0:20110118-104513.log,10.58 KB, text/plain)
2011-01-18 10:55 UTC, Cyprien Nicolas (fulax)
Details
guile-config patch for configure.ac (2.0.0-guile-config.patch,656 bytes, patch)
2012-09-23 11:42 UTC, Cyprien Nicolas (fulax)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cyprien Nicolas (fulax) 2011-01-18 10:54:33 UTC
This bug is mainly a remainder for packages failing with guile-1.9/2.0.
build.log in first comment #1.

Some notes:
The greg project seems inactive since 2006.
This ebuild is only used by sci-chemistry/coot[test].

$ emerge -pqv guile
[ebuild   R   ] dev-scheme/guile-1.9.14  USE="-debug -debug-malloc deprecated -networking nls readline regex threads"

The sci herd will be added when guile-1.9 will be pushed to the tree.
Comment 1 Cyprien Nicolas (fulax) 2011-01-18 10:55:12 UTC
Created attachment 260127 [details]
dev-scheme/greg-2.0.0 build.log
Comment 2 Cyprien Nicolas (fulax) 2012-09-23 11:42:09 UTC
I digged into the build failure, and find out that the AC_CHECK_HEADER for libguile.h was not using info collected from guile-config compile.

libguile.h was installed in /usr/include for guile-1.8, but its location moved to /usr/include/guile/2.0 in guile-2.

So configure.ac needs to push guile's CFLAGS, see patch in comment #3

Tests when built with guile-1.8.8 show:

                === Summary of all tests ===

# of expected passes       4
# of expected failures     4
# of unexpected passes     4
# of unexpected failures   4
# of unresolved testcases  5
# of unsupported testcases 2
# of untested testcases    2
# of files abandoned       1

Tests when built with guile-2.0.6 show the same output.

However; there are several deprecation warnings, and some AUTOCOMPILE notes with guile-2.0. I don't expect greg to work with guile-2.2, but will see then ;-)
Comment 3 Cyprien Nicolas (fulax) 2012-09-23 11:42:47 UTC
Created attachment 324692 [details, diff]
guile-config patch for configure.ac
Comment 4 Cyprien Nicolas (fulax) 2012-09-23 11:50:52 UTC
Assigning to sci as this bug blocks upcoming guile-2 unmasking.
I don't want to break stable packages ;-)
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-12-14 12:41:44 UTC
Can't we just depend on slot 12?
Comment 6 Cyprien Nicolas (fulax) 2013-01-26 17:19:39 UTC
(In reply to comment #5)
> Can't we just depend on slot 12?

You can, that the way app-office/texmacs goes.

Greg compiles just fine with guile:12. It seems to pick /usr/bin/guile at runtime (which may be a symlink to guile-2). I'll try to emerge coot and see if it can work without any patch.
Comment 7 Arne Babenhauserheide 2014-11-14 08:54:06 UTC
There’s a repository which claims to provide updates to use greg with guile 2.0.x: https://github.com/Hoops/greg
Comment 8 Anton Kochkov 2016-07-05 14:21:28 UTC
Any update on this? Since it's blocker of >guile-2.0 update for years by now.
Comment 9 Amy Liffey gentoo-dev 2016-07-05 14:45:25 UTC
(In reply to Anton Kochkov from comment #8)
> Any update on this? Since it's blocker of >guile-2.0 update for years by now.

I will soon push to tree guile-2.0.11 we can try to resolve it.
Comment 10 Amy Liffey gentoo-dev 2016-08-04 20:29:02 UTC
Works with guile-2.0.12 for me which is now in tree.

Can you confirm?
Comment 11 Amy Liffey gentoo-dev 2016-08-05 13:04:53 UTC
(In reply to Amy Winston from comment #10)
> Works with guile-2.0.12 for me which is now in tree.
> 
> Can you confirm?

committer	Amy Winston <amynka@gentoo.org>	2016-08-05 13:02:21 (GMT)
commit	0a6ef659a25031905c33fe6fb80080681099dec3 

dev-scheme/greg:add guile-2 patch bug #351991