svn commit: r491179 - head/devel/re2

Matthias Fechner idefix at fechner.net
Sat Feb 9 17:49:44 UTC 2019


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,
the 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ß
Matthias

-- 

"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



More information about the svn-ports-all mailing list