[Obsolete] OXP Authors: GNUstep 1.19.3 bug workaround
Moderators: winston, another_commander
[Obsolete] OXP Authors: GNUstep 1.19.3 bug workaround
<Edit>
While not really obsolete, GNUstep 1.19.3 is broken in more ways and hence is completely unsupported by Oolite.
Older and newer versions of GNUstep are not affected by this bug, so no need to code workarounds specifically for this.
</EDIT>
Hi OXP-authors,
There's a bug in GNUstep since version 1.19.2 which causes whitespaces in an XML Property List to be incorrectly stripped.
<string> A & B </string>
-> "A&B"
ie, leading & trailing whitespace is removed, as well as whitespace surrounding XML entities (& ' < > " etc)
This is an issue for Oolite built specifically for Ubuntu Lucid and other Linux Distributions which ship with version 1.19.3 and later of GNUstep.
As a work around, you can avoid using XML entities in your XML property lists where the whitespace surrounding them is significant (eg, entity names).
GNUstep-style property lists are not affected.
Cheers,
- Micha.
While not really obsolete, GNUstep 1.19.3 is broken in more ways and hence is completely unsupported by Oolite.
Older and newer versions of GNUstep are not affected by this bug, so no need to code workarounds specifically for this.
</EDIT>
Hi OXP-authors,
There's a bug in GNUstep since version 1.19.2 which causes whitespaces in an XML Property List to be incorrectly stripped.
<string> A & B </string>
-> "A&B"
ie, leading & trailing whitespace is removed, as well as whitespace surrounding XML entities (& ' < > " etc)
This is an issue for Oolite built specifically for Ubuntu Lucid and other Linux Distributions which ship with version 1.19.3 and later of GNUstep.
As a work around, you can avoid using XML entities in your XML property lists where the whitespace surrounding them is significant (eg, entity names).
GNUstep-style property lists are not affected.
Cheers,
- Micha.
Last edited by Micha on Sun Nov 21, 2010 1:01 pm, edited 2 times in total.
The glass is twice as big as it needs to be.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
Highlighted the 'built specifically'
Also of note is that the bug has been fixed 'upstream' in GNUstep's trunk (1.21), and will be backported to GNUstep 1.20.1. Unfortunately it is up to Ubuntu and Debian (and any other Distro) to backport it further to 1.19. Patches have been supplied for 1.19.3 and it is in progress but will likely take a considerable amount of time to make it into a stable release.
In the meantime, there is a patched version of GNUstep available here:
https://launchpad.net/~3-launchpad-mich ... /+packages
Also of note is that the bug has been fixed 'upstream' in GNUstep's trunk (1.21), and will be backported to GNUstep 1.20.1. Unfortunately it is up to Ubuntu and Debian (and any other Distro) to backport it further to 1.19. Patches have been supplied for 1.19.3 and it is in progress but will likely take a considerable amount of time to make it into a stable release.
In the meantime, there is a patched version of GNUstep available here:
https://launchpad.net/~3-launchpad-mich ... /+packages
The glass is twice as big as it needs to be.
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Wouldn’t it be better for them to, y’know, not ship obsolete development versions?Micha wrote:Also of note is that the bug has been fixed 'upstream' in GNUstep's trunk (1.21), and will be backported to GNUstep 1.20.1. Unfortunately it is up to Ubuntu and Debian (and any other Distro) to backport it further to 1.19.
E-mail: [email protected]
Probably - but by the time they go into version freeze it probably wasn't obsolete. In either case the bug was in GNUstep from 1.19.1 onwards until trunk a few days ago - so even if they shipped with 1.20 it wouldn't have made any difference (for this particular bug).Ahruman wrote:Wouldn’t it be better for them to, y’know, not ship obsolete development versions?Micha wrote:Also of note is that the bug has been fixed 'upstream' in GNUstep's trunk (1.21), and will be backported to GNUstep 1.20.1. Unfortunately it is up to Ubuntu and Debian (and any other Distro) to backport it further to 1.19.
The glass is twice as big as it needs to be.
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
Hello,
The bug is corrected in the gnustep-core 1.20.1 realease.
The debian package was updated in the experimental flavour.
I get the sources, built the package and update my system (Debian Testing).
I get also the oolite 1.74.1 sources and built the debian packages and install it.
I've played two hours with Oolite with no problems.
Regards,
B.
The bug is corrected in the gnustep-core 1.20.1 realease.
The debian package was updated in the experimental flavour.
I get the sources, built the package and update my system (Debian Testing).
I get also the oolite 1.74.1 sources and built the debian packages and install it.
I've played two hours with Oolite with no problems.
Regards,
B.
"In the space bar, the barbarians of all races"
Thanks for the confirmation, B.
I've been playing with 1.20.1 for a few weeks now myself and haven't found any unexplained bugs yet. Unfortunately that doesn't help anybody who upgraded to Lucid or is running any other distro which is stuck at gnustep1.19.x.
I've been playing with 1.20.1 for a few weeks now myself and haven't found any unexplained bugs yet. Unfortunately that doesn't help anybody who upgraded to Lucid or is running any other distro which is stuck at gnustep1.19.x.
The glass is twice as big as it needs to be.
- McDjanoff
- Competent
- Posts: 33
- Joined: Fri Apr 16, 2010 11:13 am
- Location: Space Bars or somewhere in space
As the ubuntu is debian based, I think that the gnustep packages are the same on the two distros and the experimental debian package may be rebuilt on lucid with no modification.
I am agree with you as this kind of operation is not so easy to handle for all users, unfortunally.
The same may be done with RPM, but the RPM based distros packages are different across distros. Fortunally, a quick request on rpmsearch site show that the most of RPM based distros used gnustep-base older than 1.19.
if asked, I can post a short howto.
Regards,
B.
I am agree with you as this kind of operation is not so easy to handle for all users, unfortunally.
The same may be done with RPM, but the RPM based distros packages are different across distros. Fortunally, a quick request on rpmsearch site show that the most of RPM based distros used gnustep-base older than 1.19.
if asked, I can post a short howto.
Regards,
B.
"In the space bar, the barbarians of all races"
Unfortunately Maverick, the current release of Ubuntu, has got the exact same gnustep version as Lucid, so I wouldn't unsticky this as yet...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)