Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1627747

Re: [GIT PULL 00/28] perf/core fixes and cleanups

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [GIT PULL 00/28] perf/core fixes and cleanups
Date 2017-04-20 21:00 +0200
Message-ID <typt7-45C-9@gated-at.bofh.it> (permalink)
References (1 earlier) <tyftL-6wC-9@gated-at.bofh.it> <tyirE-8jz-5@gated-at.bofh.it> <tyiBj-8mU-3@gated-at.bofh.it> <tynUm-3h3-25@gated-at.bofh.it> <typ9M-3Yq-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Thu, Apr 20, 2017 at 03:29:54PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Thu, Apr 20, 2017 at 02:10:58PM -0300, Arnaldo Carvalho de Melo escreveu:
> > Em Thu, Apr 20, 2017 at 01:29:26PM +0200, Ingo Molnar escreveu:
> > > * Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> > > > Em Thu, Apr 20, 2017 at 10:10:49AM +0200, Ingo Molnar escreveu:
> > > > > * Arnaldo Carvalho de Melo <acme@kernel.org> wrote:
> > > > > Pulled, thanks a lot Arnaldo!
> > > > > 
> > > > > > For this specific pull request the samples/bpf/ was disabled, as 'make headers_install'
> > > > > > is failing with the following error, in this case in fedora:rawhide:
> > > > > >   
> > > > > >     INSTALL usr/include/uapi/ (0 file)
> > > > > >   /git/linux/scripts/Makefile.headersinst:62: *** Missing generated UAPI file 
> > > > > ./arch/x86/include/generated/uapi/asm/unistd_32.h.  Stop.
> > > > > >   make[1]: *** [/git/linux/Makefile:1151: headers_install] Error 2
> > > > > >   make[1]: Leaving directory '/tmp/build/linux'
> > > > > >   make: *** [Makefile:152: sub-make] Error 2
> > > > > >   make: Leaving directory '/git/linux'
> > > > > 
> > > > > Beyond this build fix,
> > > > 
> > > > I haven't checked this lately, will do, hopefully this was already taken
> > > > care of by someone dealing with the headers_install code.
> > > 
> > > Ah, sorry, I thought it's a problem introduced by perf - if it's an existing 
> > > upstream bug then never mind!
> > 
> > 
> > Now if I try outside the container, on a fedora:25 system, same result:
> > 
> > [acme@jouet linux]$ rm -rf /tmp/build/linux
> > [acme@jouet linux]$ mkdir /tmp/build/linux
> > [acme@jouet linux]$ make O=/tmp/build/linux allmodconfig 

<SNIP>

> > /home/acme/git/linux/scripts/Makefile.headersinst:62: *** Missing generated UAPI file ./arch/x86/include/generated/uapi/asm/unistd_64.h.  Stop.
> > /home/acme/git/linux/Makefile:1149: recipe for target 'headers_install' failed
> > make[1]: *** [headers_install] Error 2
> > make[1]: Leaving directory '/tmp/build/linux'
> > Makefile:152: recipe for target 'sub-make' failed
> > make: *** [sub-make] Error 2
> > [acme@jouet linux]$ 
> > 
> > Trying to investigate this further now... Perhaps I'm missing something
> > :-\
> 
> So, it seems that headers_install needs to have as a dependency the
> target that generates those headers (/generated/), as it works if I
> actually start building the kernel and then do the headers_install
> step.
 
> that or allmodconfig is broken, probably the former, checking...

Well, I tried using 'make defconfig' instead of 'make allmodconfig' and
things are back working...

Now debian:experimental is again building all the tests.

Will use that and reenable building samples/bpf/ in all the recent
enough distro containers.

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[GIT PULL 00/28] perf/core fixes and cleanups Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  [PATCH 12/28] perf tools: Replace STR() calls with __stringify() Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  [PATCH 10/28] perf tools: Including missing inttypes.h header Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  [PATCH 23/28] perf tools: No need to include bitops.h in util.h Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  [PATCH 09/28] perf tools: Remove unused macros from util.h Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  [PATCH 22/28] perf tools: Move path related functions to util/path.h Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  [PATCH 11/28] perf tools: Remove PRI[xu] macros from perf.h Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-19 18:30 +0200
  Re: [GIT PULL 00/28] perf/core fixes and cleanups Ingo Molnar <mingo@kernel.org> - 2017-04-20 10:20 +0200
    Re: [GIT PULL 00/28] perf/core fixes and cleanups Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-20 13:30 +0200
      Re: [GIT PULL 00/28] perf/core fixes and cleanups Ingo Molnar <mingo@kernel.org> - 2017-04-20 13:40 +0200
        Re: [GIT PULL 00/28] perf/core fixes and cleanups Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-20 19:20 +0200
          Re: [GIT PULL 00/28] perf/core fixes and cleanups Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-20 20:40 +0200
            Re: [GIT PULL 00/28] perf/core fixes and cleanups Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-04-20 21:00 +0200

csiph-web