Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libdrm patch fails #23

Closed
fmhess opened this issue Nov 25, 2018 · 1 comment
Closed

libdrm patch fails #23

fmhess opened this issue Nov 25, 2018 · 1 comment

Comments

@fmhess
Copy link

fmhess commented Nov 25, 2018

Sometime in the past few days, libdrm has starting failing to patch (I'm using the sumo branch):

ERROR: libdrm-2.4.96-r0 do_patch: Command Error: 'quilt --quiltrc /home/fmhess/git/fluke-cda-setup/angstrom-v2018.06-sumo-fluke-cda-manifest/build/tmp-angstrom-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/libdrm/2.4.96-r0/recipe-sysroot-native/etc/quiltrc push' exited with 0 Output:
Applying patch installtests.patch
patching file tests/Makefile.am
Hunk #1 FAILED at 45.
1 out of 1 hunk FAILED -- rejects in file tests/Makefile.am
Patch installtests.patch does not apply (enforce with -f)
ERROR: libdrm-2.4.96-r0 do_patch: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: /home/fmhess/git/fluke-cda-setup/angstrom-v2018.06-sumo-fluke-cda-manifest/build/tmp-angstrom-glibc/work/armv7at2hf-neon-angstrom-linux-gnueabi/libdrm/2.4.96-r0/temp/log.do_patch.9857
ERROR: Task (/home/fmhess/git/fluke-cda-setup/angstrom-v2018.06-sumo-fluke-cda-manifest/layers/meta-angstrom/recipes-tweaks/drm/libdrm_2.4.96.bb:do_patch) failed with exit code '1'

@koenkooi
Copy link
Contributor

I think I know what's happening here, I have PATCHTOOL = "git" in local.conf, which has no problem with that patch. The default quilt tool however does have problems with it, even after regenerating the patch against the 'libdrm-2.4.96' upstream tag.
I should have a fix ready later today.

koenkooi added a commit that referenced this issue Nov 26, 2018
I'm not sure why it was failing, but renaming the patches finally fixed
it.

Fixes #23

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants