public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] media_build fails on Gentoo 4.2 machine....
@ 2015-10-24 12:10 Tamer Higazi
  2015-10-26  8:41 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tamer Higazi @ 2015-10-24 12:10 UTC (permalink / raw
  To: gentoo-user

Hi people!
I am on a gentoo machine, after updating my kernel, linux header and
restarted my machine I wanted to compile
"media_build"(http://git.linuxtv.org/cgit.cgi/media_build.git/about/).

What could this be that I get this error ?

http://pastebin.com/raw.php?i=Ubt5qhP0


output:

/storage/downloads/media_build/v4l/videobuf2-core.c:29:30: fatal error:
trace/events/vb2.h: No such file or directory
 #include <trace/events/vb2.h>
                              ^
compilation terminated.
scripts/Makefile.build:264: die Regel für Ziel
„/storage/downloads/media_build/v4l/videobuf2-core.o“ scheiterte
make[3]: *** [/storage/downloads/media_build/v4l/videobuf2-core.o] Fehler 1
Makefile:1386: recipe for target
'_module_/storage/downloads/media_build/v4l' failed
make[2]: *** [_module_/storage/downloads/media_build/v4l] Error 2
make[2]: Leaving directory '/usr/src/linux-4.2.3-gentoo'
Makefile:51: recipe for target 'default' failed
make[1]: *** [default] Error 2
make[1]: Leaving directory '/storage/downloads/media_build/v4l'
Makefile:26: recipe for target 'all' failed
make: *** [all] Error 2
build failed at ./build line 491.




thanks!

best, Tamer




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

* Re: [gentoo-user] media_build fails on Gentoo 4.2 machine....
  2015-10-24 12:10 [gentoo-user] media_build fails on Gentoo 4.2 machine Tamer Higazi
@ 2015-10-26  8:41 ` Dale
  2015-10-26 10:24   ` brettrsears
  2015-10-26 10:39 ` J. Roeleveld
  2015-10-26 12:24 ` Alan McKinnon
  2 siblings, 1 reply; 6+ messages in thread
From: Dale @ 2015-10-26  8:41 UTC (permalink / raw
  To: gentoo-user

Tamer Higazi wrote:
> Hi people!
> I am on a gentoo machine, after updating my kernel, linux header and
> restarted my machine I wanted to compile
> "media_build"(http://git.linuxtv.org/cgit.cgi/media_build.git/about/).
>
> What could this be that I get this error ?
>
> http://pastebin.com/raw.php?i=Ubt5qhP0
>
>
> output:
>
> /storage/downloads/media_build/v4l/videobuf2-core.c:29:30: fatal error:
> trace/events/vb2.h: No such file or directory
>  #include <trace/events/vb2.h>
>                               ^
> compilation terminated.
> scripts/Makefile.build:264: die Regel für Ziel
> „/storage/downloads/media_build/v4l/videobuf2-core.o“ scheiterte
> make[3]: *** [/storage/downloads/media_build/v4l/videobuf2-core.o] Fehler 1
> Makefile:1386: recipe for target
> '_module_/storage/downloads/media_build/v4l' failed
> make[2]: *** [_module_/storage/downloads/media_build/v4l] Error 2
> make[2]: Leaving directory '/usr/src/linux-4.2.3-gentoo'
> Makefile:51: recipe for target 'default' failed
> make[1]: *** [default] Error 2
> make[1]: Leaving directory '/storage/downloads/media_build/v4l'
> Makefile:26: recipe for target 'all' failed
> make: *** [all] Error 2
> build failed at ./build line 491.
>
>
>
>
> thanks!
>
> best, Tamer
>

Most likely, the error that caused it to stop is much further back. 
Find "Error 1" and then go back a few more lines and copy and paste it
here, even if it is a good bit of it.  Unless someone just happened to
run into this themselves recently, what you included may not be enough. 

Dale

:-)  :-)


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

* Re: [gentoo-user] media_build fails on Gentoo 4.2 machine....
  2015-10-26  8:41 ` Dale
@ 2015-10-26 10:24   ` brettrsears
  0 siblings, 0 replies; 6+ messages in thread
From: brettrsears @ 2015-10-26 10:24 UTC (permalink / raw
  To: gentoo-user

Ouinuoyhd
Sent from my Verizon Wireless BlackBerry

-----Original Message-----
From: Dale <rdalek1967@gmail.com>
Date: Mon, 26 Oct 2015 03:41:07 
To: <gentoo-user@lists.gentoo.org>
Reply-to: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] media_build fails on Gentoo 4.2 machine....

Tamer Higazi wrote:
> Hi people!
> I am on a gentoo machine, after updating my kernel, linux header and
> restarted my machine I wanted to compile
> "media_build"(http://git.linuxtv.org/cgit.cgi/media_build.git/about/).
>
> What could this be that I get this error ?
>
> http://pastebin.com/raw.php?i=Ubt5qhP0
>
>
> output:
>
> /storage/downloads/media_build/v4l/videobuf2-core.c:29:30: fatal error:
> trace/events/vb2.h: No such file or directory
>  #include <trace/events/vb2.h>
>                               ^
> compilation terminated.
> scripts/Makefile.build:264: die Regel für Ziel
> „/storage/downloads/media_build/v4l/videobuf2-core.o“ scheiterte
> make[3]: *** [/storage/downloads/media_build/v4l/videobuf2-core.o] Fehler 1
> Makefile:1386: recipe for target
> '_module_/storage/downloads/media_build/v4l' failed
> make[2]: *** [_module_/storage/downloads/media_build/v4l] Error 2
> make[2]: Leaving directory '/usr/src/linux-4.2.3-gentoo'
> Makefile:51: recipe for target 'default' failed
> make[1]: *** [default] Error 2
> make[1]: Leaving directory '/storage/downloads/media_build/v4l'
> Makefile:26: recipe for target 'all' failed
> make: *** [all] Error 2
> build failed at ./build line 491.
>
>
>
>
> thanks!
>
> best, Tamer
>

Most likely, the error that caused it to stop is much further back. 
Find "Error 1" and then go back a few more lines and copy and paste it
here, even if it is a good bit of it.  Unless someone just happened to
run into this themselves recently, what you included may not be enough. 

Dale

:-)  :-)


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

* Re: [gentoo-user] media_build fails on Gentoo 4.2 machine....
  2015-10-24 12:10 [gentoo-user] media_build fails on Gentoo 4.2 machine Tamer Higazi
  2015-10-26  8:41 ` Dale
@ 2015-10-26 10:39 ` J. Roeleveld
  2015-10-26 12:24 ` Alan McKinnon
  2 siblings, 0 replies; 6+ messages in thread
From: J. Roeleveld @ 2015-10-26 10:39 UTC (permalink / raw
  To: gentoo-user

On Saturday, October 24, 2015 02:10:41 PM Tamer Higazi wrote:
> Hi people!
> I am on a gentoo machine, after updating my kernel, linux header and
> restarted my machine I wanted to compile
> "media_build"(http://git.linuxtv.org/cgit.cgi/media_build.git/about/).
> 
> What could this be that I get this error ?
> 
> http://pastebin.com/raw.php?i=Ubt5qhP0
> 
> 
> output:
> 
> /storage/downloads/media_build/v4l/videobuf2-core.c:29:30: fatal error:
> trace/events/vb2.h: No such file or directory
>  #include <trace/events/vb2.h>
>                               ^
> compilation terminated.
> scripts/Makefile.build:264: die Regel für Ziel
> „/storage/downloads/media_build/v4l/videobuf2-core.o“ scheiterte
> make[3]: *** [/storage/downloads/media_build/v4l/videobuf2-core.o] Fehler 1
> Makefile:1386: recipe for target
> '_module_/storage/downloads/media_build/v4l' failed
> make[2]: *** [_module_/storage/downloads/media_build/v4l] Error 2
> make[2]: Leaving directory '/usr/src/linux-4.2.3-gentoo'
> Makefile:51: recipe for target 'default' failed
> make[1]: *** [default] Error 2
> make[1]: Leaving directory '/storage/downloads/media_build/v4l'
> Makefile:26: recipe for target 'all' failed
> make: *** [all] Error 2
> build failed at ./build line 491.

As Dale also mentioned, only quoting the last few lines of the log is often 
insufficient.

The error indicates you are missing a dependency.

--
Joost


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

* Re: [gentoo-user] media_build fails on Gentoo 4.2 machine....
  2015-10-24 12:10 [gentoo-user] media_build fails on Gentoo 4.2 machine Tamer Higazi
  2015-10-26  8:41 ` Dale
  2015-10-26 10:39 ` J. Roeleveld
@ 2015-10-26 12:24 ` Alan McKinnon
  2015-10-26 14:06   ` Tamer Higazi
  2 siblings, 1 reply; 6+ messages in thread
From: Alan McKinnon @ 2015-10-26 12:24 UTC (permalink / raw
  To: gentoo-user

On 24/10/2015 14:10, Tamer Higazi wrote:
> Hi people!
> I am on a gentoo machine, after updating my kernel, linux header and
> restarted my machine I wanted to compile
> "media_build"(http://git.linuxtv.org/cgit.cgi/media_build.git/about/).
> 
> What could this be that I get this error ?
> 
> http://pastebin.com/raw.php?i=Ubt5qhP0
> 
> 
> output:
> 
> /storage/downloads/media_build/v4l/videobuf2-core.c:29:30: fatal error:
> trace/events/vb2.h: No such file or directory
>  #include <trace/events/vb2.h>
>                               ^
> compilation terminated.
> scripts/Makefile.build:264: die Regel für Ziel
> „/storage/downloads/media_build/v4l/videobuf2-core.o“ scheiterte
> make[3]: *** [/storage/downloads/media_build/v4l/videobuf2-core.o] Fehler 1
> Makefile:1386: recipe for target
> '_module_/storage/downloads/media_build/v4l' failed
> make[2]: *** [_module_/storage/downloads/media_build/v4l] Error 2
> make[2]: Leaving directory '/usr/src/linux-4.2.3-gentoo'
> Makefile:51: recipe for target 'default' failed
> make[1]: *** [default] Error 2
> make[1]: Leaving directory '/storage/downloads/media_build/v4l'
> Makefile:26: recipe for target 'all' failed
> make: *** [all] Error 2
> build failed at ./build line 491.



Why compile manually from source when you have the awesomeness of
portage at your disposal?

media_build is in the vdr_devel overlay.
Install from there - the maintainer has already done the heavy lifting
of deps and so on. make your life easier.

http://gpo.zugaina.org/media-tv/media-build-experimental
from more info





-- 
Alan McKinnon
alan.mckinnon@gmail.com



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

* Re: [gentoo-user] media_build fails on Gentoo 4.2 machine....
  2015-10-26 12:24 ` Alan McKinnon
@ 2015-10-26 14:06   ` Tamer Higazi
  0 siblings, 0 replies; 6+ messages in thread
From: Tamer Higazi @ 2015-10-26 14:06 UTC (permalink / raw
  To: gentoo-user

Solved... I switched back to Gentoo 4.0.5 and it all went fine... but
the driver is buggy and I don't get it to run.

I'll post a new thread.

best, Tamer


Am 26.10.2015 um 13:24 schrieb Alan McKinnon:
> On 24/10/2015 14:10, Tamer Higazi wrote:
>> Hi people!
>> I am on a gentoo machine, after updating my kernel, linux header and
>> restarted my machine I wanted to compile
>> "media_build"(http://git.linuxtv.org/cgit.cgi/media_build.git/about/).
>>
>> What could this be that I get this error ?
>>
>> http://pastebin.com/raw.php?i=Ubt5qhP0
>>
>>
>> output:
>>
>> /storage/downloads/media_build/v4l/videobuf2-core.c:29:30: fatal error:
>> trace/events/vb2.h: No such file or directory
>>  #include <trace/events/vb2.h>
>>                               ^
>> compilation terminated.
>> scripts/Makefile.build:264: die Regel für Ziel
>> „/storage/downloads/media_build/v4l/videobuf2-core.o“ scheiterte
>> make[3]: *** [/storage/downloads/media_build/v4l/videobuf2-core.o] Fehler 1
>> Makefile:1386: recipe for target
>> '_module_/storage/downloads/media_build/v4l' failed
>> make[2]: *** [_module_/storage/downloads/media_build/v4l] Error 2
>> make[2]: Leaving directory '/usr/src/linux-4.2.3-gentoo'
>> Makefile:51: recipe for target 'default' failed
>> make[1]: *** [default] Error 2
>> make[1]: Leaving directory '/storage/downloads/media_build/v4l'
>> Makefile:26: recipe for target 'all' failed
>> make: *** [all] Error 2
>> build failed at ./build line 491.
> 
> 
> 
> Why compile manually from source when you have the awesomeness of
> portage at your disposal?
> 
> media_build is in the vdr_devel overlay.
> Install from there - the maintainer has already done the heavy lifting
> of deps and so on. make your life easier.
> 
> http://gpo.zugaina.org/media-tv/media-build-experimental
> from more info
> 
> 
> 
> 
> 



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

end of thread, other threads:[~2015-10-26 14:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-24 12:10 [gentoo-user] media_build fails on Gentoo 4.2 machine Tamer Higazi
2015-10-26  8:41 ` Dale
2015-10-26 10:24   ` brettrsears
2015-10-26 10:39 ` J. Roeleveld
2015-10-26 12:24 ` Alan McKinnon
2015-10-26 14:06   ` Tamer Higazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox