LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-13-2013, 12:18 PM   #1
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Rep: Reputation: 155Reputation: 155
Update request: guile 2.0 in -current


The version of Guile in -current is 1.8.8, released in December 2010. There have been no further developments to the 1.8 branch since that release.

The 2.0 branch of Guile started in February of 2011. There have been nine additional releases since that time and currently Guile is well-tested and stable. Future releases in the 2.0 branch will likely comprise only bugfixes and general code maintenance (a 2.2 branch has been started for more experimental development).

It would be nice if the next release of Slackware could be updated with a more recent version of Guile.
 
Old 06-14-2013, 02:19 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,860

Rep: Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230Reputation: 2230
+1 for this
 
Old 06-16-2013, 09:53 PM   #3
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 77
The transition from 1.8 to 2.0 does not seem to be a smooth one or very backwards compatible. I'll be happy with guile 2.0 when the programs out there that use guile also upgrade their scripts to use guile 2.0. Until then, even if Pat upgrades Slackware's guile to 2.0, I'm sticking with 1.8, not knowing what to do with guile when guile breaks. I'd rather have a guile that works than one that does not work.
 
Old 06-18-2013, 02:43 AM   #4
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: 155Reputation: 155
You raise a valid concern, mlslk31. Here is my understanding of the current state of things with regard to updating to Guile 2.0.

To my knowledge, there are no packages in Slackware -current that would be broken by the upgrade. The SWIG interface library did not support Guile 2.0 prior to version 2.0.10, but -current is now shipping SWIG 2.0.10.

There are some SlackBuilds from slackbuilds.org that will be affected. The version of Xbindkeys (version 1.8.5) specified by the Slackware 14 SlackBuild is already compliant with Guile 2.0 and thus should not present a problem.

The version of Ardour (version 2.8.14) specified by the Slackware 14 SlackBuild successfully builds and runs against Guile 2.0 but it is possible that there are a couple of scripts that still need updating. Any such bug would only mean the loss of that particular script's functionality, and the Ardour developers have been very diligent in addressing these issues.

There is no SlackBuild for the GNOME card game AisleRiot but for those who wish to build their own package, Guile 2.0 may present a problem as the AisleRiot changelogs do not appear to mention any changes driven by Guile 2.0 support. This does not necessarily mean that Guile 2.0 is incompatible. The big change in Guile 2.0 that has been causing grief is that macros can no longer be used before they have been defined (Guile 1.8 was forgiving of this). If no such undefined macros are used then backwards compatibility with Guile 2.0 should not be a problem. Guile is used by AisleRiot only for generating the HELP system; not to trivialize this, however, the games should still work without help being available.

There is also no SlackBuild for the Dr GEO geometry program, which has Guile 1.8 as a dependency. I am completely unfamiliar with this program, and have no idea whether it would be impacted by an upgrade of Guile to 2.0.

The SlackBuild for GNUcash is currently at version 2.4.11, which will not build against Guile 2.0. Support for Guile 2.0 is available in GNUcash version 2.5.2 of the development branch. I imagine SB.o would prefer to stay with the stable 2.4 branch but I believe there have been exceptions made in the past.

One of the more problematic programs would be the Lilypond music notation software. Its SlackBuild for SW 14.0 specifies version 2.16.1 and, as was the case for GNUcash, this would need to be bumped up to the 2.17 development branch to work with Guile 2.0. The Guile-driven changes in the 2.17 branch are too extensive to expect that they'd be backported to the 2.16 branch.

Lilypond also presents a problem in that the Slackware 'texi2html' utility (included in the Tetex 3.0 package would need to be upgraded from version 1.76 to version 1.82 in order for Lilypond 2.17.20 to work with Guile 2.0. Other than the Guile package itself, Tetex is the only other package in Slackware proper that should need upgrading.

That is my best assessment of the impact upon Slackware of upgrading to Guile 2.0. If I have made a mistake or have missed anything, please let me know.

Last edited by saulgoode; 06-18-2013 at 08:29 PM.
 
1 members found this post helpful.
Old 06-19-2013, 05:00 PM   #5
mlslk31
Member
 
Registered: Mar 2013
Location: Florida, USA
Distribution: Slackware, FreeBSD
Posts: 210

Rep: Reputation: 77
Yep, AisleRiot and GNUCash are the ones where Guile 2.0 burned me last time. The incompatibilities are getting resolved with time, it's just a very slow process.

I don't know Guile, though. Can two Guile interpreters exist side-by-side in any kind of harmony? That whole Python 2.x/3.x thing doesn't give me much confidence in this approach, though it's better than it was this time last year.
 
Old 06-19-2013, 08:34 PM   #6
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: 155Reputation: 155
I failed to mention another change in Slackware that would be necessary. Slackware should need to include a package for the GNU libunistring library. I'd thought that was already added in -current, but I don't see it there.

Quote:
Originally Posted by mlslk31 View Post
Can two Guile interpreters exist side-by-side in any kind of harmony?
I have not tried that but will look into it next week. Given that Guile 2.0 is more intimately tied to the installed system (being a compiler instead of an interpreter), I strongly suspect it would be much easier to add a non-conflicting Guile 1.8 to a system with 2.0 than the converse.
 
Old 10-15-2013, 03:58 AM   #7
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: 155Reputation: 155
Changelog.txt (for -current)

Quote:
Mon Oct 14 22:09:17 UTC 2013
:
d/guile-2.0.9-i486-1.txz: Upgraded.
:
l/gc-7.2d-i486-1.txz: Added.
:
l/libunistring-0.9.3-i486-1.txz: Added.
Thank you, Pat.
 
Old 10-15-2013, 01:05 PM   #8
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 335

Rep: Reputation: 202Reputation: 202Reputation: 202
Why the upgrade??? Seems Guile 2 BREAKS several SBo packages, namely SLIB, which is needed by Gnucash. Forced me to blacklist it until things are fixed.

Sorry, just my $.02...
 
Old 10-15-2013, 01:20 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,871

Rep: Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914Reputation: 1914
Please note that SBo are guaranteed to work with stable releases only
When you are using -Current, things *might* break at some point, but it should be fixed when the maintainer updated their script to work with a new release (14.1) soon
 
Old 10-15-2013, 02:28 PM   #10
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: 155Reputation: 155
@Lenard Spencer

According to the Guile developers, version 1.8 can co-exist with 2.0. You may wish to try that.

Otherwise, if you update your Slackbuild for slib from slib-3b2 to slib-3b4 then any release of GNUcash from its 2.5 development branch (2.5.6 is the latest) should work with Guile 2.
 
Old 10-20-2013, 02:24 AM   #11
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 906

Rep: Reputation: 154Reputation: 154
guile version 2.0, gnucash 2.4 and slackware 14.1

gnucash is a requirement for my business. If I can't get it to work under 14.1 it will be a show stopper for me.

How do I arrange for
Quote:
According to the Guile developers, version 1.8 can co-exist with 2.0. You may wish to try that.
and will that be the only problem for gnucash?

Alex
 
Old 10-21-2013, 09:36 AM   #12
Lenard Spencer
Member
 
Registered: Sep 2004
Location: Florida
Distribution: Slackware, Linux from Scratch
Posts: 335

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
Originally Posted by saulgoode View Post
@Lenard Spencer

According to the Guile developers, version 1.8 can co-exist with 2.0. You may wish to try that.
I just tried it, and it failed miserably. Slib SEEMED to build, but threw a couple "ignored" errors during the build. And the install was a complete disaster. Even the old slib build (under 1.8) failed the install with both Guile's in place.

So for now, I'm blacklisting Guile-2.0.9 unless there is an absolutely compelling reason for me to upgrade.

As far as Gnucash 2.4, it has other issues with 14.1 (libbonobo won't build either because of glib2), but that's the subject of another thread.

Last edited by Lenard Spencer; 10-21-2013 at 09:38 AM.
 
Old 10-21-2013, 09:52 AM   #13
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,512

Rep: Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450Reputation: 4450
Quote:
Originally Posted by Lenard Spencer View Post
libbonobo won't build either because of glib2
http://cgit.ponce.cc/slackbuilds/commit/?h=libbonobo
 
Old 10-21-2013, 10:50 AM   #14
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 906

Rep: Reputation: 154Reputation: 154
Thanks for the updates which seem to indicate that upgrading to 14.1 might be a rocky ride for gnucash.

I've got a two disk machine, one disk currently has 13.37 the other 14.0. 13.7 will be wiped with a new install of 14.1 so I will still have a working version of 14.0 if 14.1 looks a non starter for me. Hopefully, sometime in the future everything will again line up!

Alex
 
Old 10-21-2013, 12:39 PM   #15
saulgoode
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 288

Original Poster
Rep: Reputation: 155Reputation: 155
Quote:
Originally Posted by Lenard Spencer View Post
I just tried it, and it failed miserably. Slib SEEMED to build, but threw a couple "ignored" errors during the build. And the install was a complete disaster. Even the old slib build (under 1.8) failed the install with both Guile's in place
Were you building slib-3b4, or using an unmodified Slackbuild from SB.o (based on 3b2)?

Also, how did you handle the naming of the binaries being the same in both Guile Slackware packages? When the upstream developers say they can co-exist, that does not necessarily mean the corresponding distro packages can. Some means of recognizing the distinction between the Guile 2.0 and Guile 1.8 binaries needs to be introduced (since they are both named 'guile' within the Slackware packages).

What probably needs to happen is to, along the lines of what Fedora has done, modify Patrick's 14.0 Guile Slackbuild to produce a 'compat-guile-1.8' package wherein the binaries (guile, guile-config, guile-snarf, and guile-tools) are given names unique from those in the 14.1 Guile package. After this compatibility package is installed (alongside Guile 2.0) in 14.1, any third-party Slackbuilds that require building against Guile 1.8 (e.g., GNUcash) would need to be modified to explicitly call out the Guile 1.8 binaries (the pkg-config and libraries appear to have no naming conflicts). And, of course, the SLIB Slackbuild for 14.1 should be updated to version slib-3b4.

I will be installing RC2 this evening and will try to test the above approach over the next few days.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Update request: ksh93 in -current Gerard Lally Slackware 14 06-11-2013 06:16 AM
[SOLVED] Request to update alsa-lib in current tux_dude Slackware 1 05-03-2013 09:03 PM
[TESTING REQUEST] Xorg in -current (yes, again) rworkman Slackware 171 10-31-2009 04:49 PM
Request: New shadow in current jong357 Slackware 3 12-10-2008 03:51 PM
Request for slackware-current jong357 Slackware 6 04-15-2008 09:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration