rvolosatovs / docker-protobuf

An all-inclusive protoc Docker image

Home Page:https://hub.docker.com/r/rvolosatovs/protoc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`protoc-gen-swift`of v3.1.26 splits `no version information available` error

xissy opened this issue · comments

Summary

protoc-gen-swiftof v3.1.26 splits no version information available error messages.
...

Steps to Reproduce

  1. $ docker run --rm -it --name protoc --entrypoint /bin/sh thethingsindustries/protoc:3.1.26
  2. $ protoc-gen-swift

What do you see now?

/ # protoc-gen-swift
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libswiftCore.so)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libicuucswift.so.61)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libicuucswift.so.61)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libicui18nswift.so.61)
protoc-gen-swift: /usr/lib/libstdc++.so.6: no version information available (required by /protoc-gen-swift/libicui18nswift.so.61)

What do you want to see instead?

No error messages.

Environment

MacOS 10.15.5, Docker 2.3.0.3

How do you propose to implement this?

Can you do this yourself and submit a Pull Request?

I suppose this is caused by #54
Is this purely cosmetic issue, or is the plugin itself broken as well?

@rvolosatovs any update? same thing to me.

@tenpaiyomi do you have any clue what could be going wrong?

Generally the noted shared objects are looking for version information from the requested file. In this case, seems like the Swift libs are trying to get version information from the libstdc++.so lib. Normally this is just a superficial thing and won't actually cause any errors, but can be resolved.

First off, is it possible to get the output of ldconfig -p from within the running container?

Probably closed by #76
Please reopen if this is still relevant