EricssonResearch / cerbero

OpenWebRTC cerbero fork
GNU Lesser General Public License v2.1
19 stars 58 forks source link

debian: add shlibdeps parameter to ignore missing info #28

Open justinjoy opened 8 years ago

justinjoy commented 8 years ago

While packaging openwebrtc, sometimes it fails because some of libraries likelibjpeg, libpng16, libcairo are not provide package information. The parameter,--dpkg-shlibdeps-params=--ignore-missing-info, helps make packages.

justinjoy commented 8 years ago

I am not sure whether this is right approach, but I can still meet the problem, "dpkg-shlibdeps: error: no dependency information found for /opt/openwebrtc-0.3/lib/libjpeg.so.8". even with libpng16, libcario, etc. It looks like that the error occurs randomly.

This patch works for me, but if there's solution, please share with me. Thanks.

superdump commented 8 years ago

I also found that workaround (which basically just disables the error) but wanted to find the time to fix it properly rather than committing that. I'll leave this here for people who need a workaround, but otherwise I'd prefer to fix the issue properly when someone gets time to. Thanks for the pull request!

superdump commented 8 years ago

@sdroege - how would you fix this?

sdroege commented 8 years ago

We should generate the info for those libraries, and should be doing that already (upstream cerbero does!). What might be a problem here is that the packages that use these libraries don't have a dependency on the package(s) that provides these libraries.