Skip to contentSkip to conversation

New: pixman can't apply pixman-0.10.0-no-tests.patch

Buildroot bugzilla at busybox.net 1 participant 5 messages Jul 8, 2010

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=2185

Summary: pixman can't apply pixman-0.10.0-no-tests.patch
Product: buildroot
Version: 2010.05
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: bourgeois at bertin.fr
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 2185
--> https://bugs.busybox.net/attachment.cgi?id=2185
my config file

I've got this error when I made my config :

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

pixman 0.17.6 Extracting
pixman 0.17.6 Patching package/pixman

Applying pixman-0.10.0-no-tests.patch using plaintext:
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option? The text leading up to this was:
--------------------------
|--- a/Makefile.in.orig 2008-05-23 14:04:37.000000000 +0000
|+++ b/Makefile.in 2008-05-23 14:04:50.000000000 +0000
--------------------------
File to patch:

It appears that Makefile.in doesn't exist in my output/build/pixman-0.17.6 . This Makefile.in is produced after a ./autogen.sh then I set PIXMAN_AUTORECONF=YES in the pixman.mk but this solution doesn't work neither. AUTORECONF is execute as a POST_PATCH_HOOKS and the patch fails before reaching the AUTORECONF hook.

What is the good solution ? Fix Makefile.autoconf.in to process AUTORECONF as a POST_EXTRACT_HOOKS or run ./autogen.sh manually ?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 2185] pixman can't apply pixman-0.10.0-no-tests.patch

https://bugs.busybox.net/show_bug.cgi?id=2185

--- Comment #1 from Peter Korsgaard <[email protected]> --- Strange, it works here (git version):

$ make
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

pixman 0.17.6 Extracting
pixman 0.17.6 Patching package/pixman

Applying pixman-0.10.0-no-tests.patch using plaintext:
patching file Makefile.in
Hunk #1 succeeded at 211 with fuzz 1 (offset 13 lines).
for file in config.guess config.sub; do for i in $(find /home/peko/source/buildroot/output/build/pixman-0.17.6 -name $file); do cp package/gnuconfig/$file $i; done; done

Quoted 1 line
Quoted 1 line
Quoted 1 line

Patching libtool

If you have a look in pixman-0.17.6.tar.gz, then you'll see it has a Makefile.in. Could you try rm -rf output/build/pixman* and try again?

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 2185] pixman can't apply pixman-0.10.0-no-tests.patch

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2185

--- Comment #2 from Anthoine Bourgeois <[email protected]> --- Same issue. My archive contains :

/mnt/WORK/bourgeois/buildroot-2010.05/output/build $ ls pixman-0.17.6/ AUTHORS autogen.sh ChangeLog CODING_STYLE configure.ac COPYING INSTALL Makefile.am NEWS pixman pixman-1.pc.in pixman-1-uninstalled.pc.in README RELEASING test TODO

No Makefile.in here. I downloaded it from
http://cgit.freedesktop.org/pixman/snapshot/pixman-0.17.6.tar.gz

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 2185] pixman can't apply pixman-0.10.0-no-tests.patch

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2185

--- Comment #3 from Peter Korsgaard <[email protected]> --- (In reply to comment #2)

Quoted 9 lines

Same issue. My archive contains :

/mnt/WORK/bourgeois/buildroot-2010.05/output/build $ ls pixman-0.17.6/ AUTHORS autogen.sh ChangeLog CODING_STYLE configure.ac COPYING INSTALL Makefile.am NEWS pixman pixman-1.pc.in pixman-1-uninstalled.pc.in README RELEASING test TODO

No Makefile.in here. I downloaded it from
http://cgit.freedesktop.org/pixman/snapshot/pixman-0.17.6.tar.gz

Don't do that! You get a git snapshot when you download from cgit (E.G. where make release hasn't been run, which generates Makefile.in).

How did you get that idea? The official tarball is at
http://cairographics.org/releases/pixman-0.17.6.tar.gz which is also where buildroot downloads it from.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 2185] pixman can't apply pixman-0.10.0-no-tests.patch

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=2185

Anthoine Bourgeois <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Anthoine Bourgeois <[email protected]> --- OK, it works with the right archive. Thank you !
I work on a separate environment from internet then I download all packages manually. I'll run 'make source' now I know that command.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.