Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jul 2020 06:54:16 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Gordon Bergling <gbe@freebsd.org>
Cc:        =?UTF-8?B?U3RlZmFuIEXDn2Vy?= <se@freebsd.org>,  src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>, David Wolfskill <david@catwhisker.org>
Subject:   Re: svn commit: r363679 - in head: contrib/netbsd-tests/lib/libc/regex/data lib/libc/regex
Message-ID:  <CACNAnaFEK%2Bmm8QcPa4bsen_R2Ft5yb7R7R-xH38918kDjUerqg@mail.gmail.com>
In-Reply-To: <20200730114856.GA21708@lion.0xfce3.net>
References:  <202007292321.06TNLuoq087451@repo.freebsd.org> <270c05f8-c75d-363f-c067-18c4c4773338@freebsd.org> <20200730114856.GA21708@lion.0xfce3.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 30, 2020 at 6:48 AM Gordon Bergling <gbe@freebsd.org> wrote:
>
> On Thu, Jul 30, 2020 at 01:26:46PM +0200, Stefan E=C3=9Fer wrote:
> > Am 30.07.20 um 01:21 schrieb Kyle Evans:
> > [...]
> > >   This change bumps the symbol version of regcomp to FBSD_1.6 and pro=
vides the
> > >   old escape semantics for legacy applications, just in case one has =
an older
> > >   application that would immediately turn into a pumpkin because of a=
n
> > >   extraneous escape that's embedded or otherwise critical to its oper=
ation.
> >
> > I get an error during make buildworld with option WITH_TESTS=3Dyes:
> >
> > =3D=3D=3D> usr.bin/bmake/tests (install)
> > ld-elf.so.1: /usr/src/amd64.amd64/tmp/legacy/usr/sbin/make: Undefined
> > symbol "regcomp@FBSD_1.6"
> >
> > Regards, STefan
>
> I got the same error this morning and was able to solve it by doing a ful=
l
> buildworld without NO_CLEAN=3Dyes.
>
> You may want to try this in case you are using NO_CLEAN=3Dyes.
>

This is interesting; there shouldn't be any NO_CLEAN implications with
this change. There were no dependency changes, libc should definitely
get rebuilt because regcomp.c changed and thus, the libc in your
objdir should have the symbol. The binary referenced above is one that
we symlink into OBJDIR from the host system.

I think it's also likely your problem was just fixed by the second
installworld. The first one will manage to get libc installed, but not
before you get errors from all the other stuff.

Thanks,

Kyle Evans



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaFEK%2Bmm8QcPa4bsen_R2Ft5yb7R7R-xH38918kDjUerqg>