Summary: | media-tv/mythtv-33.1-r1::gentoo failed (prepare phase) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Norman Back <gentoo3> |
Component: | Current packages | Assignee: | Wilson M. Michaels <thebitpit> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eschwartz93, florian-evers, gentoo, neil, proxy-maint, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
environment.gz build.log environment media-tv/mythtv: fix broken patch |
Description
Norman Back
2024-01-10 07:54:05 UTC
emerge -pqv '=media-tv/mythtv-33.1-r1::gentoo' [ebuild U ] media-tv/mythtv-33.1-r1 [33.1] USE="X alsa cdda cdr cec dvb dvd exif fftw hdhomerun ieee1394 lame lirc opengl oss perl pulseaudio python raw v4l vdpau wrapper x264 xml xmltv xvid -asi -autostart -ceton -debug -jack -java -lcd -libass -nvdec -systemd -vaapi -vbox -vpx -x265 -zeroconf" INPUT_DEVICES="-joystick" Tried to upload buildlog and environment files but failed:- <<< This site can’t be reachedThe web page at https://bugs.gentoo.org/attachment.cgi might be temporarily down or it may have moved permanently to a new web address. ERR_ACCESS_DENIED >> I will try again later. It looks as though the paths in the python3.12.patch are incorrect. Created attachment 881809 [details]
build.log
Created attachment 881810 [details]
environment.gz
Created attachment 881811 [details]
build.log
build.log uncompressed
Created attachment 881812 [details]
environment
environment uncompressed
Exactly the same error here. Same error here, thanks for reporting! Created attachment 881880 [details, diff] media-tv/mythtv: fix broken patch Oops. I thought I tested this with `ebuild ...` but perhaps I did so with unpack instead of prepare. It wasn't practical to test emerging, since it's ~arch *and* requires accepting new licenses *and* changing USE flags and I have no use for it other than treecleaning "future"... The issue is that eapply is patching against a subdirectory rather than against the tarball root. Updated the patch. It actually works this time: ``` # ebuild mythtv-33.1-r1.ebuild clean prepare * mythtv-33.1.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mythtv-33.1.tar.gz to /var/tmp/portage/media-tv/mythtv-33.1-r1/work >>> Source unpacked in /var/tmp/portage/media-tv/mythtv-33.1-r1/work >>> Preparing source in /var/tmp/portage/media-tv/mythtv-33.1-r1/work/mythtv-33.1/mythtv ... * Applying mythtv-33.1-libva.patch ... [ ok ] * Applying mythtv-33.1-ffmpeg-binutils-2.41.patch ... [ ok ] * Applying mythtv-33.1-linux-headers-6.5.patch ... [ ok ] * Applying mythtv-33.1-python3.12.patch ... patching file configure patching file programs/scripts/hardwareprofile/smolt.py patching file configure patching file programs/scripts/hardwareprofile/MultipartPostHandler.py patching file programs/scripts/hardwareprofile/distros/mythtv_data/request.py patching file programs/scripts/hardwareprofile/distros/mythtv_data/uuiddb.py patching file programs/scripts/hardwareprofile/hwdata.py patching file programs/scripts/hardwareprofile/os_detect.py patching file programs/scripts/hardwareprofile/request.py patching file programs/scripts/hardwareprofile/scan.py patching file programs/scripts/hardwareprofile/uuiddb.py [ ok ] >>> Source prepared. ``` The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecc8eaf12dc554f02cdf1a7a4e1a7435f88f311d commit ecc8eaf12dc554f02cdf1a7a4e1a7435f88f311d Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-01-10 22:54:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-11 12:02:27 +0000 media-tv/mythtv: fix broken patch Recreate patch to work when applied with -p2, since ${S} is not the tarball root. Fixes: f785d71faf63548afe5e2f6fb4ee03da1c686597 Closes: https://bugs.gentoo.org/921694 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> media-tv/mythtv/files/mythtv-33.1-python3.12.patch | 20 +++----------------- media-tv/mythtv/mythtv-33.1-r1.ebuild | 9 +++++---- 2 files changed, 8 insertions(+), 21 deletions(-) eix-sync and compiled OK. Thank you. |