Source: ffmpeg
Version: ffmpeg_5.1.6-0+deb12u1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: rny.by...@passmail.net

Dear Maintainer,

Downloaded Sourcefile and build dependencies of stable version
        apt source ffmpeg=7:5.1.6-0
        apt build-fep ffmpeg=7:5.1.6-0

Extracted and copy Debian package
        tar -xf ffmpeg_5.1.6-0+deb12u1.debian.tar.xz
        cp debian ffmpeg-5.1.6

Rules:
        changed --prefix=/usr/local
        removed --enable-libbluray
        removed --enable-libcdio
        removed --enable-libjack
        added --disable-doc

Flags:
        export CFLAGS="-O2 -march=native -pipe"
        export CXXFLAGS=$CFLAGS
Build
        nice -n 19 sudo debuild -b -uc -us

Error:
[...]
mkdir -p "/tmp/ffmpeg/ffmpeg-5.1.6/debian/tmp/usr/local/share/ffmpeg/examples"
install -m 644 /tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/avio_list_dir.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/avio_reading.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/decode_audio.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/decode_video.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/demuxing_decoding.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/encode_audio.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/encode_video.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/extract_mvs.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/filter_audio.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/filtering_audio.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/filtering_video.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/http_multiclient.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/hw_decode.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/metadata.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/muxing.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/qsvdec.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/remuxing.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/resampling_audio.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/scaling_video.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/transcode_aac.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/transcoding.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/vaapi_encode.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/vaapi_transcode.c 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/README 
/tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/Makefile 
"/tmp/ffmpeg/ffmpeg-5.1.6/debian/tmp/usr/local/share/ffmpeg/examples"
install -m 644 /tmp/ffmpeg/ffmpeg-5.1.6/doc/examples/Makefile.example 
"/tmp/ffmpeg/ffmpeg-5.1.6/debian/tmp/usr/local/share/ffmpeg/examples/Makefile"
make[2]: Leaving directory '/tmp/ffmpeg/ffmpeg-5.1.6/debian/standard'
# Create index.html page for the FFmpeg manual
cd debian/tmp/usr/share/doc/ffmpeg && tree -H '.' -L 1 -P '*.html' --noreport 
--charset utf-8 -T 'FFmpeg Manual Index' -o index.html
/bin/sh: 1: cd: can't cd to debian/tmp/usr/share/doc/ffmpeg
make[1]: *** [debian/rules:320: override_dh_auto_install-indep] Error 2
make[1]: Leaving directory '/tmp/ffmpeg/ffmpeg-5.1.6'
make: *** [debian/rules:247: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui -b failed


-- System Information:
Debian Release: 12.8
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-28-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to