Opened 12 months ago

Closed 11 months ago

Last modified 11 months ago

#19718 closed enhancement (fixed)

ffmpeg-7 causes other packages to fail — at Version 10

Reported by: Bruce Dubbs Owned by: blfs-book
Priority: normal Milestone: 12.2
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description (last modified by Bruce Dubbs)

xine-lib - fixed
vlc - fixed

Add others and fixes here as we find them.

Change History (10)

comment:1 by Xi Ruoyao, 12 months ago

Also QtWebEngine (now we've worked around by using internal ffmpeg, but it's not a perfect solution)

comment:2 by Bruce Dubbs, 12 months ago

mlt has been fixed to use ffmpeg-7 in mlt-7.24.0.

comment:3 by Douglas R. Reno, 11 months ago

gst-libav fixed again at 1fc1afb4cfbf8625134c04731b61685fc1ee6218

comment:5 by Bruce Dubbs, 11 months ago

I tried that patch and it applied OK (along with the vlc-3.0.20-taglib-1.patch, but the build failed. I suspect though it is a gcc14 problem now:

export LUAC=/usr/bin/luac5.2 &&
export LUA_LIBS="$(pkg-config --libs lua52)" &&
export CPPFLAGS="$(pkg-config --cflags lua52)" &&

patch -Np1 -i $DIR/$PROGRAM-taglib-1.patch
patch -Np1 -i $DIR/$PROGRAM-fedora_ffmpeg7-1.patch

BUILDCC=gcc ./configure --prefix=/usr --disable-libplacebo &&
make

...

input/input.c: In function ‘InitTitle’:
input/input.c:910:19: error: assignment to ‘const input_title_t **’ from 
incompatible pointer type ‘input_title_t **’ [-Wincompatible-pointer-types]
  910 |     priv->title   = p_master->title;
      |                   ^

in reply to:  5 comment:6 by Douglas R. Reno, 11 months ago

Replying to Bruce Dubbs:

I tried that patch and it applied OK (along with the vlc-3.0.20-taglib-1.patch, but the build failed. I suspect though it is a gcc14 problem now:

export LUAC=/usr/bin/luac5.2 &&
export LUA_LIBS="$(pkg-config --libs lua52)" &&
export CPPFLAGS="$(pkg-config --cflags lua52)" &&

patch -Np1 -i $DIR/$PROGRAM-taglib-1.patch
patch -Np1 -i $DIR/$PROGRAM-fedora_ffmpeg7-1.patch

BUILDCC=gcc ./configure --prefix=/usr --disable-libplacebo &&
make

...

input/input.c: In function ‘InitTitle’:
input/input.c:910:19: error: assignment to ‘const input_title_t **’ from 
incompatible pointer type ‘input_title_t **’ [-Wincompatible-pointer-types]
  910 |     priv->title   = p_master->title;
      |                   ^

Check this out for this: https://src.fedoraproject.org/rpms/vlc/blob/rawhide/f/4645.patch

comment:7 by Bruce Dubbs, 11 months ago

Yes, that works. With

    patch -Np1 -i $DIR/$PROGRAM-taglib-1.patch
    patch -Np1 -i $DIR/$PROGRAM-fedora_ffmpeg7-1.patch
    patch -Np1 -i $DIR/$PROGRAM-gcc14-1.patch

the vlc build completes successfully. I have not tested it out though. There are 467 warnings.

comment:9 by Bruce Dubbs, 11 months ago

Description: modified (diff)

vlc has been fixed with two seds from fedora.

comment:10 by Bruce Dubbs, 11 months ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Added a sed to fix xine-lib. As far as I know that is the last ffmpeg-7 issue. Marking this as closed, but if we run into another ffmpeg-7, we should create another ticket.

Note: See TracTickets for help on using tickets.