media-video/transcode-1.1.7-r5::gentoo failed (prepare phase): * Applying transcode-1.1.7-imagemagick7.patch ... [ ok ] * Applying transcode-1.1.7-ffmpeg4.patch ... [ ok ] * Applying transcode-1.1.7-fno-common.patch ... patching file import/demux_pass.c Hunk #1 FAILED at 32. 1 out of 1 hunk FAILED -- saving rejects to file import/demux_pass.c.rej patching file import/extract_ac3.c Hunk #1 FAILED at 334. Hunk #2 succeeded at 473 with fuzz 2 (offset 1 line). 1 out of 2 hunks FAILED -- saving rejects to file import/extract_ac3.c.rej patching file import/extract_mp3.c Hunk #1 FAILED at 243. Hunk #2 succeeded at 188 with fuzz 2 (offset -70 lines). 1 out of 2 hunks FAILED -- saving rejects to file import/extract_mp3.c.rej [ !! ] * ERROR: media-video/transcode-1.1.7-r5::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/media-video/transcode-1.1.7-r5/transcode-1.1.7-fno-common.patch * * Applying transcode-1.1.7-imagemagick7.patch ... [ ok ] * Applying transcode-1.1.7-ffmpeg4.patch ... [ ok ] * Applying transcode-1.1.7-fno-common.patch ... patching file import/demux_pass.c Hunk #1 FAILED at 32. 1 out of 1 hunk FAILED -- saving rejects to file import/demux_pass.c.rej patching file import/extract_ac3.c Hunk #1 FAILED at 334. Hunk #2 succeeded at 473 with fuzz 2 (offset 1 line). 1 out of 2 hunks FAILED -- saving rejects to file import/extract_ac3.c.rej patching file import/extract_mp3.c Hunk #1 FAILED at 243. Hunk #2 succeeded at 188 with fuzz 2 (offset -70 lines). 1 out of 2 hunks FAILED -- saving rejects to file import/extract_mp3.c.rej [ !! ] * ERROR: media-video/transcode-1.1.7-r5::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/media-video/transcode-1.1.7-r5/transcode-1.1.7-fno-common.patch * Reproducible: Always Steps to Reproduce: 1. emerge --sync 2. emerge -auvDN world Actual Results: It failed to build Expected Results: It should not fail
Created attachment 674410 [details] build.log
Created attachment 674413 [details] emerge -pqv '=media-video/transcode-1.1.7-r5::gentoo'
Created attachment 674416 [details] emerge --info '=media-video/transcode-1.1.7-r5::gentoo'
The 2nd one is your own patch. * Applying transcode-1.1.7-gcc10-fno-common.patch * Applying transcode-1.1.7-fno-common.patch patch -p1 failed with /etc/portage/patches/media-video/transcode-1.1.7-r5/transcode-1.1.7-fno-common.patch
I removed the user patch and it completed the build the build with no problem. The patch was for bug 707162 – media-video/transcode-1.1.7-r3 : fails to build with -fno-common or gcc-10 https://bugs.gentoo.org/707162 It seems it is not required anymore. Sorry for the false alarm.
I guess this is invalid then.