Discussion:
please build test: spiped-1.2.2e
Colin Percival
2012-11-07 12:07:07 UTC
Permalink
Hi all,

I've been making a number of portability improvements to the spiped build
over the past couple of months, both to fix the build on a platform which
is rather astonishingly strict in its POSIX conformance (Solaris) and to
work around the very common lack of conformance with with -lrt C compiler
option on other platforms.

I think I've got this all fixed, but in the process I've made a lot of
changes, so it's entirely possible that I've broken something else in this
process. Can you please:
1. Download http://www.tarsnap.com/spiped/spiped-1.2.2e.tgz (which should
have SHA256 a479ded6e2066edea93ea9f187fffc13014e896618e54856cf47a673b915000a),
2. Extract it,
3. Run 'make install clean', and
4. Tell me what OS (platform and version) you're running and whether you
encountered any errors?

In particular, I'd like to hear about platforms which *do* work, not just
those which don't work, so that I can be sure that I've got all the major
platforms tested before I release this as spiped 1.2.2.

The only build failures I'm aware of at the moment are:
1. OpenBSD needs '#include <sys/types.h>' added in two files, and
2. Solaris needs CFLAGS and LDADD_EXTRA variables passed to make(1) to find
OpenSSL and other libraries,
and I don't intend to fix either of those since those are both problems with
the platforms in question.

Thanks,
- --
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Paul Capron
2012-11-07 12:36:56 UTC
Permalink
Can you please: 1. Download
http://www.tarsnap.com/spiped/spiped-1.2.2e.tgz (which should have
SHA256
a479ded6e2066edea93ea9f187fffc13014e896618e54856cf47a673b915000a),
2. Extract it, 3. Run 'make install clean', and 4. Tell me what OS
(platform and version) you're running and whether you encountered
any errors?
Builds without error and seems to work fine on Ubuntu 12.04.1 x86_64.
James Turner
2012-11-07 15:02:53 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I've been making a number of portability improvements to the spiped build
over the past couple of months, both to fix the build on a platform which
is rather astonishingly strict in its POSIX conformance (Solaris) and to
work around the very common lack of conformance with with -lrt C compiler
option on other platforms.
I think I've got this all fixed, but in the process I've made a lot of
changes, so it's entirely possible that I've broken something else in this
1. Download http://www.tarsnap.com/spiped/spiped-1.2.2e.tgz (which should
have SHA256 a479ded6e2066edea93ea9f187fffc13014e896618e54856cf47a673b915000a),
2. Extract it,
3. Run 'make install clean', and
4. Tell me what OS (platform and version) you're running and whether you
encountered any errors?
In particular, I'd like to hear about platforms which *do* work, not just
those which don't work, so that I can be sure that I've got all the major
platforms tested before I release this as spiped 1.2.2.
1. OpenBSD needs '#include <sys/types.h>' added in two files, and
2. Solaris needs CFLAGS and LDADD_EXTRA variables passed to make(1) to find
OpenSSL and other libraries,
and I don't intend to fix either of those since those are both problems with
the platforms in question.
Thanks,
- --
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlCaTusACgkQOM7KaQxqam6SawCgmyO4ichOGI3EzA4uphMf+5kl
NsYAoLauDE3UpUdMohJNfRLTx9l7oakT
=SHEh
-----END PGP SIGNATURE-----
Built just fine on Mac OS X 10.6.8 and on an OpenBSD amd64 snapshot from
today. I did not have to add sys/types.h like in previous OpenBSD
releases.
--
James Turner
***@calminferno.net
Colin Percival
2012-11-07 16:37:00 UTC
Permalink
Post by James Turner
Built just fine on Mac OS X 10.6.8 and on an OpenBSD amd64 snapshot from
today.
Thanks!
Post by James Turner
I did not have to add sys/types.h like in previous OpenBSD releases.
Cool, looks like guenther fixed that in mid-September. OpenBSD does tags
from HEAD, right? So it should be safe to assume that OpenBSD 5.3 and
higher will have the fix which is currently in the tree?
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
James Turner
2012-11-07 17:22:33 UTC
Permalink
Post by Colin Percival
Post by James Turner
Built just fine on Mac OS X 10.6.8 and on an OpenBSD amd64 snapshot from
today.
Thanks!
Post by James Turner
I did not have to add sys/types.h like in previous OpenBSD releases.
Cool, looks like guenther fixed that in mid-September. OpenBSD does tags
from HEAD, right? So it should be safe to assume that OpenBSD 5.3 and
higher will have the fix which is currently in the tree?
--
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
Yup, 5.3 should be the first release to include the fix.
--
James Turner
***@calminferno.net
James Turner
2012-11-08 03:43:54 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I've been making a number of portability improvements to the spiped build
over the past couple of months, both to fix the build on a platform which
is rather astonishingly strict in its POSIX conformance (Solaris) and to
work around the very common lack of conformance with with -lrt C compiler
option on other platforms.
I think I've got this all fixed, but in the process I've made a lot of
changes, so it's entirely possible that I've broken something else in this
1. Download http://www.tarsnap.com/spiped/spiped-1.2.2e.tgz (which should
have SHA256 a479ded6e2066edea93ea9f187fffc13014e896618e54856cf47a673b915000a),
2. Extract it,
3. Run 'make install clean', and
4. Tell me what OS (platform and version) you're running and whether you
encountered any errors?
In particular, I'd like to hear about platforms which *do* work, not just
those which don't work, so that I can be sure that I've got all the major
platforms tested before I release this as spiped 1.2.2.
1. OpenBSD needs '#include <sys/types.h>' added in two files, and
2. Solaris needs CFLAGS and LDADD_EXTRA variables passed to make(1) to find
OpenSSL and other libraries,
and I don't intend to fix either of those since those are both problems with
the platforms in question.
Thanks,
- --
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
iEYEARECAAYFAlCaTusACgkQOM7KaQxqam6SawCgmyO4ichOGI3EzA4uphMf+5kl
NsYAoLauDE3UpUdMohJNfRLTx9l7oakT
=SHEh
-----END PGP SIGNATURE-----
After further testing it looks like posix-l.sh is overriding /dev/null,
which is causing permission issues on OpenBSD when other programs try to
access it. The below line seems to be the issue:

if ${CC} -o /dev/null -l${LIB} posix-l.c 2>/dev/null; then

Normally /dev/null is crw-rw-rw-. After posix-1.sh is ran it becomes
-rw-r--r--.
--
James Turner
***@calminferno.net
Colin Percival
2012-11-08 04:38:55 UTC
Permalink
Post by James Turner
After further testing it looks like posix-l.sh is overriding /dev/null,
which is causing permission issues on OpenBSD when other programs try to
if ${CC} -o /dev/null -l${LIB} posix-l.c 2>/dev/null; then
Normally /dev/null is crw-rw-rw-. After posix-1.sh is ran it becomes
-rw-r--r--.
Wow, that's unexpected and scary. I've replaced that with a more standard
"build a.out and then delete it" approach.

Time to see if my new approach works. Everybody please test
http://www.tarsnap.com/spiped/spiped-1.2.2f.tgz, with SHA256 hash
bbada9984939adddf4dd92ea459cf50e1ba392e4b9fe60de510297c0d6673513. :-)

- --
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid
James Turner
2012-11-08 14:16:49 UTC
Permalink
Post by Colin Percival
Post by James Turner
After further testing it looks like posix-l.sh is overriding /dev/null,
which is causing permission issues on OpenBSD when other programs try to
if ${CC} -o /dev/null -l${LIB} posix-l.c 2>/dev/null; then
Normally /dev/null is crw-rw-rw-. After posix-1.sh is ran it becomes
-rw-r--r--.
Wow, that's unexpected and scary. I've replaced that with a more standard
"build a.out and then delete it" approach.
Time to see if my new approach works. Everybody please test
http://www.tarsnap.com/spiped/spiped-1.2.2f.tgz, with SHA256 hash
bbada9984939adddf4dd92ea459cf50e1ba392e4b9fe60de510297c0d6673513. :-)
Everything still builds just fine on Mac OS X 10.6.8 and recent OpenBSD
snapshot. The new posix-l.sh looks good and /dev/null is left untouched
on OpenBSD. Thanks!
--
James Turner
***@calminferno.net
Loading...