Quantcast

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

Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Sigi Rudzio
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

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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Juan Francisco Cantero Hurtado
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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Sigi Rudzio
Hi,

the installboot change has been commited by tobiasu@, but I didn't see
any change in src/distrib/sets/lists/base .

I don't know if it is as simple as editing md.vax or if any other changes are
necessary.

If it is a simple change and someone could help me with this, I'd be
happy to test
any changes, if needed.

Regards,

S. Rudzio

2016-02-18 6:07 GMT+01:00 Andrew Fresh <[hidden email]>:

> On Thu, Feb 18, 2016 at 02:20:38AM +0100, Juan Francisco Cantero Hurtado wrote:
>> On Wed, Feb 17, 2016 at 10:01:16PM +0100, Sigi Rudzio wrote:
>> > 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.
>
> This should match what OpenBSD/MkTemp has, so I agree with this change
> being correct.  Should remove Pledge.so and add Pledge.a and
> extralibs.ld.
>
> OK afresh1@
> (I can commit if nobody else sees this, let me know if I need to)
>
> l8rZ,
>
> --
> andrew - http://afresh1.com
>
> Beta. Software undergoes beta testing shortly before it's released.
>                            Beta is Latin for "still doesn't work."

Loading...