tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to deal with bulk build's "/var/qmail" problem?

On 5/25/2012 10:14, John Marino wrote:
On 5/25/2012 09:57, Benny Siegert wrote:
On Fri, May 25, 2012 at 8:14 AM, John Marino<> wrote:
They are complaining that "/var/qmail" already exists and that it
needs to
be deleted before continuing. One package is creating that directory
and it
never gets removed afterward, so the following packages that are
to it fail.

I assume I'm not the first person to have noticed this. How do you deal
with it to get those following packages building too?

The way pbulk does it is by clearing /usr/pkg and unpacking a
bootstrap tarball before _each_ package is built.


Okay, I checked the bootstrap. It's only dealing with /usr/pkg as you
said. The problem is with /var/qmail, not /usr/pkg/var/qmail, so the
bootstrap isn't coming into play here.


I'm looking at the script libexec/client-clean, and right before the tarball extraction is the line:
rm  -rf ${cur_destdir}${varbase}/qmail 2> /dev/null || true.

So it's trying to clear that, but one of the variables must have the wrong value.


Home | Main Index | Thread Index | Old Index