Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 13:54:28 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Thomas Hoffmann <trh411@gmail.com>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: delete-old issue with src.opts.mk
Message-ID:  <A4BF7735-E337-40AB-9ADF-8852D8C2E436@gmail.com>
In-Reply-To: <CAB7-od=9kEWBe6ZVtvQx9WnQYRACe1t76i7YAy479ghYmDKC_Q@mail.gmail.com>
References:  <CAB7-od=9kEWBe6ZVtvQx9WnQYRACe1t76i7YAy479ghYmDKC_Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 10, 2014, at 9:45 AM, Thomas Hoffmann <trh411@gmail.com> wrote:

> The other night I built a new -CURRENT at r265728. At delete-old it =
asked
> me if I wanted to "remove /usr/share/mk/src.opts.mk?" I said yes.
> Subsequently an upgrade attempt for virtualbox-ose-4.3.10_1 failed =
with a
> "missing src.opts.mk <http://src.opt.mk>" error.

I=92ve fixed that.

> Last night I built a new -CURRENT at 265793. At delete-old it asked me =
if I
> wanted to "remove /usr/share/mk/src.opts.mk?"again. I said no. =
Subsequently
> an upgrade for virtualbox-ose-4.3.10_1 succeded.

You should say yes.

> Three questions:
> 1. Why is delete-old repeatedly asking me if I want to remove =
/usr/share/mk/
> src.opts.mk?

It seems to keep getting installed. It shouldn=92t be now that I=92ve =
got things ironed out.

> 2. Why is delete-old asking me if I want to remove something that is
> required to build ports, well at least one port? I did not try to =
build any
> other ports, so maybe it was just a virtualbox-ose issue?

It isn=92t required to build ports. Well, it was for a couple of days =
due to a bug, but I=92ve fixed that bug.

> 3. Should I keep src.opts.mk at delete-old or remove it?

Remove it. It should ask you at most one more time.

> I saw some discussion about src.opts.mk, but it centered around the =
use of
> WITHOUT_NIS, which is not my issue.

Yea. I understand. The WITHOUT_NIS was a different, and subtle, bug that =
I fixed as well.

My advise: update to the tip of head, buildworld, install world, =
delete-old (making sure you say =91yes=92) and then try virtualbox-ose =
build again. It should just work. If it doesn=92t then send in a bug =
report since I missed something when I fixed nvidia and cuse builds.

Thanks for the report. I hope I can get this all ironed out for you. I =
think I have already, but the build system is rather fragile, I=92m =
coming to discover, and used in several non-obvious use cases that seem =
obvious after the bug report comes in=85 Sorry these slipped through the =
cracks in my testing...

Warner=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A4BF7735-E337-40AB-9ADF-8852D8C2E436>