Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669258 - dev-libs/protobuf-3.6.1: /usr/bin/protoc fails with std::system_error
Summary: dev-libs/protobuf-3.6.1: /usr/bin/protoc fails with std::system_error
Status: RESOLVED DUPLICATE of bug 669194
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-21 23:02 UTC by ge1ger
Modified: 2018-12-09 01:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***