Your message dated Thu, 2 Jan 2025 13:21:18 +0100
with message-id <ac1124a6-f6a5-45a1-a861-fc24f87c0...@debian.org>
and subject line Re: Bug#1091909: ffmpeg: Debuild fatal error: Create 
index.html page for the FFmpeg manual
has caused the Debian Bug report #1091909,
regarding ffmpeg: Debuild fatal error:  Create index.html page for the FFmpeg 
manual
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1091909: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1091909
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Justification: fails to build from source (but built successfully in the past)

Hi.

While we appreciate that you took the time to write a detailed bug report,
this is not a "fails to build from source" bug in the usual sense.

Apparently, you took the Debian source and made some modifications:

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

If you do that, you are responsible for whatever build failure that you might 
get.

In particular, the error you get seems to be correlated with the --disable-doc 
that
you added:

# 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

Debian can only ensure that packages build from source for the
Debian source package that we provide, not for any random
alteration that you could make.

Additionally, we support building with some variations when
using the DEB_BUILD_OPTIONS environment variable.

For example, had this package supported the "nodoc" option, and
had you tried to use such option, this would be indeed a bug
(but not serious).

Also, for trixie and above, if you get a build failure
using "nocheck", that would be serious.

Thanks.

--- End Message ---

Reply via email to