dwarves.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrii Nakryiko <andrii.nakryiko@gmail.com>
To: Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com>
Cc: Joseph Qi <joseph.qi@linux.alibaba.com>, dwarves@vger.kernel.org
Subject: Re: [PATCH] pahole: correct libbpf git url
Date: Fri, 6 Aug 2021 14:11:50 -0700	[thread overview]
Message-ID: <CAEf4BzaNV7bkdDoO4HhcwRO+aY5M=9xxwsTWabUDjt-HzXRVMg@mail.gmail.com> (raw)
In-Reply-To: <YQ2Chd/j62NCY2NX@kernel.org>

On Fri, Aug 6, 2021 at 11:42 AM Arnaldo Carvalho de Melo
<arnaldo.melo@gmail.com> wrote:
>
> Em Fri, Aug 06, 2021 at 06:12:43PM +0800, Joseph Qi escreveu:
> > Otherwise it will encounter the following error:
> > fatal: unable to access 'https://github.com/libbpf/libbpf/': Encountered end of file
> > fatal: clone of 'https://github.com/libbpf/libbpf' into submodule path '/home/workspace/pahole/lib/bpf' failed
> >
> > Also update README to add step 'make'.
>
> You forgot to add Andrii, the author of the patch you're fixing, to the
> CC list, please do it next time.

Heh, thanks! Don't worry, I'm subscribed to dwarves@vger, so I saw this anyways.

>
> - Arnaldo
>
> > Fixes: 21507cd3e97b ("pahole: add libbpf as submodule under lib/bpf")
> > Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
> > ---
> >  .gitmodules | 2 +-
> >  README      | 3 ++-
> >  2 files changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/.gitmodules b/.gitmodules
> > index 6be99dc..8be5eb6 100644
> > --- a/.gitmodules
> > +++ b/.gitmodules
> > @@ -1,3 +1,3 @@
> >  [submodule "lib/bpf"]
> >       path = lib/bpf
> > -     url = https://github.com/libbpf/libbpf
> > +     url = https://github.com/libbpf/libbpf.git

This doesn't hurt, but as Arnaldo pointed out, it seems to work just
fine as is. Not sure how you ran into this problem... And why did it
append the final '/' (still don't know if that's the reason)?

> > diff --git a/README b/README
> > index c9f1737..07f5876 100644
> > --- a/README
> > +++ b/README
> > @@ -4,7 +4,8 @@ Build instructions:
> >  2. mkdir build
> >  3. cd build
> >  4. cmake -D__LIB=lib ..
> > -5. make install
> > +5. make
> > +6. make install

Doesn't make install imply the build as well?


> >
> >  cmake Options:
> >    -DBUILD_SHARED_LIBS
> > --
> > 1.8.3.1
> >
>
> --
>
> - Arnaldo

  parent reply	other threads:[~2021-08-06 21:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-06 10:12 [PATCH] pahole: correct libbpf git url Joseph Qi
2021-08-06 18:42 ` Arnaldo Carvalho de Melo
2021-08-06 18:45   ` Arnaldo Carvalho de Melo
2021-08-06 21:11   ` Andrii Nakryiko [this message]
2021-08-08 11:37     ` Joseph Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAEf4BzaNV7bkdDoO4HhcwRO+aY5M=9xxwsTWabUDjt-HzXRVMg@mail.gmail.com' \
    --to=andrii.nakryiko@gmail.com \
    --cc=arnaldo.melo@gmail.com \
    --cc=dwarves@vger.kernel.org \
    --cc=joseph.qi@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).