Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2019 04:02:01 +0800
From:      Po-Chuan Hsieh <sunpoet@freebsd.org>
To:        Matthias Fechner <idefix@fechner.net>
Cc:        Mathieu Arnold <mat@freebsd.org>, ports-committers@freebsd.org,  svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r491179 - head/devel/re2
Message-ID:  <CAMHz58RWA1Tw=_f36HCaa13fc4X4nCnbnjoRE6=FGeA6_DhU0g@mail.gmail.com>
In-Reply-To: <6aa466df-b6a0-dcbc-9d38-8110e41f6d8c@fechner.net>
References:  <201901251958.x0PJwOoi084258@repo.freebsd.org> <2882bfea-dc5b-cc4a-c421-4d3fba926b23@fechner.net> <20190209140650.vdyxr5cnoorbehrz@atuin.in.mat.cc> <6aa466df-b6a0-dcbc-9d38-8110e41f6d8c@fechner.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 10, 2019 at 1:49 AM Matthias Fechner <idefix@fechner.net> wrote=
:

> Am 09.02.2019 um 15:06 schrieb Mathieu Arnold:
>
> On Sat, Feb 09, 2019 at 02:36:41PM +0100, Matthias Fechner wrote:
>
> this upgrade seems to break gitlab-ce.
> I reported this upstream:https://github.com/google/re2/issues/196
>
> The error message that I see with rubygem-re2 is:
> ld-elf.so.1: /usr/local/lib/ruby/gems/2.4/gems/re2-1.1.1/lib/re2.so:
> Undefined symbol "_ZNK3re23RE223NumberOfCapturingGroupsEv"
>
> The symbol is some internal re2 thing:
>
> c++filt _ZNK3re23RE223NumberOfCapturingGroupsEv
> re2::RE2::NumberOfCapturingGroups() const
>
> So, the gem probably needs to get a PORTREVISION bump.
>
>
> I downgraded now devel/re2 and the problem is gone.
>
> Now I upgraded it again (only devel/re2) and tried to reproduce the
> problem (package was installed via pkg from my local poudriere repo).
> It is not clear to me why, but I cannot reproduce the problem anymore, th=
e
> problem was triggere before by a push to one gitlab repo.
>
> I also tried a reboot to make sure that no old version of the lib is in
> memory.
>
> So it has magically fixed itself and I'm not very happy about it.
> So I'm not sure if a bump of rubygem-re2 is required.
>
> Let's wait if we get a PR ;)
>
> Gru=C3=9F
> Matthias
>
> I did not get similar problem in poudriere, probably because automatic
rebuild by poudriere when dependency changes.
But you did not rebuild rubygem-re2, right?

BTW, you might want to use LIB_DEPENDS=3Dlibre2.so:devel/re2 instead of
{BUILD,RUN}_DEPENDS.

--=20
>
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying to
> produce bigger and better idiots. So far, the universe is winning." --
> Rich Cook
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58RWA1Tw=_f36HCaa13fc4X4nCnbnjoRE6=FGeA6_DhU0g>