Re: poudirere behave-alike for

2013-11-26 Thread Baptiste Daroussin
On Mon, Nov 25, 2013 at 02:15:59AM +0100, Christopher J. Ruwe wrote:
> I think my question is slightly off-topic, but I think freebsd-ports@
> may be the best of many not so good fits:
> 
> I need to build packages for Solaris and SmartOS. My first choice
> would be ports, which unfortunately are not very well suited to
> cross-building. Instead I use, as many people, pkgsrc.
> 
> I would like to leverage pkgsrc with something like poudriere,
> especially as I have ZFS and zones in Solaris/SmartOS. I found in a
> message on the DragonFlyBSD list
> http://leaf.dragonflybsd.org/mailarchive/users/2013-01/msg8.html
> a mention of poudriere being used on DragonFly/pkgsrc.
> 
> Does anybody know of the state of this piece of software? The git
> repos I can find on google are stale links. As etoilebsd is
> referenced in the mail from DragonFly, I chose to ask here first.
> 
> To all of you, have a nice week, cheers,

As the creator of poudriere I would be more that happy to see poudriere ported
to Solaris-based os, on the paper it shouldn't be that hard: you have zfs
already zones that can probably be used the way we use the jails right now or
you can fallback on chroot like dragonfly does, you have tmpfs etc. That's on
the paper.

porting on pkgsrc would also be nice, I have been contacted by a couple of
pkgsrc developper but so far nothing came out.

Just keep in mind, that the main target will always remain FreeBSD but I can
offer a dedicated branch and tell you that there will be convergence. That is
how we do now with dragonfly.

regards,
Bapt


pgpIfvw9jZC8v.pgp
Description: PGP signature


Re: poudirere behave-alike for

2013-11-24 Thread John Marino
On 11/25/2013 02:15, Christopher J. Ruwe wrote:
> I think my question is slightly off-topic, but I think freebsd-ports@
> may be the best of many not so good fits:
> 
> I need to build packages for Solaris and SmartOS. My first choice
> would be ports, which unfortunately are not very well suited to
> cross-building. Instead I use, as many people, pkgsrc.
> 
> I would like to leverage pkgsrc with something like poudriere,
> especially as I have ZFS and zones in Solaris/SmartOS. I found in a
> message on the DragonFlyBSD list
> http://leaf.dragonflybsd.org/mailarchive/users/2013-01/msg8.html
> a mention of poudriere being used on DragonFly/pkgsrc.

I was involved in that referenced email.

The first point to make is that currently ports is *not* an option for
solaris or SmartOS, regardless of its ability to cross compile.

Point #2 is that I want to try to bring ports to the solaris-alike
family in the future (aka sunports), but work on this hasn't started
yet, and adapting solaris will be a lot more work than adapting
DragonFly was (and believe me DF was *A LOT* of work.

Point #3 is that if I were still heavily involved in pkgsrc, I would
probably create a branch of poudriere that supported pkgsrc.  It is
something I would recommend highly to the pkgsrc community.  However, it
suffers greatly from "Not invented Here" syndrome, so most consider
(without proper evaluation) that pkgsrc tools are more or less
equivalent.  The fact is that they are not.

> 
> Does anybody know of the state of this piece of software? The git
> repos I can find on google are stale links. As etoilebsd is
> referenced in the mail from DragonFly, I chose to ask here first.

There is no poudriere-for-pkgsrc.
The current poudriere branches are here:
https://fossil.etoilebsd.net/poudriere/brlist

For pkgsrc your choices are:
http://pkgsrc.se/pkgtools/distbb
http://pkgsrc.se/pkgtools/pbulk

Here's a recent post about setting up pbulk:
http://mail-index.netbsd.org/pkgsrc-users/2013/11/09/msg018881.html

In general its poorly documented and difficult to set up parallel
building.  The script above is yet another attempt to reduce the
complexity but I don't think either pbulk or distcc have nearly the
polish or features that poudriere has.  But take that with a grain of
salt because I haven't used either in a long time.

One more thing: SmartOS not only uses pkgsrc officially, they have a
full builder farm that makes a full set of packages quarterly packages
available.  It also works on other illumos platforms.  The best approach
is just use their work.

Another tutorial how to set up bulk build:
http://www.perkin.org.uk/posts/distributed-chrooted-pkgsrc-bulk-builds.html

info about packages already built:
http://www.perkin.org.uk/posts/whats-new-in-pkgsrc-2013Q2.html

You might want to check out the reset of www.perkin.org.uk for
interesting posts.

John
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudirere behave-alike for

2013-11-24 Thread Shane Ambler
On 25/11/2013 11:45, Christopher J. Ruwe wrote:
> I think my question is slightly off-topic, but I think freebsd-ports@
> may be the best of many not so good fits:
> 
> I need to build packages for Solaris and SmartOS. My first choice
> would be ports, which unfortunately are not very well suited to
> cross-building. Instead I use, as many people, pkgsrc.
> 
> I would like to leverage pkgsrc with something like poudriere,
> especially as I have ZFS and zones in Solaris/SmartOS. I found in a
> message on the DragonFlyBSD list
> http://leaf.dragonflybsd.org/mailarchive/users/2013-01/msg8.html
> a mention of poudriere being used on DragonFly/pkgsrc.
> 
> Does anybody know of the state of this piece of software? The git
> repos I can find on google are stale links. As etoilebsd is
> referenced in the mail from DragonFly, I chose to ask here first.

The freebsd ports tree at
http://svnweb.freebsd.org/ports/head/ports-mgmt/poudriere/
shows poudriere source is downloaded from
http://fossil.etoilebsd.net/poudriere/tarball/

I think the best place to start would be the DPorts as it mentions they
needed to patch it to work on Dragonfly - those patches will highlight
the changes you need to make so should be the best start.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


poudirere behave-alike for

2013-11-24 Thread Christopher J. Ruwe
I think my question is slightly off-topic, but I think freebsd-ports@
may be the best of many not so good fits:

I need to build packages for Solaris and SmartOS. My first choice
would be ports, which unfortunately are not very well suited to
cross-building. Instead I use, as many people, pkgsrc.

I would like to leverage pkgsrc with something like poudriere,
especially as I have ZFS and zones in Solaris/SmartOS. I found in a
message on the DragonFlyBSD list
http://leaf.dragonflybsd.org/mailarchive/users/2013-01/msg8.html
a mention of poudriere being used on DragonFly/pkgsrc.

Does anybody know of the state of this piece of software? The git
repos I can find on google are stale links. As etoilebsd is
referenced in the mail from DragonFly, I chose to ask here first.

To all of you, have a nice week, cheers,
-- 
Christopher 
TZ: GMT + 1h
GnuPG/GPG:  0xE8DE2C14
 
FreeBSD 9.2-STABLE #1 r256184: Thu Oct 10 19:12:54 CEST 2013
c...@dijkstra.cruwe.de:/usr/obj/usr/home/cjr/media/src/freebsd/base/stable/9/sys/GEN_WDTRACE
 
 
Punctuation matters:
"Lets eat Grandma." or "Lets eat, Grandma." - Punctuation saves lives.
"A panda eats shoots and leaves." or "A panda eats, shoots, and
leaves." - Punctuation teaches proper biology.

"With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead." (RFC 1925)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"