Re: Daily packages for NetBSD/amd64 current

2020-07-30 Thread Chavdar Ivanov
On Thu, 30 Jul 2020 at 08:53, Jonathan Perkin  wrote:
>
> * On 2020-07-30 at 05:10 BST, Thomas Mueller wrote:
>
> > > I was going to choose 9.0, but I saw that mef@ was already producing
> > > regular bulk builds on that for pkgsrc-current available here:
> >
> > >   https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/
> >
> > > so went with NetBSD-current instead, though it's quite unreliable so I
> > > may revisit that choice if every bulk build requires manual
> > > intervention and restarts.
> >
> > > Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
> >
> > What is "quite unreliable"?  Do you mean the NetBSD-current base
> > system, or do you mean the ABI that might not hold still, thereby
> > breaking packages following a base-system upgrade?
>
> NetBSD-current.  This shouldn't preclude you or anyone else using it,
> the problems I'm running into are primarily limited to a bulk build
> environment, but does mean that it's quite annoying for those who are
> doing so.

I second that. On my main build host I constantly go through the
cadence of roughly daily -current updates and weekly pkgsrc -current
updates (followed by pkg_rolling-replace); I also run -current on all
machines, bare-metal or virtual, which I use daily; while the system
itself rarely causes problems, the pkgsrc interaction with -current
changes is bound to cause breaks in bulk builds, bits will have to be
sorted out manually from time to time. Setting up such a bulk build
host will no doubt reveal such problems earlier.

>
> --
> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com

Chavdar




-- 



Re: Daily packages for NetBSD/amd64 current

2020-07-30 Thread Jonathan Perkin
* On 2020-07-30 at 05:10 BST, Thomas Mueller wrote:

> > I was going to choose 9.0, but I saw that mef@ was already producing
> > regular bulk builds on that for pkgsrc-current available here:
> 
> >   https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/
> 
> > so went with NetBSD-current instead, though it's quite unreliable so I
> > may revisit that choice if every bulk build requires manual
> > intervention and restarts.
> 
> > Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com
>
> What is "quite unreliable"?  Do you mean the NetBSD-current base
> system, or do you mean the ABI that might not hold still, thereby
> breaking packages following a base-system upgrade?

NetBSD-current.  This shouldn't preclude you or anyone else using it,
the problems I'm running into are primarily limited to a bulk build
environment, but does mean that it's quite annoying for those who are
doing so.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Daily packages for NetBSD/amd64 current

2020-07-29 Thread Thomas Mueller
> I was going to choose 9.0, but I saw that mef@ was already producing
> regular bulk builds on that for pkgsrc-current available here:

>   https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/

> so went with NetBSD-current instead, though it's quite unreliable so I
> may revisit that choice if every bulk build requires manual
> intervention and restarts.

> Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com

What is "quite unreliable"?  Do you mean the NetBSD-current base system, or do 
you mean the ABI that might not hold still, thereby breaking packages following 
a base-system upgrade?

I need to upgrade my NetBSD 8.99.51 system, lean toward current rather than 
releng 9.

In my situation, I will have to rebuild/reinstall all or nearly all packages, 
even more so if I switch from modular Xorg to native Xorg.

There is also the problem of transition from Python 2.7 to 3.x, which has been 
posing complications not limited to NetBSD.

Tom



Re: Daily packages for NetBSD/amd64 current

2020-07-29 Thread Jonathan Perkin
* On 2020-07-28 at 23:00 BST, J. Lewis Muir wrote:

> On 07/25, Jonathan Perkin wrote:
> > I needed a NetBSD-current system for testing pkgin changes, and
> > figured I may as well also set it up for daily package builds.
> > 
> > So if anybody would like a repository for the latest packages then
> > head over to https://pkgsrc.joyent.com/install-on-netbsd/ to install
> > the bootstrap kit.
> 
> I run a stable branch of NetBSD, so I would ideally wish for packages
> built for NetBSD 9 stable, but I understand that that wasn't what you
> needed.

Hey Lewis,

I was going to choose 9.0, but I saw that mef@ was already producing
regular bulk builds on that for pkgsrc-current available here:

  https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/9.0_current/

so went with NetBSD-current instead, though it's quite unreliable so I
may revisit that choice if every bulk build requires manual
intervention and restarts.

> BTW, the Package Development wiki pages at
> 
>   https://github.com/joyent/pkgsrc/wiki
> 
> need to be updated to include NetBSD.

Yeh I'll get around to this at some point.

Thanks,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Daily packages for NetBSD/amd64 current

2020-07-28 Thread J. Lewis Muir
On 07/25, Jonathan Perkin wrote:
> I needed a NetBSD-current system for testing pkgin changes, and
> figured I may as well also set it up for daily package builds.
> 
> So if anybody would like a repository for the latest packages then
> head over to https://pkgsrc.joyent.com/install-on-netbsd/ to install
> the bootstrap kit.

Hi, Jonathan!

This is great news!  Thank you!

I run a stable branch of NetBSD, so I would ideally wish for packages
built for NetBSD 9 stable, but I understand that that wasn't what you
needed.

I really like it that all your packages are signed; very nice!

I also really like it that the bootstrap kit bundles the certs from
security/mozilla-rootcerts so that HTTPS works out of the box!

Lastly, I like the idea of being able to build my own binary packages
using the same bulk-build setup across all platforms that I need.  (I
also like the idea of using binary packages on all platforms built from
the same bulk-build setup, but that doesn't apply here for me because I
would need packages built for NetBSD 9 stable.)  So, your addition of
support for NetBSD to pkgbuild is *highly appreciated* as NetBSD was the
last platform that I needed that wasn't supported by pkgbuild!

BTW, the Package Development wiki pages at

  https://github.com/joyent/pkgsrc/wiki

need to be updated to include NetBSD.

Thanks again for this contribution!  Great work!

Lewis


Re: Daily packages for NetBSD/amd64 current

2020-07-26 Thread Jonathan Perkin
Hi Reinoud,

* On 2020-07-26 at 15:26 BST, Reinoud Zandijk wrote:

> On Sat, Jul 25, 2020 at 10:52:48PM +0100, Jonathan Perkin wrote:
> > I needed a NetBSD-current system for testing pkgin changes, and figured I
> > may as well also set it up for daily package builds.
> > 
> > So if anybody would like a repository for the latest packages then head over
> > to https://pkgsrc.joyent.com/install-on-netbsd/ to install the bootstrap
> > kit.
> 
> The bootstrap part is a bit confusing to me; why don't you just provide a
> directory suitable for pkgin's /usr/pkg/etc/pkgin/repositories.conf? Is that
> to explicitly allow the signed packages only?

Sure, you could perform all the steps manually by yourself instead:

 * Set PKG_PATH to the repo and install the pkgin package.

 * Fetch the PGP key from https://pkgsrc.joyent.com/pgp/ and import
   it.

 * Configure pkgin and pkg_install.conf to use the repo, and configure
   pkg_install.conf with your preferred VERIFIED_INSTALLATION setting.

 * Install the mozilla-rootcerts package and run the install script.

The point of the bootstrap kit is to just do all this for you, but the
end result is the same, so choose the easy way or the harder way I
guess ;)

Cheers,

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Re: Daily packages for NetBSD/amd64 current

2020-07-26 Thread Reinoud Zandijk
Hi Jonathan,

On Sat, Jul 25, 2020 at 10:52:48PM +0100, Jonathan Perkin wrote:
> I needed a NetBSD-current system for testing pkgin changes, and figured I
> may as well also set it up for daily package builds.
> 
> So if anybody would like a repository for the latest packages then head over
> to https://pkgsrc.joyent.com/install-on-netbsd/ to install the bootstrap
> kit.

The bootstrap part is a bit confusing to me; why don't you just provide a
directory suitable for pkgin's /usr/pkg/etc/pkgin/repositories.conf? Is that
to explicitly allow the signed packages only?

With regards,
Reinoud