- Package:
- src:ffmpeg
- Source:
- src:ffmpeg
- Submitter:
- rny
- Date:
- 2025-01-02 12:33:01 UTC
- Severity:
- normal
- Tags:
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
Am Donnerstag, dem 02.01.2025 um 12:51 +0100 schrieb rny: Well, you changed the prefix to /usr/local yourself, right? - Fabian
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: 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: 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.
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: 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: 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.
Sent with Proton Mail secure email. Thank you for immediate reply Yes, also the other listed changes in the rules file were changed by myself! BTW, the mentioned index.html file was created. Why is it creating docs, eventhough --disable-doc was added?