Bug 1102911 - ibutils package has bad Makefiles
Summary: ibutils package has bad Makefiles
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Factory
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Nicolas Morey-Chaisemartin
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-27 14:29 UTC by Bernhard Wiedemann
Modified: 2019-05-28 16:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2018-07-27 14:29:28 UTC
When working on reproducible builds for openSUSE, I found that
building the ibutils package with -j1 or -j2
always fails:

openSUSE:Factory/ibutils # osc build --no-service -j1

Actual result:
[   54s] libtool: link: g++ -I/usr/include -I/usr/include/infiniband -I/usr/incl
ude -DOSM_VENDOR_INTF_OPENIB -DOSM_BUILD_OPENIB -D_XOPEN_SOURCE=600 -D_BSD_SOURC
E=1 -O2 -Wall -fno-strict-aliasing -fPIC -DIBIS_VERSION=\"1.5.7\" -fmessage-leng
th=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-stron
g -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -o ib
is ibissh_wrap.o -Wl,-rpath -Wl,/usr/lib64  -L. -libiscom -L/usr/lib64 -lopensm 
-losmvendor -losmcomp -libumad -ltcl8.6 -ldl -lz -lpthread -lm
[   54s] /usr/lib64/gcc/x86_64-suse-linux/8/../../../../x86_64-suse-linux/bin/ld
: cannot find -libiscom


with -j3 and higher it works.
Same behaviour with --vm-type=kvm .

So there is probably some race (because of insufficient dependencies in Makefiles) that only works out when using more parallelism.
Comment 1 Nicolas Morey-Chaisemartin 2018-08-21 19:58:07 UTC
Fix submitted to Factory:
https://build.opensuse.org/request/show/630816
Comment 2 Nicolas Morey-Chaisemartin 2018-08-23 07:18:55 UTC
Fix was accepted in Factory