--
You received this message because you are subscribed to the Google Groups "ros-sig-buildfarm" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ros-sig-buildf...@googlegroups.com.
To post to this group, send email to ros-sig-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/3eb4ef5a-5051-4d9b-a32d-ede7f60f4a4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "ros-sig-buildfarm" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ros-sig-buildfarm/3krZwqqv-N8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ros-sig-buildf...@googlegroups.com.
To post to this group, send email to ros-sig-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/CA%2Bp5Lf8E0Ljc-8gp%3D9BqTiRuMCxinEO80soj82FCtBnyhaQQdA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/CABKcRovAYk9LiKgK4ybZ%2BKyiS4YsoUurWSWVVJp4gLq%3D%3DhHXUA%40mail.gmail.com.
For opencv3, well it simply does not build with ipp32 bit anymore (that is how upstream behaves, but ipp64 is there by default).
I understand there is no standard way of getting the architecture, especially in the way we build things (not cross-compiling).
I'll disable IPP then but I hope there won't be too many libs requiring architecture checks.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/CA%2Bp5Lf_zCv%3DtF6kF%3Dh-dd2vmo57KuwBNJ3Z1O4Ex4XBeCodgAw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/01af5a8a-1782-41da-9843-d588f08b6fe9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/CA%2Bp5Lf_uxhxS6%2BXkvkVhHskOUHtzBZ9Y2to0nv2e3m%2BzBE5Cfw%40mail.gmail.com.
Looking through the code paths I found two places that appeared to detect the arch in the buildsystem.andHowever from my testing in docker they appear to not return 64bit in the 32bit chroot. https://gist.github.com/tfoote/c27e5ce15c0c39cc13e735f6cb78eed2You'll probably need to find out how it's autodetection logic is working and either spoof the input or improve the logic.
The other thing I've noticed is that the build appears to be downloading a bunch of things using git during the build process. This is problematic as it means the builds are reliant on external services to successfully build. And in emulated arm environments git not infrequently hangs: http://build.ros.org/view/Ibin_uT32/job/Ibin_arm_uThf__parrot_arsdk__ubuntu_trusty_armhf__binary/11/console
I'd recommend inserting any resources you need to fetch into the release repository instead of downloading them during the build process.
Looking through the code paths I found two places that appeared to detect the arch in the buildsystem.andHowever from my testing in docker they appear to not return 64bit in the 32bit chroot. https://gist.github.com/tfoote/c27e5ce15c0c39cc13e735f6cb78eed2You'll probably need to find out how it's autodetection logic is working and either spoof the input or improve the logic.
Thank you very much Tully. The information you've provided will give me a great starting point for debugging.The other thing I've noticed is that the build appears to be downloading a bunch of things using git during the build process. This is problematic as it means the builds are reliant on external services to successfully build. And in emulated arm environments git not infrequently hangs: http://build.ros.org/view/Ibin_uT32/job/Ibin_arm_uThf__parrot_arsdk__ubuntu_trusty_armhf__binary/11/consoleGood point. That is the next thing on my todo list after fixing the current issue (and thanks for helping me realize the issue with arm failures).I'd recommend inserting any resources you need to fetch into the release repository instead of downloading them during the build process.How can I add the external source packages to the release repository systematically? My current solution for this problem is to manually create a snapshot of all upstream packages in the source repo, modify the catkin build steps accordingly and then use bloom to push it to the release repo. Is there anyway to fetch the upstream packages as part of the build process of the source repo (similar to what it is done now), yet have all the fetched packages pushed to the release repository?
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/63118d26-1c6a-4691-9966-044bbef0afec%40googlegroups.com.
The best solution would be to release the 3rdparty packages on their own and then add a dependency on them.
Pending that you can add overlay files in a directory like this: https://github.com/ros-gbp/opencv3-release/tree/master/kinetic if you reference it in the track like: https://github.com/ros-gbp/opencv3-release/blob/master/tracks.yaml#L58 There is documentation here:http://wiki.ros.org/bloom/Tutorials/ReleaseThirdParty on how to do these things. This is the standard use case of adding a package.xml like opencv3. but you can add more resources there which will allow you to avoid downloading them at build time.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/CA%2Bp5Lf_uxhxS6%2BXkvkVhHskOUHtzBZ9Y2to0nv2e3m%2BzBE5Cfw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ros-sig-buildfarm/CANzWoOOi8jns_q_po8dBrB0Ccp7p15oYdKw%2BagxTJZVo1ja%2BpA%40mail.gmail.com.