Bugzilla – Bug 1020147
mtr sometimes fails to build/install
Last modified: 2018-01-31 23:49:35 UTC
Created attachment 710204 [details] build log Steps To Reproduce: on a 8-core VM do osc co openSUSE:Factory/mtr && cd $_ osc build --nopreinstallimage --disable-debuginfo --clean mtr.spec Actual Results: ... [ 33s] + make DESTDIR=/home/abuild/rpmbuild/BUILDROOT/mtr-0.87-0.x86_64 install -j8 [ 33s] make: *** No rule to make target 'install'. Stop. Reproducible: Sometimes --clean is optional
minimal reproducer is osc build --disable-debuginfo and with just osc build it can get a bit further and fail with error: File not found by glob: /home/abuild/rpmbuild/BUILDROOT/mtr-0.87-0.x86_64/usr/share/man/man8/mtr.8*
Hello Bernhard, Thank you for your bugreport. This issue was already described in the Fedora mtr package [1]: <cite [1]> Note that make doesn't wait for this background task to finish. During rpm build we are building mtr twice. After first build we call distclean. If second invocation of configure script runs in less than 3 seconds then the Makefile generated by configure will be overwritten by background copy. We don't want that and since we are calling configure explicitly we don't really need this "feature" at all. </cite> --- The patch was submitted to openSUSE:Factory by request #487854. Closing as fixed. [1] http://pkgs.fedoraproject.org/cgit/rpms/mtr.git/commit/?id=9dd4325251e1c28064f4bf5b84ae2f95e3118200
This is an autogenerated message for OBS integration: This bug (1020147) was mentioned in https://build.opensuse.org/request/show/569849 Backports:SLE-12 / mtr
openSUSE-RU-2018:0314-1: An update that has two recommended fixes can now be installed. Category: recommended (moderate) Bug References: 1020147,1067511 CVE References: Sources used: SUSE Package Hub for SUSE Linux Enterprise 12 (src): mtr-0.92-5.1