Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 908957

Summary: media-video/raspberrypi-omxplayer-0_p20160528-r3 fails to apply patch cross-0_p20160528.patch
Product: Gentoo Linux Reporter: Mathias Vaterlaus <m.vaterlaus>
Component: Current packagesAssignee: Miroslav Ć ulc <fordfrog>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: New Makefile patch for raspberrypi-omxplayer
emerge --info

Description Mathias Vaterlaus 2023-06-21 11:56:44 UTC
Created attachment 864333 [details, diff]
New Makefile patch for raspberrypi-omxplayer

When I tried to compile raspberrypi-omxplayer on my 32 Bit Gentoo Install, I came across the following Problem:

>>> Emerging (2 of 15) media-video/raspberrypi-omxplayer-0_p20160528-r3::gentoo
 * raspberrypi-omxplayer-0_p20160528.tar.gz BLAKE2B SHA512 size ;-) ...                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking raspberrypi-omxplayer-0_p20160528.tar.gz to /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/work
>>> Source unpacked in /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/work
>>> Preparing source in /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/work/popcornmix-omxplayer-791d7df ...
 * Applying Makefile-0_p20160528.patch ...                                                                                     [ ok ]
 * Applying fonts-path.patch ...                                                                                               [ ok ]
 * Applying cross-0_p20160528.patch ...
patching file Makefile
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej                                                                  [ !! ]
 * ERROR: media-video/raspberrypi-omxplayer-0_p20160528-r3::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch
 * 
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 2401:  Called default
 *      phase-functions.sh, line  872:  Called default_src_prepare
 *      phase-functions.sh, line  937:  Called __eapi6_src_prepare
 *             environment, line  213:  Called eapply '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/Makefile-0_p20160528.patch' '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/fonts-path.patch' '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch'
 *             environment, line  756:  Called _eapply_patch '/var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch'
 *             environment, line  694:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/media-video/raspberrypi-omxplayer-0_p20160528-r3/files/cross-0_p20160528.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"

So patching the Makefile with Patch cross-0_p20160528-r1.patch failed. I created a new patch for applying the corresponding changes to
the Makefile. I tested the patch within a local overlay and the patch could be applied correctly.

The new patch file is attached to this bug report.
Comment 1 Mathias Vaterlaus 2023-06-26 09:18:41 UTC
Created attachment 864627 [details]
emerge --info

Sorry, I forgot to attach emerge --info output.