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

Parallel build issue of usb_modeswitch

Post by FabriceFontaine » 24 Nov 2018, 15:17

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: 6570
Joined: 03 Nov 2007, 00:30

Re: Parallel build issue of usb_modeswitch

Post by Josh » 29 Nov 2018, 00:10

I'll have a look, thanks!

Post Reply