Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR: media-video/vlc-2.0.7:: failed emerging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun Apr 27, 2014 1:40 pm    Post subject: [SOLVED] ERROR: media-video/vlc-2.0.7:: failed emerging Reply with quote

Hi,

Please let me know how overcome this failure and install vlc player?
I saw this topic: https://bugs.gentoo.org/show_bug.cgi?id=418181
but do not know how to go a head..
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Mon May 05, 2014 5:47 am; edited 2 times in total
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Apr 27, 2014 2:10 pm    Post subject: Reply with quote

Several things to try according to the bug; toggle nls USE flag, install sys-devel/gettext, upgrade to =sys-devel/autoconf-wrapper-13, ...
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun Apr 27, 2014 3:10 pm    Post subject: Reply with quote

Dear TomWij,

I toggled nls USE flag and installed sys-devel/gettext - still problem with vlc.
I need to unemerge sys-devel/gettext, or leave it?
How to upgrade to =sys-devel/autoconf-wrapper-13?
Sorry for many questions - my first time to face it - promise to try to avoid asking the same question... :)

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Sun Apr 27, 2014 3:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Apr 27, 2014 3:28 pm    Post subject: Reply with quote

It is stable; thus you can just emerge it, `emerge -1 =sys-devel/autoconf-wrapper-13`.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun Apr 27, 2014 6:42 pm    Post subject: Reply with quote

Dear Tomwij,

I done this
Code:
 `emerge -1 =sys-devel/autoconf-wrapper-13`
and still not ok...
BTW: After I toggled nls USE flag, without success, I deleted it from make.conf - We do not need it any more - Right?
sys-devel/gettext is remained installed - Do not know if it is needed...

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun Apr 27, 2014 7:05 pm    Post subject: Reply with quote

Hmm, no other ideas; that bug should really get resolved, a last idea is to try a testing version of media-video/vlc.

You can get a testing version by adding media-video/vlc to /etc/portage/package.accept_keywords and then emerging the package again.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun Apr 27, 2014 7:28 pm    Post subject: Reply with quote

TomWij Hi,

Maybe I will wait for sometime to see if this bug will be resolved... and if not, I will emerge the testing version.
I do not know about the other users faced with this issue,
but in my case, this problem is only with my Gnome/Systemd machine -
I did not have any vlc's installation problem with my Kde/openRC machine!

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sat May 03, 2014 7:47 pm    Post subject: Reply with quote

Dear Tom,

Quote:
You can get a testing version by adding media-video/vlc to /etc/portage/package.accept_keywords

I done this but still emerging vlc failed.
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat May 03, 2014 7:58 pm    Post subject: Reply with quote

Which version do you get now? Why is it failing?
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sat May 03, 2014 8:14 pm    Post subject: Reply with quote

Tom,

This is my /etc/portage/package.accept_keywords:
Code:
=sci-geosciences/googleearth-7.1.2.2041
=media-video/vlc-2.0.7

And here is the final part of emerging vlc:
Code:
 * ERROR: media-video/vlc-2.0.7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.0.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
 * S: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'

>>> Failed to emerge media-video/vlc-2.0.7, Log file:

>>>  '/var/tmp/portage/media-video/vlc-2.0.7/temp/build.log'

 * Messages for package media-video/vlc-2.0.7:

 * ERROR: media-video/vlc-2.0.7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.0.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
 * S: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'

_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat May 03, 2014 8:21 pm    Post subject: Reply with quote

You need to add media-video/vlc, not the specific version; that way a newer version can get pulled in.

The stabilization of newer VLC versions is blocked at the moment due to the newer FFmpeg mask. (Stabilization security bug: https://bugs.gentoo.org/show_bug.cgi?id=499806)
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sat May 03, 2014 9:03 pm    Post subject: Reply with quote

Quote:
You need to add media-video/vlc

I done it but still failed.
Quote:
The stabilization of newer VLC versions is blocked at the moment due to the newer FFmpeg mask

Please explain what do you mean by that? Should I wait for a while?
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat May 03, 2014 9:11 pm    Post subject: Reply with quote

Either accept the new keywords or wait; newer versions aren't stable yet, because the stabilization is blocked.

How does the new version fail? Is it for the same reason? Can you share the build.log?
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sat May 03, 2014 9:17 pm    Post subject: Reply with quote

Here /var/tmp/portage/media-video/vlc-2.0.7/temp/build.log:
EDIT: I deleted the long file - See next posts for details.
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Sun May 04, 2014 6:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sat May 03, 2014 9:43 pm    Post subject: Reply with quote

That's still 2.0.7.
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun May 04, 2014 5:18 am    Post subject: Reply with quote

So it means I should wait?
Maybe I need to cut the long build.log and leave only the last part?
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun May 04, 2014 9:32 am    Post subject: Reply with quote

Eh, that's indeed not a autopoint error, so the bug linked to at the start is different from what you are experiencing and might be able to be fixed; can you upload the full build log somewhere, for example https://gist.github.com should be able to accept it? If not, try to provide as much as possible from the end; it should contain at least the error: (including the colon) and some lines of context before that. I already have the first part; so, I can use that if I need configuration related information...
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun May 04, 2014 11:29 am    Post subject: Reply with quote

Tom,

Sorry, but I do not understand your request: In my previous post it is the full /var/tmp/portage/media-video/vlc-2.0.7/temp/build.log.
I just asked you if to cut this file due to its long text, but it is full file. So please tell me what additional info do you need?

Here is the last part of the Terminal output after emerging vlc:
Code:
flac.c:1:0: note: this is the location of the previous definition
In file included from libmpeg2.c:29:0:
../../config.h:737:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
libmpeg2.c:1:0: note: this is the location of the previous definition
In file included from png.c:28:0:
../../config.h:737:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
png.c:1:0: note: this is the location of the previous definition
flac.c:41:28: fatal error: stream_decoder.h: No such file or directory
compilation terminated.
make[5]: *** [libflac_plugin_la-flac.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from faad.c:36:0:
/usr/include/faad.h:32:9: note: #pragma message: please update faad2 include filename and function names!
faad.c: In function 'DecodeBlock':
faad.c:441:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
make[5]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/modules/codec'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/modules/codec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/modules/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
make: *** [all] Error 2
 * ERROR: media-video/vlc-2.0.7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.0.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
 * S: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'

>>> Failed to emerge media-video/vlc-2.0.7, Log file:

>>>  '/var/tmp/portage/media-video/vlc-2.0.7/temp/build.log'

 * Messages for package media-video/vlc-2.0.7:

 * ERROR: media-video/vlc-2.0.7::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-video/vlc-2.0.7::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-2.0.7::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-2.0.7/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'
 * S: '/var/tmp/portage/media-video/vlc-2.0.7/work/vlc-2.0.7'


Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun May 04, 2014 1:57 pm    Post subject: Reply with quote

pmam wrote:
flac.c:41:28: fatal error: stream_decoder.h: No such file or directory


Your first post was cut off due to the maximum length; the second post contains the error, however we've already fixed and tested that so you could sync your Portage tree to get that change. If it doesn't work after a sync, then your mirror might be out of date; you'll want to try another official mirror instead, see http://www.gentoo.org/main/en/mirrors-rsync.xml and http://www.gentoo.org/main/en/mirrors2.xml

https://bugs.gentoo.org/show_bug.cgi?id=471936#c6
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/vlc/vlc-2.0.7.ebuild?r1=1.12&r2=1.13
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-video/vlc/files/vlc-2.0.7-include-flac-1.3.x-support.patch?revision=1.1&view=markup
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Sun May 04, 2014 6:22 pm    Post subject: Reply with quote

Dear Tom,

Yes, after emerge --sync I succeeded to emerge vlc without adding media-video/vlc to /etc/portage/package.accept_keywords :)
It's been a long time I have not sync my machine - BTW: Is it recommended to sync every week?
We need to emerge world, as well? Please advise!

You made a good job regarding this bug - We should kill them when they still young... Afterword, it is much difficult :)

Thanks a lot
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Sun May 04, 2014 6:43 pm    Post subject: Reply with quote

Sync as often as needed. :)
Back to top
View user's profile Send private message
moodboom
n00b
n00b


Joined: 06 Aug 2007
Posts: 24

PostPosted: Wed May 14, 2014 11:52 am    Post subject: Reply with quote

TomWij wrote:
Sync as often as needed. :)


So true isn't it? Don't get too far behind, but don't push too far forward. :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum