http://bugzilla.opensuse.org/show_bug.cgi?id=998641
http://bugzilla.opensuse.org/show_bug.cgi?id=998641#c1
Stefan Brüns changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |CONFIRMED
CC| |stefan.bruens@rwth-aachen.d
| |e
--- Comment #1 from Stefan Brüns ---
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
--
You are receiving this mail because:
You are on the CC list for the bug.