-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.deb generation fails for Xenial, works in Bionic ("dpkg-shlibdeps can't find libs building non-catkin pkg") #543
Comments
You can use this library to generate a script which will run commands on your local machine just as our Jenkins jobs do.
|
There shouldn't be a need to use the latest master branch. The latest release 2.0.1 installed from e.g. Debian packages should be sufficient. The steps to run the release job locally are also described in the docs. |
👍 thanks a lot! Now I could reproduce the error locally... that's good enough to allow further investigation. |
Despite I could reproduce the error, it seems I can't make much progress due to my lack of docker or ros_buildfarm know-how... This is how I've tried (unsuccessfully) to debug this issue:
I can browse around and I can see many files in the Am I doing something wrong with docker? Or is there something else to change in the |
I just took a brief look. The specified branch in the tracks of the release repo of mrpt1 is |
Correct! What are the implications of this mismatch? AFAIK, it would make Jenkins to try to build the incorrect branch for the "dev" builds, right? Anyway, that wouldn't affect the builds for releases, which have an explicit Anyway, what's the recommended way to fix it? Manual editing, gloom,...? PS: Just found the reason I left it to "empty" (null). Bloom docs say:
and since version was set to PS2: Will continue trying to figuring out what's going on inside the docker container... |
Good news: I nailed down the error. It's related to the use of MultiArch path postfixes.
fails, but if the search path is changed to include the multiarch part, it works: However, something like the original command line seems to work for opencv3 (log). Thanks again for the help debugging this! |
For the records (this should explain why it builds in Bionic):
debhelper versions:
|
Fixed via mrpt-ros-pkg-release/mrpt1-release@17361d7 The problem was not related with ros_buildfarm, but with different behavior of different versions of debhelper. Thanks for the support! |
Hi guys,
Not sure if this is actually a bug of the buildfarm code, bloom, or something else, but after many days trying to debug it, I think I nailed it down to something wrong in the docker containers used in the buildfarm for some distros, so I'll share my findings in the hope someone can give me a hand.
Instead of repeating here the entire situation that leads to this error, let me link to my former posts in ROS answers:
The latest finding is that exactly the same upstream sources, released for melodic, build as a charm for Artful and Bionic; example log:
(this command is run without errors in this case!!)
So, in summary:
dpkg-buildpackage
using exactly the same .dsc that is built inside the build farm: works (!), whereas it fails inside the buildfarm. Grep forerror:
in this log for example.I hope someone can give me some ideas on how to exactly setup a docker image with the same contents as inside the build farm so we can debug what's wrong with the case (2) above.
Obviously, my motivation is that the error prevent the package to be released for kinetic, whereas it'll be released for melodic without problems.
The text was updated successfully, but these errors were encountered: