Re: vax build/release problems (installboot/Pledge.a)

Juan Francisco Cantero Hurtado <[email protected]> Thu, 18 Feb 2016 02:20:38 +0100
Newsgroups gmane.os.openbsd.vax
Message-ID <20160218012038.GA11984@edda>
On Wed, Feb 17, 2016 at 10:01:16PM +0100, Sigi Rudzio wrote:
> Hi,
> 
> after recently noticing/reading that VAX snapshots aren't built anymore
> I had to resort to building releases on my Vaxstation 4000/90 myself,
> to keep my IRC server (a VLC) up to date.
> 
> I think I found two problems along the way.
> 
> First, installboot wouldn't compile unless I added unistd.h to the
> includes in installboot_vax.c
> 
> cvs server: Diffing .
> Index: vax_installboot.c
> ===================================================================
> RCS file: /cvs/src/usr.sbin/installboot/vax_installboot.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 vax_installboot.c
> --- vax_installboot.c   30 Nov 2015 17:34:57 -0000      1.4
> +++ vax_installboot.c   16 Feb 2016 10:10:14 -0000
> @@ -17,6 +17,7 @@
>   */
> 
>  #include <stdlib.h>
> +#include <unistd.h>
> 
>  #include "installboot.h"
> 
> 
> I have no idea if this is the correct fix, but at least I could compile
> (I didn't yet try the result!).
> 
> Second problem:
> 
> I got this message while make release:
> 
> base: pax: Unable to access
> ./usr/libdata/perl5/vax-openbsd/5.20.2/auto/OpenBSD/Pledge/Pledge.so:
> No such file or directory
> 
> Pledge.so doesn't exist, only Pledge.a is built.
> 
> output from sh checkflist:
> 5925c5925,5926
> < ./usr/libdata/perl5/vax-openbsd/5.20.2/auto/OpenBSD/Pledge/Pledge.so
> ---
> > ./usr/libdata/perl5/vax-openbsd/5.20.2/auto/OpenBSD/Pledge/Pledge.a
> > ./usr/libdata/perl5/vax-openbsd/5.20.2/auto/OpenBSD/Pledge/extralibs.ld

VAX doesn't support shared libraries.

CCing to afresh1@

> 
> My sources are from 28. January (make build took a few tries before it
> completed)
> 
> Maybe these two things are the result of my own incompetence
> or the old snapshot I started from (I'll reinstall using the release I built
> and build again, but this will take some time), but if it isn't, it would
> be great if someone who knows more than me could look at this.
> 
> Thanks to all the developers for OpenBSD and OpenBSD/vax!
> 
> Regards,
> 
> S. Rudzio
> 

-- 
Juan Francisco Cantero Hurtado http://juanfra.info