<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Richard,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 12, 2019 at 10:10 PM Li Wang <<a href="mailto:liwang@redhat.com" target="_blank">liwang@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:small"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 12, 2019 at 10:00 PM Richard Palethorpe <<a href="mailto:rpalethorpe@suse.de" target="_blank">rpalethorpe@suse.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
Li Wang <<a href="mailto:liwang@redhat.com" target="_blank">liwang@redhat.com</a>> writes:<br>
<br>
><br>
><br>
> Just to try build it in LTP and hit errors:<br>
><br>
> # cd ltp-new/<br>
> # make autotools<br>
> # ./configure --with-syzkaller-repros<br>
> # make -j32<br>
> ...<br>
> error: pathspec '/root/ltp-new/testcases/linux-arts' did not match any<br>
> file(s) known to git<br>
> make[3]: *** [/root/ltp-new/testcases/kernel/syzkaller-repros/Makefile:26:<br>
> /root/ltp-new/testcases/linux-arts/syzkaller-repros/linux] Error 1<br>
> make[3]: Leaving directory '/root/ltp-new/testcases/kernel/syzkaller-repros'<br>
> make[2]: *** [../../include/mk/generic_trunk_target.inc:93: all] Error 2<br>
> make[2]: Leaving directory '/root/ltp-new/testcases/kernel'<br>
> make[1]: *** [../include/mk/generic_trunk_target.inc:93: all] Error 2<br>
> make[1]: Leaving directory '/root/ltp-new/testcases'<br>
> make: *** [Makefile:108: testcases-all] Error 2<br>
><br>
><br>
<br>
What happens if you try to pull the git submodule manually?<br></blockquote><div><div style="font-size:small"></div><div style="font-size:small"># pwd</div>/root/ltp-new<br><br></div><div><div style="font-size:small"># git submodule update --init testcases/linux-arts</div><div style="font-size:small">error: pathspec 'testcases/linux-arts' did not match any file(s) known to git</div></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
i.e. do git submodule update --init testcases/linux-arts<br>
<br>
It looks like it failed on the line where it gets the submodule, so I am<br>
wondering if you have an old git version?</blockquote><div><br></div><div><div style="font-size:small">Not sure if that related to git-version, I'm trying to look into it.</div></div></div></div></blockquote><div><br></div><div class="gmail_default" style="font-size:small">I have tried many times with different systems but still not working.</div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">My question is did you add the submodule via 'git-submodule add' commands? or just modify the .gitmodules file by hand?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default">i.e: `git submodule add <a href="https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-arts.git" target="_blank">https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-arts.git</a> testcases/linux-arts`</div><div></div></div><div><br></div><div class="gmail_default" style="font-size:small">I don't understand why I can't see the subproject commit-id in your patch. I have to perform git-submodule-add locally again then it could compile for me. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">i.e:</div>diff --git a/testcases/linux-arts b/testcases/linux-arts<br>new file mode 160000<br>index 0000000..07759b8<br>--- /dev/null<br>+++ b/testcases/linux-arts<br>@@ -0,0 +1 @@<br>+Subproject commit 07759b820a9cbf01333d861d8eb2613b20d1ede4<div><br></div><div><div class="gmail_default" style="font-size:small">Or did I missing anything?</div></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div>Regards,<br></div><div>Li Wang<br></div></div></div></div>