The C Source, Patches and (shudder!) Bugs
Post Reply
FabriceFontaine
Posts: 1
Joined: Sat Nov 24, 2018 3:13 pm

Parallel build issue of usb_modeswitch

Post by FabriceFontaine » Sat Nov 24, 2018 3:17 pm

Dear all,

For your information, we have found an issue on buildroot autobuilders (http://autobuild.buildroot.org/results/ ... b41223efb6).
Build of usb_modeswitch package will sometime fails because of the following issue:
install-static target has two dependencies: dispatcher-static and install-common

Because dispatcher-static is not a file but only a target, it will always be called to build usb_modeswitch_dispatcher.
So, even if install-common depends on usb_modeswitch_dispatcher, in some rare cases, install-static won't be able to install usb_modeswitch_dispatcher because it is being rebuild by dispatcher-static

To fix this issue, parallel build issue has been disabled in buildroot however it would be nice to fix this issue in the Makefile.

Josh
Site Admin
Posts: 6534
Joined: Sat Nov 03, 2007 12:30 am

Re: Parallel build issue of usb_modeswitch

Post by Josh » Thu Nov 29, 2018 12:10 am

I'll have a look, thanks!

Post Reply