All of lore.kernel.org
 help / color / mirror / Atom feed
* build failure on ubuntu 16.04 LTS
@ 2017-12-06 10:43 Vincent McIntyre
  2017-12-06 11:14 ` Hans Verkuil
  0 siblings, 1 reply; 3+ messages in thread
From: Vincent McIntyre @ 2017-12-06 10:43 UTC (permalink / raw)
  To: linux-media

Hi,

the build has been broken for over a week for me.
Possibly my checkout is out of date??
I am using the normal build --main-git method.

Setup details:

+ date
Wednesday 6 December  21:25:28 AEDT 2017
+ uname -a
Linux ubuntu 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
+ cat /proc/version_signature
Ubuntu 4.4.0-101.124-generic 4.4.95

+ git --no-pager log -1
commit 320b9b80ebbf318a67a9479c18a0e4be244c8409
Author: Hans Verkuil <hans.verkuil@cisco.com>
Date:   Tue Nov 28 08:48:04 2017 +0100

    Update backports/pr_fmt.patch

    Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>

+ cd media
+ git --no-pager log -1
commit 781b045baefdabf7e0bc9f33672ca830d3db9f27
Author: Sakari Ailus <sakari.ailus@linux.intel.com>
Date:   Wed Nov 1 05:40:58 2017 -0400

    media: imx274: Fix error handling, add MAINTAINERS entry

    Add the missing MAINTAINERS entry for imx274, fix error handling in driver
    probe and unregister the correct control handler in driver remove.

    Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
    Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>


This is the build failure
...

Created default (all yes) .config file
./scripts/fix_kconfig.pl
make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
$ make
make -C /home/me/git/clones/media_build/v4l
make[1]: Entering directory '/home/me/git/clones/media_build/v4l'
scripts/make_makefile.pl
./scripts/make_myconfig.pl
perl scripts/make_config_compat.pl /lib/modules/4.4.0-101-generic/build ./.myconfig ./config-compat.h
creating symbolic links...
Kernel build directory is /lib/modules/4.4.0-101-generic/build
make -C ../linux apply_patches
make[2]: Entering directory '/home/me/git/clones/media_build/linux'
Syncing with dir ../media/
Patches for 4.4.0-101-generic already applied.
make[2]: Leaving directory '/home/me/git/clones/media_build/linux'
make -C /lib/modules/4.4.0-101-generic/build SUBDIRS=/home/me/git/clones/media_build/v4l  modules
make[2]: Entering directory '/usr/src/linux-headers-4.4.0-101-generic'
  CC [M]  /home/me/git/clones/media_build/v4l/msp3400-driver.o
In file included from include/linux/compiler.h:56:0,
                 from include/asm-generic/bug.h:4,
                 from ./arch/x86/include/asm/bug.h:35,
                 from include/linux/bug.h:4,
                 from include/linux/mmdebug.h:4,
                 from /home/me/git/clones/media_build/v4l/config-compat.h:12,
                 from /home/me/git/clones/media_build/v4l/compat.h:10,
                 from <command-line>:0:
/home/me/git/clones/media_build/v4l/../linux/include/linux/compiler-gcc.h:3:2: error: #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead."
 #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead."
  ^
scripts/Makefile.build:258: recipe for target '/home/me/git/clones/media_build/v4l/msp3400-driver.o' failed
make[3]: *** [/home/me/git/clones/media_build/v4l/msp3400-driver.o] Error 1
Makefile:1423: recipe for target '_module_/home/me/git/clones/media_build/v4l' failed
make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-101-generic'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
build failed at ./build line 526
+ status=29

I'm struggling to follow the depedency chain here so I thought I'd better ask.

ubuntu(master)$ grep -r compiler-gcc.h|grep -F '#include'

media/include/linux/compiler_types.h:#include <linux/compiler-gcc.h>
media/tools/include/linux/compiler.h:#include <linux/compiler-gcc.h>

Cheers
Vince

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build failure on ubuntu 16.04 LTS
  2017-12-06 10:43 build failure on ubuntu 16.04 LTS Vincent McIntyre
@ 2017-12-06 11:14 ` Hans Verkuil
  2017-12-07  0:22   ` Jasmin J.
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Verkuil @ 2017-12-06 11:14 UTC (permalink / raw)
  To: Vincent McIntyre, linux-media; +Cc: Jasmin J.

On 12/06/17 11:43, Vincent McIntyre wrote:
> Hi,
> 
> the build has been broken for over a week for me.
> Possibly my checkout is out of date??

No, it really is broken. I don't quite understand why it is failing or
how to fix it, and I lack time to dig into this. Hopefully I can find
some time next week for this.

Jasmin, you've done some work on this in the past. Let me know if you
have time to look at this, I would really appreciate that.

Regards,

	Hans

> I am using the normal build --main-git method.
> 
> Setup details:
> 
> + date
> Wednesday 6 December  21:25:28 AEDT 2017
> + uname -a
> Linux ubuntu 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
> + cat /proc/version_signature
> Ubuntu 4.4.0-101.124-generic 4.4.95
> 
> + git --no-pager log -1
> commit 320b9b80ebbf318a67a9479c18a0e4be244c8409
> Author: Hans Verkuil <hans.verkuil@cisco.com>
> Date:   Tue Nov 28 08:48:04 2017 +0100
> 
>     Update backports/pr_fmt.patch
> 
>     Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
> 
> + cd media
> + git --no-pager log -1
> commit 781b045baefdabf7e0bc9f33672ca830d3db9f27
> Author: Sakari Ailus <sakari.ailus@linux.intel.com>
> Date:   Wed Nov 1 05:40:58 2017 -0400
> 
>     media: imx274: Fix error handling, add MAINTAINERS entry
> 
>     Add the missing MAINTAINERS entry for imx274, fix error handling in driver
>     probe and unregister the correct control handler in driver remove.
> 
>     Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
>     Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
> 
> 
> This is the build failure
> ...
> 
> Created default (all yes) .config file
> ./scripts/fix_kconfig.pl
> make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
> $ make
> make -C /home/me/git/clones/media_build/v4l
> make[1]: Entering directory '/home/me/git/clones/media_build/v4l'
> scripts/make_makefile.pl
> ./scripts/make_myconfig.pl
> perl scripts/make_config_compat.pl /lib/modules/4.4.0-101-generic/build ./.myconfig ./config-compat.h
> creating symbolic links...
> Kernel build directory is /lib/modules/4.4.0-101-generic/build
> make -C ../linux apply_patches
> make[2]: Entering directory '/home/me/git/clones/media_build/linux'
> Syncing with dir ../media/
> Patches for 4.4.0-101-generic already applied.
> make[2]: Leaving directory '/home/me/git/clones/media_build/linux'
> make -C /lib/modules/4.4.0-101-generic/build SUBDIRS=/home/me/git/clones/media_build/v4l  modules
> make[2]: Entering directory '/usr/src/linux-headers-4.4.0-101-generic'
>   CC [M]  /home/me/git/clones/media_build/v4l/msp3400-driver.o
> In file included from include/linux/compiler.h:56:0,
>                  from include/asm-generic/bug.h:4,
>                  from ./arch/x86/include/asm/bug.h:35,
>                  from include/linux/bug.h:4,
>                  from include/linux/mmdebug.h:4,
>                  from /home/me/git/clones/media_build/v4l/config-compat.h:12,
>                  from /home/me/git/clones/media_build/v4l/compat.h:10,
>                  from <command-line>:0:
> /home/me/git/clones/media_build/v4l/../linux/include/linux/compiler-gcc.h:3:2: error: #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead."
>  #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead."
>   ^
> scripts/Makefile.build:258: recipe for target '/home/me/git/clones/media_build/v4l/msp3400-driver.o' failed
> make[3]: *** [/home/me/git/clones/media_build/v4l/msp3400-driver.o] Error 1
> Makefile:1423: recipe for target '_module_/home/me/git/clones/media_build/v4l' failed
> make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
> make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-101-generic'
> Makefile:51: recipe for target 'default' failed
> make[1]: *** [default] Error 2
> make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
> Makefile:26: recipe for target 'all' failed
> make: *** [all] Error 2
> build failed at ./build line 526
> + status=29
> 
> I'm struggling to follow the depedency chain here so I thought I'd better ask.
> 
> ubuntu(master)$ grep -r compiler-gcc.h|grep -F '#include'
> 
> media/include/linux/compiler_types.h:#include <linux/compiler-gcc.h>
> media/tools/include/linux/compiler.h:#include <linux/compiler-gcc.h>
> 
> Cheers
> Vince
> 
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: build failure on ubuntu 16.04 LTS
  2017-12-06 11:14 ` Hans Verkuil
@ 2017-12-07  0:22   ` Jasmin J.
  0 siblings, 0 replies; 3+ messages in thread
From: Jasmin J. @ 2017-12-07  0:22 UTC (permalink / raw)
  To: Hans Verkuil, Vincent McIntyre, linux-media

Hello Hans!

> Jasmin, you've done some work on this in the past. Let me know if you
> have time to look at this, I would really appreciate that.
THX!

> No, it really is broken. I don't quite understand why it is failing ...
I noticed this already, but I am currently very busy to finish al my work
before my vacation. But I will try to find some time over the weekend.
I hope I can find it, even if you say it is difficult.

BR,
   Jasmin

***************************************************************************

On 12/06/2017 12:14 PM, Hans Verkuil wrote:
> On 12/06/17 11:43, Vincent McIntyre wrote:
>> Hi,
>>
>> the build has been broken for over a week for me.
>> Possibly my checkout is out of date??
> 
> No, it really is broken. I don't quite understand why it is failing or
> how to fix it, and I lack time to dig into this. Hopefully I can find
> some time next week for this.
> 
> Jasmin, you've done some work on this in the past. Let me know if you
> have time to look at this, I would really appreciate that.
> 
> Regards,
> 
> 	Hans
> 
>> I am using the normal build --main-git method.
>>
>> Setup details:
>>
>> + date
>> Wednesday 6 December  21:25:28 AEDT 2017
>> + uname -a
>> Linux ubuntu 4.4.0-101-generic #124-Ubuntu SMP Fri Nov 10 18:29:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
>> + cat /proc/version_signature
>> Ubuntu 4.4.0-101.124-generic 4.4.95
>>
>> + git --no-pager log -1
>> commit 320b9b80ebbf318a67a9479c18a0e4be244c8409
>> Author: Hans Verkuil <hans.verkuil@cisco.com>
>> Date:   Tue Nov 28 08:48:04 2017 +0100
>>
>>     Update backports/pr_fmt.patch
>>
>>     Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
>>
>> + cd media
>> + git --no-pager log -1
>> commit 781b045baefdabf7e0bc9f33672ca830d3db9f27
>> Author: Sakari Ailus <sakari.ailus@linux.intel.com>
>> Date:   Wed Nov 1 05:40:58 2017 -0400
>>
>>     media: imx274: Fix error handling, add MAINTAINERS entry
>>
>>     Add the missing MAINTAINERS entry for imx274, fix error handling in driver
>>     probe and unregister the correct control handler in driver remove.
>>
>>     Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
>>     Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
>>
>>
>> This is the build failure
>> ...
>>
>> Created default (all yes) .config file
>> ./scripts/fix_kconfig.pl
>> make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
>> $ make
>> make -C /home/me/git/clones/media_build/v4l
>> make[1]: Entering directory '/home/me/git/clones/media_build/v4l'
>> scripts/make_makefile.pl
>> ./scripts/make_myconfig.pl
>> perl scripts/make_config_compat.pl /lib/modules/4.4.0-101-generic/build ./.myconfig ./config-compat.h
>> creating symbolic links...
>> Kernel build directory is /lib/modules/4.4.0-101-generic/build
>> make -C ../linux apply_patches
>> make[2]: Entering directory '/home/me/git/clones/media_build/linux'
>> Syncing with dir ../media/
>> Patches for 4.4.0-101-generic already applied.
>> make[2]: Leaving directory '/home/me/git/clones/media_build/linux'
>> make -C /lib/modules/4.4.0-101-generic/build SUBDIRS=/home/me/git/clones/media_build/v4l  modules
>> make[2]: Entering directory '/usr/src/linux-headers-4.4.0-101-generic'
>>   CC [M]  /home/me/git/clones/media_build/v4l/msp3400-driver.o
>> In file included from include/linux/compiler.h:56:0,
>>                  from include/asm-generic/bug.h:4,
>>                  from ./arch/x86/include/asm/bug.h:35,
>>                  from include/linux/bug.h:4,
>>                  from include/linux/mmdebug.h:4,
>>                  from /home/me/git/clones/media_build/v4l/config-compat.h:12,
>>                  from /home/me/git/clones/media_build/v4l/compat.h:10,
>>                  from <command-line>:0:
>> /home/me/git/clones/media_build/v4l/../linux/include/linux/compiler-gcc.h:3:2: error: #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead."
>>  #error "Please don't include <linux/compiler-gcc.h> directly, include <linux/compiler.h> instead."
>>   ^
>> scripts/Makefile.build:258: recipe for target '/home/me/git/clones/media_build/v4l/msp3400-driver.o' failed
>> make[3]: *** [/home/me/git/clones/media_build/v4l/msp3400-driver.o] Error 1
>> Makefile:1423: recipe for target '_module_/home/me/git/clones/media_build/v4l' failed
>> make[2]: *** [_module_/home/me/git/clones/media_build/v4l] Error 2
>> make[2]: Leaving directory '/usr/src/linux-headers-4.4.0-101-generic'
>> Makefile:51: recipe for target 'default' failed
>> make[1]: *** [default] Error 2
>> make[1]: Leaving directory '/home/me/git/clones/media_build/v4l'
>> Makefile:26: recipe for target 'all' failed
>> make: *** [all] Error 2
>> build failed at ./build line 526
>> + status=29
>>
>> I'm struggling to follow the depedency chain here so I thought I'd better ask.
>>
>> ubuntu(master)$ grep -r compiler-gcc.h|grep -F '#include'
>>
>> media/include/linux/compiler_types.h:#include <linux/compiler-gcc.h>
>> media/tools/include/linux/compiler.h:#include <linux/compiler-gcc.h>
>>
>> Cheers
>> Vince
>>
>>
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-12-07  0:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 10:43 build failure on ubuntu 16.04 LTS Vincent McIntyre
2017-12-06 11:14 ` Hans Verkuil
2017-12-07  0:22   ` Jasmin J.

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.