Bug 1020147 - mtr sometimes fails to build/install
Summary: mtr sometimes fails to build/install
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Development (show other bugs)
Version: Current
Hardware: Other openSUSE 13.2
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Kristyna Streitova
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-16 12:57 UTC by Bernhard Wiedemann
Modified: 2018-01-31 23:49 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
build log (85.88 KB, text/plain)
2017-01-16 12:57 UTC, Bernhard Wiedemann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2017-01-16 12:57:11 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
Comment 1 Bernhard Wiedemann 2017-01-16 13:01:26 UTC
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*
Comment 2 Kristyna Streitova 2017-04-13 16:10:36 UTC
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
Comment 3 Swamp Workflow Management 2018-01-26 12:50:06 UTC
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
Comment 4 Swamp Workflow Management 2018-01-31 17:09:14 UTC
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