[gentoo-user] Compilation error mpv / libav

2017-11-07 Thread tuxic
Hi,

I got a couple of depending compilation errors...

Top of the stack seems to a problem with mpv / libav.

From the build.lg:

Setting top to   : 
/var/tmp/portage/media-video/mpv-/work/mpv- 
Setting out to   : 
/var/tmp/portage/media-video/mpv-/work/mpv-/build 
Checking for waf version in 1.8.4-2.0.0  : ok 
Checking for program 'cc': x86_64-pc-linux-gnu-gcc 
Checking for program 'pkg-config': x86_64-pc-linux-gnu-pkg-config 
Checking for program 'ar': x86_64-pc-linux-gnu-ar 
Checking for program 'rst2html'  : /usr/bin/rst2html.py 
Checking for program 'rst2man'   : /usr/bin/rst2man.py 
Checking for program 'rst2pdf'   : /usr/bin/rst2pdf 
Checking for program 'windres'   : not found 
Checking for program 'perl'  : /usr/bin/perl 
Checking for 'gcc' (C compiler)  : x86_64-pc-linux-gnu-gcc 
Detected target OS:  : os-linux 
Checking for compiler flags -Werror=implicit-function-declaration : yes 
Checking for compiler flags -Wno-error=deprecated-declarations: yes 
Checking for compiler flags -Wno-error=unused-function: yes 
Checking for compiler flags -Wempty-body  : yes 
Checking for compiler flags -Wdisabled-optimization   : yes 
Checking for compiler flags -Wstrict-prototypes   : yes 
Checking for compiler flags -Wno-format-zero-length   : yes 
Checking for compiler flags -Werror=format-security   : yes 
Checking for compiler flags -Wno-redundant-decls  : yes 
Checking for compiler flags -Wvla : yes 
Checking for LGPL (version 2.1 or later) build: disabled 
Checking for GPL (version 2 or later) build   : yes 
Checking for internal audio filter chain  : yes 
Checking for mpv CLI player   : yes 
Checking for shared library   : disabled 
Checking for static library   : disabled 
Checking for static build : disabled 
Checking for whether to include binary compile time   : yes 
Checking for whether to optimize  : disabled 
Checking for whether to compile-in debugging information  : disabled 
Checking for manpage generation   : yes 
Checking for html manual generation   : yes 
Checking for pdf manual generation: yes 
Checking for dynamic loader   : yes 
Checking for C plugins: yes 
Checking for zsh completion   : yes 
Checking for inline assembly (currently without effect)   : yes 
Checking for test suite (using cmocka): disabled 
Checking for generate a clang compilation database: disabled 
Checking for compiler support for noexecstack : yes 
Checking for linker support for --nxcompat --no-seh --dynamicbase : no 
Checking for -lm  : yes 
Checking for MinGW: os-win32 
not found 
Checking for POSIX environment: yes 
Checking for Android environment  : disabled 
Checking for development environment  : yes 
Checking for Universal Windows Platform   : disabled 
Checking for win32 desktop APIs   : os-win32 
not found 
Checking for internal pthread wrapper for win32 (Vista+)  : posix found 
Checking for POSIX threads: yes 
Checking for GNU C extensions : yes 
Checking for stdatomic.h  : yes 
Checking for stdatomic.h support or slow emulation: yes 
Checking for linking with -lrt: yes 
Checking for iconv: yes 
Checking for w32/dos paths: os-win32 
not found 
Checking for termios  : yes 
Checking for shm  : yes 
Checking for nanosleep: yes 
Checking for spawnp()/kill() POSIX support: yes 
Checking for spawnp()/kill() Android replacement  : 
posix-spawn-native found 
Checking for any spawnp()/kill() support  : yes 
Checking for Windows pipe support

Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread R0b0t1
On Tue, Nov 7, 2017 at 7:01 PM,   wrote:
> Hi,
>
> I got a couple of depending compilation errors...
>
> Top of the stack seems to a problem with mpv / libav.
>
> From the build.lg:
>
> Setting top to   : 
> /var/tmp/portage/media-video/mpv-/work/mpv-
> Setting out to   : 
> /var/tmp/portage/media-video/mpv-/work/mpv-/build
> Checking for waf version in 1.8.4-2.0.0  : ok
> Checking for program 'cc': x86_64-pc-linux-gnu-gcc
> Checking for program 'pkg-config': x86_64-pc-linux-gnu-pkg-config
> Checking for program 'ar': x86_64-pc-linux-gnu-ar
> Checking for program 'rst2html'  : /usr/bin/rst2html.py
> Checking for program 'rst2man'   : /usr/bin/rst2man.py
> Checking for program 'rst2pdf'   : /usr/bin/rst2pdf
> Checking for program 'windres'   : not found
> Checking for program 'perl'  : /usr/bin/perl
> Checking for 'gcc' (C compiler)  : x86_64-pc-linux-gnu-gcc
> Detected target OS:  : os-linux
> Checking for compiler flags -Werror=implicit-function-declaration : yes
> Checking for compiler flags -Wno-error=deprecated-declarations: yes
> Checking for compiler flags -Wno-error=unused-function: yes
> Checking for compiler flags -Wempty-body  : yes
> Checking for compiler flags -Wdisabled-optimization   : yes
> Checking for compiler flags -Wstrict-prototypes   : yes
> Checking for compiler flags -Wno-format-zero-length   : yes
> Checking for compiler flags -Werror=format-security   : yes
> Checking for compiler flags -Wno-redundant-decls  : yes
> Checking for compiler flags -Wvla : yes
> Checking for LGPL (version 2.1 or later) build: disabled
> Checking for GPL (version 2 or later) build   : yes
> Checking for internal audio filter chain  : yes
> Checking for mpv CLI player   : yes
> Checking for shared library   : disabled
> Checking for static library   : disabled
> Checking for static build : disabled
> Checking for whether to include binary compile time   : yes
> Checking for whether to optimize  : disabled
> Checking for whether to compile-in debugging information  : disabled
> Checking for manpage generation   : yes
> Checking for html manual generation   : yes
> Checking for pdf manual generation: yes
> Checking for dynamic loader   : yes
> Checking for C plugins: yes
> Checking for zsh completion   : yes
> Checking for inline assembly (currently without effect)   : yes
> Checking for test suite (using cmocka): disabled
> Checking for generate a clang compilation database: disabled
> Checking for compiler support for noexecstack : yes
> Checking for linker support for --nxcompat --no-seh --dynamicbase : no
> Checking for -lm  : yes
> Checking for MinGW: os-win32 
> not found
> Checking for POSIX environment: yes
> Checking for Android environment  : disabled
> Checking for development environment  : yes
> Checking for Universal Windows Platform   : disabled
> Checking for win32 desktop APIs   : os-win32 
> not found
> Checking for internal pthread wrapper for win32 (Vista+)  : posix 
> found
> Checking for POSIX threads: yes
> Checking for GNU C extensions : yes
> Checking for stdatomic.h  : yes
> Checking for stdatomic.h support or slow emulation: yes
> Checking for linking with -lrt: yes
> Checking for iconv: yes
> Checking for w32/dos paths: os-win32 
> not found
> Checking for termios  : yes
> Checking for shm  : yes
> Checking for nanosleep: yes
> Checking for spawnp()/kill() POSIX support: yes
> Checking for spawnp()/kill() Android replacement  : 
> posix-spawn-native found
> Chec

Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread tuxic
On 11/07 07:38, R0b0t1 wrote:
> On Tue, Nov 7, 2017 at 7:01 PM,   wrote:
> > Hi,
> >
> > I got a couple of depending compilation errors...
> >
> > Top of the stack seems to a problem with mpv / libav.
> >
> > From the build.lg:
> >
> > Setting top to   : 
> > /var/tmp/portage/media-video/mpv-/work/mpv-
> > Setting out to   : 
> > /var/tmp/portage/media-video/mpv-/work/mpv-/build
> > Checking for waf version in 1.8.4-2.0.0  : ok
> > Checking for program 'cc': x86_64-pc-linux-gnu-gcc
> > Checking for program 'pkg-config': x86_64-pc-linux-gnu-pkg-config
> > Checking for program 'ar': x86_64-pc-linux-gnu-ar
> > Checking for program 'rst2html'  : /usr/bin/rst2html.py
> > Checking for program 'rst2man'   : /usr/bin/rst2man.py
> > Checking for program 'rst2pdf'   : /usr/bin/rst2pdf
> > Checking for program 'windres'   : not found
> > Checking for program 'perl'  : /usr/bin/perl
> > Checking for 'gcc' (C compiler)  : x86_64-pc-linux-gnu-gcc
> > Detected target OS:  : os-linux
> > Checking for compiler flags -Werror=implicit-function-declaration : yes
> > Checking for compiler flags -Wno-error=deprecated-declarations: yes
> > Checking for compiler flags -Wno-error=unused-function: yes
> > Checking for compiler flags -Wempty-body  : yes
> > Checking for compiler flags -Wdisabled-optimization   : yes
> > Checking for compiler flags -Wstrict-prototypes   : yes
> > Checking for compiler flags -Wno-format-zero-length   : yes
> > Checking for compiler flags -Werror=format-security   : yes
> > Checking for compiler flags -Wno-redundant-decls  : yes
> > Checking for compiler flags -Wvla : yes
> > Checking for LGPL (version 2.1 or later) build: disabled
> > Checking for GPL (version 2 or later) build   : yes
> > Checking for internal audio filter chain  : yes
> > Checking for mpv CLI player   : yes
> > Checking for shared library   : disabled
> > Checking for static library   : disabled
> > Checking for static build : disabled
> > Checking for whether to include binary compile time   : yes
> > Checking for whether to optimize  : disabled
> > Checking for whether to compile-in debugging information  : disabled
> > Checking for manpage generation   : yes
> > Checking for html manual generation   : yes
> > Checking for pdf manual generation: yes
> > Checking for dynamic loader   : yes
> > Checking for C plugins: yes
> > Checking for zsh completion   : yes
> > Checking for inline assembly (currently without effect)   : yes
> > Checking for test suite (using cmocka): disabled
> > Checking for generate a clang compilation database: disabled
> > Checking for compiler support for noexecstack : yes
> > Checking for linker support for --nxcompat --no-seh --dynamicbase : no
> > Checking for -lm  : yes
> > Checking for MinGW: 
> > os-win32 not found
> > Checking for POSIX environment: yes
> > Checking for Android environment  : disabled
> > Checking for development environment  : yes
> > Checking for Universal Windows Platform   : disabled
> > Checking for win32 desktop APIs   : 
> > os-win32 not found
> > Checking for internal pthread wrapper for win32 (Vista+)  : posix 
> > found
> > Checking for POSIX threads: yes
> > Checking for GNU C extensions : yes
> > Checking for stdatomic.h  : yes
> > Checking for stdatomic.h support or slow emulation: yes
> > Checking for linking with -lrt: yes
> > Checking for iconv: yes
> > Checking for w32/dos paths: 
> > os-win32 not found
> > Checking for termios  : yes
> > Checking for shm  : yes
> > Checking for nanosleep

Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread John Campbell
On 11/07/2017 05:01 PM, tu...@posteo.de wrote:
> Hi,
> 
> I got a couple of depending compilation errors...
> 
> Top of the stack seems to a problem with mpv / libav.
> 
> Is there any known fix for that?
> 
> Thanks a lot for any help in advance! :)

I've got mpv- installed.  I'm pretty sure you need to move to
ffmpeg- as well.

Also, libav and ffmpeg are mutually exclusive.  You can have one, but
not the other.



Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread tuxic
On 11/07 07:21, John Campbell wrote:
> On 11/07/2017 05:01 PM, tu...@posteo.de wrote:
> > Hi,
> > 
> > I got a couple of depending compilation errors...
> > 
> > Top of the stack seems to a problem with mpv / libav.
> > 
> > Is there any known fix for that?
> > 
> > Thanks a lot for any help in advance! :)
> 
> I've got mpv- installed.  I'm pretty sure you need to move to
> ffmpeg- as well.
> 
> Also, libav and ffmpeg are mutually exclusive.  You can have one, but
> not the other.
> 

I installed ffmpeg- and it compiles fines.

Everything else failed again (for example mpv-).

Why does an update of already ok installed applications
break something in parts because the installation
has components, which are mutually exclusive?
They weren't before (whichout the update everythong was fine...)

Cheers
Meino




Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread John Campbell

> I installed ffmpeg- and it compiles fines.
> 
> Everything else failed again (for example mpv-).
> 
> Why does an update of already ok installed applications
> break something in parts because the installation
> has components, which are mutually exclusive?
> They weren't before (whichout the update everythong was fine...)

I've been periodically fighting with mpv and ffmpeg for various reasons
for quite some time.  Which is why I've been pushed into running live
versions of both.  Version bumps on ebuilds that fail version checks
(like this one) is my first line of defence.

The reason live rebuilds keep breaking even though they're installed it
the upstream developers change to library requirements and flags without
telling anyone.

There's a bug report about this at https://bugs.gentoo.org/635650 which
seems to offer several solutions and satisfies none...  It looks like
the decision at present is "wait and hope it gets fixed upstream"



Re: [gentoo-user] Compilation error mpv / libav

2017-11-07 Thread R0b0t1
On Tue, Nov 7, 2017 at 11:04 PM, John Campbell  wrote:
>
>> I installed ffmpeg- and it compiles fines.
>>
>> Everything else failed again (for example mpv-).
>>
>> Why does an update of already ok installed applications
>> break something in parts because the installation
>> has components, which are mutually exclusive?
>> They weren't before (whichout the update everythong was fine...)
>
> I've been periodically fighting with mpv and ffmpeg for various reasons
> for quite some time.  Which is why I've been pushed into running live
> versions of both.  Version bumps on ebuilds that fail version checks
> (like this one) is my first line of defence.
>
> The reason live rebuilds keep breaking even though they're installed it
> the upstream developers change to library requirements and flags without
> telling anyone.
>
> There's a bug report about this at https://bugs.gentoo.org/635650 which
> seems to offer several solutions and satisfies none...  It looks like
> the decision at present is "wait and hope it gets fixed upstream"
>

With Gentoo that is usually the most expedient solution, cost of time
considering.