Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 669258

Summary: dev-libs/protobuf-3.6.1: /usr/bin/protoc fails with std::system_error
Product: Gentoo Linux Reporter: ge1ger
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: paolo.pedroni
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ge1ger 2018-10-21 23:02:14 UTC
On October 19th, dev-libs/protobuf-3.6.1 became stable. I updated my system and some packages fail to build because /usr/bin/protoc outputs the following error when it's ran:

terminate called after throwing an instance of 'std::system_error'
  what():  Unknown error -1

There's a bug report here: https://github.com/protocolbuffers/protobuf/issues/4958

I temporarily solved my problem by downgrading to dev-libs/protobuf-3.5.2
Comment 1 ge1ger 2018-10-21 23:11:35 UTC
Steps to reproduce:

1. emerge dev-libs/protobuf-3.6.1
2. Run protoc
Comment 2 ge1ger 2018-10-21 23:32:19 UTC
Found the problem.

protoc won't run if it's built with ld.gold. It works fine with ld.bfd

another bug report: https://github.com/protocolbuffers/protobuf/issues/5107
Comment 3 Arfrever Frehtes Taifersar Arahesis 2018-10-22 18:03:38 UTC
Please show 'emerge --info'.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2018-12-09 01:40:29 UTC

*** This bug has been marked as a duplicate of bug 669194 ***