[Buildroot] Autoreconf not compatible withpython-clean-for-reconfigure (BUG)

Przemyslaw Wrzos przemyslaw.wrzos at calyptech.com
Wed Apr 10 07:16:36 UTC 2013


Hello,

On Thu, 21 Mar 2013 at 16:51:47, Przemyslaw Wrzos wrote:

> Hi,
> 
> I've noticed that when python-clean-for-reconfigure is called, python
> will subsequently fail to build.
> 
> Steps to reproduce:
>     $ make python
>     $ make python-clean-for-reconfigure
>     $ make python
> I've tried this on some other packages with <PKG>_AUTORECONF = YES,
> using libtool v2.2, but so far I've only gotten the error with python.
> 
> Here's what the failure looks like:
> 
>>>> python 2.7.3 Autoreconfiguring
> 
>     Applying buildroot-libtool-v2.2.patch using patch:
>     patching file ltmain.sh
>     Reversed (or previously applied) patch detected!  Assume -R? [n]
>     Apply anyway? [n]
>     Skipping patch.
>     5 out of 5 hunks ignored -- saving rejects to file ltmain.sh.rej
>     Patch failed!  Please fix buildroot-libtool-v2.2.patch!
>     make: ***
> [/home/przemyslaw/work/cassini/output/build/python-
> 2.7.3/.stamp_configur ed] Error 1
> 
> This doesn't seem to affect other packages with autoreconf though.
> 
> I'm not sure what a good way to fix this is. Perhaps a way to only do
> the patching once using the LIBTOOL_PATCH_HOOK, since the autoreconf
> doesn't seem to touch the ltmain.sh file there.
> 
> Cheers, Przemyslaw Wrzos

Ping.

Cheers,
Przemyslaw Wrzos


More information about the buildroot mailing list