Skip to contentSkip to conversation

Getting ready to ship 3.8

Buildroot Thomas Petazzoni 1 participant 2 messages Oct 23, 2012 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Dear Eric S. Raymond,

Quoted 9 lines · Eric S. Raymond

I'd like to do a point release soon. No one big reason, but we've had an accumulation of minor fixes, feature additions, and packaging tweaks that I want to get out the door.

However, there are two reported segfault errors - Debian bug #689187 in gpsfake and Savannah bug #37451 in gpsmon - which I haven't been able to reproduce. They may point at a difficult-to-invoke bug in the NMEA driver. Due to these, we're currently in state Red.

Quoted 7 lines

The bug reports are here:

https://savannah.nongnu.org/bugs/index.php?37451
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689187

All experienced devs: please try to reproduce these and see if you can generate any insights.

We have recently packaged gpsd 3.7 in Buildroot (an embedded Linux build system that works by cross-compiling software for different architectures), and have faced a number of issues for which we have patches:

* First issue is that we still support Python 2.5 based hosts, while the current SCons based gpsd build system makes some assumption about Python 2.6 being available. This requires three patches:

http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-01-sconstruct-python-2.5-compat.patch
http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-04-sconstruct-python-2.5-compat-distro-check.patch
http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-05-fix-leapsecond-script-python2.5.patch

* Second issue is that gpsd hardcodes a runtime library path (RPATH) in its libraries, which when cross-compiling means that paths of the build machine are leaked into the target machine. So we have a simple patch that disables the RPATH usage:

http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch

Is there some interest in those patches? If so, I can submit them officially for integration. We are always interested in reducing our patch queues by getting things integrated upstream when possible.

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#3 lore raw
In reply to a message not in the archive

Dear Eric S. Raymond,

Quoted 11 lines · Eric S. Raymond

Thomas Petazzoni <[email protected]>:

Quoted 8 lines

* First issue is that we still support Python 2.5 based hosts,
while the current SCons based gpsd build system makes some assumption about Python 2.6 being available. This requires three patches:

http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-01-sconstruct-python-2.5-compat.patch
http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-04-sconstruct-python-2.5-compat-distro-check.patch
http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-05-fix-leapsecond-script-python2.5.patch

I have merged these.

Great, thanks! Looking forward to bump our gpsd version to 3.8 and get rid of those patches.

Quoted 8 lines
Quoted 6 lines

* Second issue is that gpsd hardcodes a runtime library path
(RPATH) in its libraries, which when cross-compiling means that paths of the build machine are leaked into the target machine. So we have a simple patch that disables the RPATH usage:

http://git.buildroot.net/buildroot/plain/package/gpsd/gpsd-02-sconstruct-disable-rpath.patch

This, absolutely not. Investigate setting chrpath=no.

Indeed, will have a look. Thanks!

Best regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com