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.
Created attachment 260127 [details] dev-scheme/greg-2.0.0 build.log
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 ;-)
Created attachment 324692 [details, diff] guile-config patch for configure.ac
Assigning to sci as this bug blocks upcoming guile-2 unmasking. I don't want to break stable packages ;-)
Can't we just depend on slot 12?
(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.
There’s a repository which claims to provide updates to use greg with guile 2.0.x: https://github.com/Hoops/greg
Any update on this? Since it's blocker of >guile-2.0 update for years by now.
(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.
Works with guile-2.0.12 for me which is now in tree. Can you confirm?
(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