Opened 4 years ago

Closed 4 years ago

#2373 closed defect (fixed)

build from SVN is broken on Arch Linux

Reported by: glitsj16 Owned by: beastd
Priority: normal Component: build system
Version: HEAD Severity: blocker
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Summary of the bug:

Hi, when trying to build mplayer from SVN on Arch Linux the below error is thrown and compilation halts:

error: libavutil/mem_internal.h file not found

Checking my system for that file confirms it does not exist. Suspecting this might be related to the ffmpeg version installed on Arch Linux, I stumbled on:

avcodec/tableprint: Don't include mem_internal.h
https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/da607832b57607fe9221bc2ecd25ea25ef6dd3aa

Here's my System Information

Your Linux distribution or operating system and version:

Arch Linux

kernel version:
$ uname -a
Linux lab16 5.10.13-1-ck-core2 #1 SMP PREEMPT Thu, 04 Feb 2021 23:50:08 +0000 x86_64 GNU/Linux

libc version:
$ ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 2154488 Feb 6 01:09 /lib/libc-2.33.so
-rw-r--r-- 1 root root 5286104 Feb 6 01:09 /lib/libc.a
-rw-r--r-- 1 root root 255 Feb 6 01:09 /lib/libc.so
lrwxrwxrwx 1 root root 12 Feb 6 01:09 /lib/libc.so.6 -> libc-2.33.so

gcc and ld versions:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --with-isl --with-linker-hash-style=gnu --with-system-zlib --enable-cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-install-libiberty --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-libunwind-exceptions --disable-werror gdc_include_dir=/usr/include/dlang/gdc
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.0 (GCC)
$ ld -v
GNU ld (GNU Binutils) 2.36

binutils version:
$ as --version
GNU assembler (GNU Binutils) 2.36
Copyright (C) 2021 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of \`x86_64-pc-linux-gnu\'.

ffmpeg version:
$ pacman -Q ffmpeg
ffmpeg 2:4.3.1-4

config.h: https://gist.github.com/glitsj16/ecaee6302f39f6000a9437534d19f448
config.log: https://gist.github.com/glitsj16/f3a91e8a147869cd728dc9f8de2d7674
config.mak: https://gist.github.com/glitsj16/13f951e85d74e79b6eb2c12969bfd68e

build log: https://gist.github.com/glitsj16/a7f9b8429c223ce05aad8626e5a7a852

HTH,
glitsj16

Change History (1)

comment:1 by reimar, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in r38253

Note: See TracTickets for help on using tickets.