Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920570 - media-video/ffmpeg-4.4.4-r8 fails to build with enabled use-flag doc
Summary: media-video/ffmpeg-4.4.4-r8 fails to build with enabled use-flag doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-23 13:59 UTC by Joerg Schaible
Modified: 2024-01-07 08:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2023-12-23 13:59:06 UTC
If the doc use-flag is enabled for ffmpeg-4.4.4-r1, the build fails.


Reproducible: Always

Steps to Reproduce:
1. Activate the doc use-flag for media-video/ffmpeg
2. Build ffmpeg-4.4.4-r1

Actual Results:  
The build fails with the error below

Expected Results:  
succeeding build

makeinfo: error parsing /var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4/doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at /var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4/doc/t2h.pm line 24.
make: *** [/var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4/doc/Makefile:67: doc/ffmpeg.html] Error 1
make: *** Waiting for unfinished jobs....
skipping strip -x libavresample/x86/audio_convert.o
makeinfo: error parsing /var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4/doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at /var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4/doc/t2h.pm line 24.
make: *** [/var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4/doc/Makefile:67: doc/ffplay.html] Error 1
skipping strip -x libavcodec/x86/vp9lpf.o
skipping strip -x libavresample/x86/audio_mix.o
skipping strip -x libavcodec/x86/vp9itxfm.o
 * ERROR: media-video/ffmpeg-4.4.4-r8::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-video/ffmpeg-4.4.4-r8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/ffmpeg-4.4.4-r8::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-video:ffmpeg-4.4.4-r8:20231223-110729.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/temp/environment'.
 * Working directory: '/var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4-abi_x86_64.amd64'
 * S: '/var/tmp/portage/portage/media-video/ffmpeg-4.4.4-r8/work/ffmpeg-4.4.4'

$ emerge --info
fatal: detected dubious ownership in repository at '/mnt/portage/tree/central'
To add an exception for this directory, call:

        git config --global --add safe.directory /mnt/portage/tree/central
Portage 3.0.57 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-13, glibc-2.37-r7, 6.1.66-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-6.1.66-gentoo-x86_64-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.37
KiB Mem:    32810408 total,  22073596 free
KiB Swap:   67108860 total,  67108860 free
Timestamp of repository gentoo: Fri, 22 Dec 2023 19:32:02 +0000
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p7) 2.40.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r9::gentoo, 2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /mnt/portage/tree/central
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: True

local
    location: /mnt/portage/tree/local
    masters: gentoo
    volatile: True

Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
DISTDIR="/mnt/portage/distfiles/knoepfle"
EMERGE_DEFAULT_OPTS="--autounmask=n --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.cc.uoc.gr/mirrors/linux/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.klid.dk/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="de en en_GB en_US fr"
MAKEOPTS="-j12 -s"
PKGDIR="/mnt/portage/packages/athlon2"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp/portage"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bmp branding bzip2 cairo caps cdda cdr cli crypt cups curl dbus declarative dga dri dts dvd dvdr elogind encode exif flac fortran gdbm gif gpm gstreamer gtk gui iconv icu idn jpeg jpeg2k kde kwallet lcms libnotify libtirpc mad maildir mmap mng mp3 mp4 mpeg multilib mysql ncurses networkmanager nls nptl odbc ogg opengl openmp openssh pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg syslog test-rust threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vulkan wayland webp widgets wxwidgets x264 xattr xcb xft xml xpm xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" SANE_BACKENDS="net" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-23 14:00:48 UTC
Need to backport the texi fixes from 6.1
Comment 3 Larry the Git Cow gentoo-dev 2024-01-03 06:39:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb2656e79a37fe7b11b2f8888bccd78930e05a7b

commit fb2656e79a37fe7b11b2f8888bccd78930e05a7b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-03 06:35:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-03 06:35:32 +0000

    media-video/ffmpeg: backport texinfo fixes to 4.4
    
    Closes: https://bugs.gentoo.org/920570
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/Manifest               |  1 +
 media-video/ffmpeg/ffmpeg-4.4.4-r8.ebuild | 13 ++++++++++++-
 2 files changed, 13 insertions(+), 1 deletion(-)
Comment 4 Cyp 2024-01-06 08:50:45 UTC
Got the same issue with media-video/ffmpeg-6.0-r9.

makeinfo: error parsing /var/tmp/portage/media-video/ffmpeg-6.0-r9/work/ffmpeg-6.0/doc/t2h.pm: Undefined subroutine &Texinfo::Config::set_from_init_file called at /var/tmp/portage/media-video/ffmpeg-6.0-r9/work/ffmpeg-6.0/doc/t2h.pm line 24.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-07 08:20:18 UTC
(In reply to Cyp from comment #4)
> Got the same issue with media-video/ffmpeg-6.0-r9.
> 
> makeinfo: error parsing
> /var/tmp/portage/media-video/ffmpeg-6.0-r9/work/ffmpeg-6.0/doc/t2h.pm:
> Undefined subroutine &Texinfo::Config::set_from_init_file called at
> /var/tmp/portage/media-video/ffmpeg-6.0-r9/work/ffmpeg-6.0/doc/t2h.pm line
> 24.

6.0.1 has this fixed so let's stable that.