<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body dir="auto">
Could you please submit a patch for this so that it is fixed for the next user, and for your future builds. Please see <a href="https://wiki.hpdd.intel.com/display/PUB/Using+Gerrit">https://wiki.hpdd.intel.com/display/PUB/Using+Gerrit</a> for details. <br>
<br>
<div id="AppleMailSignature">Cheers, Andreas</div>
<div><br>
On Dec 26, 2017, at 12:42, Michael Watters <<a href="mailto:wattersm@watters.ws">wattersm@watters.ws</a>> wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<p>In case anybody is curious I was able to build packages after fixing the kernel_module_package rpm macro as follows.</p>
<p>diff -u kmodtool.orig kmodtool<br>
--- kmodtool.orig       2017-12-21 13:04:21.343437273 -0500<br>
+++ kmodtool    2017-12-26 13:34:15.076952532 -0500<br>
@@ -114,7 +114,7 @@<br>
 <br>
 if [ "no" != "$kmp_nobuildreqs" ]<br>
 then<br>
-    echo "BuildRequires: kernel${dashvariant}-devel-%{_target_cpu} = ${verrel}"<br>
+    echo "BuildRequires: kernel${dashvariant}-devel"<br>
 fi<br>
 <br>
 if [ "" != "$kmp_override_preamble" ]<br>
</p>
This macro is located in the /usr/lib/rpm/redhat/kmodtool file.<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/22/2017 07:56 AM, Michael Watters wrote:<br>
</div>
<blockquote type="cite" cite="mid:5472f1c2-a337-af11-c943-0f2aa99b78a8@watters.ws">
<pre wrap="">Has anybody attempted to build lustre client rpms on Fedora 20?  I am
able to compile the lustre v2_9_59_0 branch however the make rpms
command fails with an error as follows.

Processing files: lustre-client-2.9.59-1.fc20.x86_64
error: File not found: /tmp/rpmbuild-lustre-root-nrGADExI/BUILDROOT/lustre-2.9.59-1.x86_64/etc/init.d/lsvcgss

RPM build errors:
    File not found: /tmp/rpmbuild-lustre-root-nrGADExI/BUILDROOT/lustre-2.9.59-1.x86_64/etc/init.d/lsvcgss

Patching the lustre.spec.in file to avoid this error then results in a
different error as shown below.

RPM build errors:
    Installed (but unpackaged) file(s) found:
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client-tests/fs/llog_test.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/fid.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/fld.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/lmv.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/lov.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/lustre.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/mdc.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/mgc.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/obdclass.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/obdecho.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/osc.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/fs/ptlrpc.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/net/ko2iblnd.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/net/ksocklnd.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/net/libcfs.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/net/lnet.ko
   /lib/modules/3.19.8-100.fc20.x86_64/extra/lustre-client/net/lnet_selftest.ko
make: *** [rpms] Error 1

Here are the commands I used to build the packages.

git checkout v2_9_59_0
sh ./autogen.sh 
./configure --disable-server --enable-client --with-linux=/lib/modules/`uname -r`/build
make rpms

Any suggestions on how to fix this?  I know that Fedora 20 is EOL
however I would still like to be able to build a lustre client package
if possible.

</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br>
<pre wrap="">_______________________________________________
lustre-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a>
<a class="moz-txt-link-freetext" href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a>
</pre>
</blockquote>
<br>
</div>
</blockquote>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>lustre-discuss mailing list</span><br>
<span><a href="mailto:lustre-discuss@lists.lustre.org">lustre-discuss@lists.lustre.org</a></span><br>
<span><a href="http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org">http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org</a></span><br>
</div>
</blockquote>
</body>
</html>