From: "Douglas Berry" on
I use portmaster on a build machine to make packages, copying /var/db/ports,
and /usr/local/etc/ports.conf to all clients, and NFS mounting /usr/ports on
the clients.

Following UPDATING to do the perl upgrade on the build machine worked fine.
When I go to any of the clients, it seems portmaster gets confused,
here's a log....

# portmaster -o lang/perl5.12 lang/perl5.10

===>>> Port directory: /usr/ports/lang/perl5.12
===>>> Gathering dependency list for lang/perl5.12 from ports
===>>> No dependencies for lang/perl5.12

===>>> Starting install for lang/perl5.12 <<<===

===>>> All dependencies are up to date

===>>> Checking package repository for latest available version

===>>> The newest available package (perl-5.10.1_2)
is older than the version in ports (perl-5.12.1)

===>>> Try --packages-if-newer, or do not use -PP/--packages-only
===>>> Aborting update

# grep -v ^# /usr/local/etc/portmaster.rc
BACKUP=bopt
DONT_SCRUB_DISTFILES=Dopt
PM_PACKAGES=only
LOCAL_PACKAGEDIR=/usr/ports/packages
PM_PACKAGES_LOCAL=pmp_local
PM_NO_CONFIRM=pm_no_confirm
PM_NO_TERM_TITLE=pm_no_term_title

# find /usr/ports/packages -name perl-\* -ls
2573958 27200 -rw-r--r-- 1 root wheel 13900888 17 Jul 08:03 /usr/ports/packages/portmaster-backup/perl-5.10.1_1.tbz
2573998 27200 -rw-r--r-- 1 root wheel 13902461 16 Jul 18:19 /usr/ports/packages/portmaster-backup/perl-5.10.1_2.tbz
2574000 29792 -rw-r--r-- 1 root wheel 15220998 16 Jul 19:35 /usr/ports/packages/portmaster-backup/perl-5.12.1.tbz
2402870 27200 -rw-r--r-- 1 root wheel 13897854 15 Jul 16:33 /usr/ports/packages/All/perl-5.10.1_2.tbz
2402443 29760 -rw-r--r-- 1 root wheel 15219835 16 Jul 19:37 /usr/ports/packages/All/perl-5.12.1.tbz
2548935 0 lrwxr-xr-x 1 root wheel 24 15 Jul 16:33 /usr/ports/packages/perl5/perl-5.10.1_2.tbz -> ../All/perl-5.10.1_2.tbz
2549028 0 lrwxr-xr-x 1 root wheel 22 16 Jul 19:37 /usr/ports/packages/perl5/perl-5.12.1.tbz -> ../All/perl-5.12.1.tbz
4218386 0 lrwxr-xr-x 1 root wheel 24 15 Jul 16:33 /usr/ports/packages/devel/perl-5.10.1_2.tbz -> ../All/perl-5.10.1_2.tbz
4218288 0 lrwxr-xr-x 1 root wheel 22 16 Jul 19:37 /usr/ports/packages/devel/perl-5.12.1.tbz -> ../All/perl-5.12.1.tbz
2621452 0 lrwxr-xr-x 1 root wheel 24 15 Jul 16:33 /usr/ports/packages/lang/perl-5.10.1_2.tbz -> ../All/perl-5.10.1_2.tbz
2621416 0 lrwxr-xr-x 1 root wheel 22 16 Jul 19:37 /usr/ports/packages/lang/perl-5.12.1.tbz -> ../All/perl-5.12.1.tbz

# grep PERL /etc/make.conf
PERL_VERSION=5.10.1

Has anyone else managed to do this?

Thanks for any help,
doug


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: jhell on
On 07/20/2010 12:45, Douglas Berry wrote:
> I use portmaster on a build machine to make packages, copying /var/db/ports,
> and /usr/local/etc/ports.conf to all clients, and NFS mounting /usr/ports on
> the clients.

Whats in your ports.conf ?

Also as in "I don't use it" I believe ports.conf relies on being pulled
in by make.conf am I correct ? If so then you would also have to include
your make.conf on every host you expected that to work on right ?

--

jhell,v

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: Doug Barton on
On Tue, 20 Jul 2010, Douglas Berry wrote:

> I use portmaster on a build machine to make packages, copying /var/db/ports,
> and /usr/local/etc/ports.conf to all clients,

As jhell asked, are you copying the relevant bits of make.conf too?
Also, are you copying your /usr/local/etc/portmaster.rc file? You either
need to do that, or to use --packages-local on the clients. What you
have here should be working if the clients have the right stuff.


hth,

Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover! http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Douglas Berry" on
On Tue, 20 Jul 2010 17:03:49 EDT, jhell wrote:
> Whats in your ports.conf ?

Lots of goop :-) but nothing perl related.

> Also as in "I don't use it" I believe ports.conf relies on being
> pulled in by make.conf am I correct ? If so then you would also have
> to include your make.conf on every host you expected that to work on
> right ?

Yes, you are correct, and indeed, it's rsync'd to each client.

Thanks for the interest,
doug

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Douglas Berry" on
On Tue, 20 Jul 2010 14:14:03 PDT, Doug Barton wrote:

> As jhell asked, are you copying the relevant bits of make.conf too?

Yes, the build machine has PERL_VERSION=5.12.1 in make.conf,
the clients have PERL_VERSION=5.10.1 there. Otherwise they
are the same.

> Also, are you copying your /usr/local/etc/portmaster.rc file?

It's modified, /usr/local/etc/portmaster.rc on the build host...
BACKUP=bopt
MAKE_PACKAGE=gopt
DONT_SCRUB_DISTFILES=Dopt
PM_NO_CONFIRM=pm_no_confirm
and on the client...
BACKUP=bopt
DONT_SCRUB_DISTFILES=Dopt
PM_PACKAGES=only
LOCAL_PACKAGEDIR=/usr/ports/packages
PM_PACKAGES_LOCAL=pmp_local
PM_NO_CONFIRM=pm_no_confirm
PM_NO_TERM_TITLE=pm_no_term_title

Previous invocations of "portmaster -o" for apr and libassuan updates
have worked fine on this setup in the past months.

cheers,
doug


_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"