[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: please build test: spiped-1.2.2e



On Wed, Nov 07, 2012 at 04:07:07AM -0800, Colin Percival wrote:
> -----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
> 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
> -----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
james@calminferno.net