What | Removed | Added |
---|---|---|
Status | NEW | CONFIRMED |
CC | stefan.bruens@rwth-aachen.de |
More specifically, the file is truncated after 4096 bytes. The bug is due to a race in the makefile. usb_modeswitch_dispatcher is created during the %build step. %install calls "make install ...", which unfortunately has an explicit dependency to create usb_modeswitch_dispatcher again. As usb_modeswitch_dispatcher was already created during the build stage, the install invocations have all dependencies fulfilled and start copying the files to %{buildroot}. In a parallel build, the install of usb_modeswitch_dispatcher and the creation will run concurrently and lead to a truncated file. make is not able to track the dependencies as the Makefile mixes symbolic target names and artifacts as dependencies. The problem can be solved by using "make install-common" as install target. This installs the same files, but avoids creating usb_modeswitch_dispatcher again during the %install stage. SR pending: https://build.opensuse.org/request/show/427324