[Buildroot] [RFC PATCH 1/1] pkg-autotools: generic configure fix for powerpc64

Sam Bobroff sam.bobroff at au1.ibm.com
Fri Nov 18 00:35:14 UTC 2016


On Thu, Nov 17, 2016 at 09:55:45AM +0100, Thomas Petazzoni wrote:
> Hello,
> 
> On Thu, 17 Nov 2016 07:43:35 +0100, Bernd Kuhls wrote:
> 
> > good work! The minidlna package is fixed by your patch, but the 
> 
> How can minidlna be fixed by Sam's patch? I don't see the offending
> hunk in minidlna's configure script. Am I missing something:
> 
> $ grep powerpc minidlna-1.1.5/configure

Yes ;-)

Almost all the breakages due to this problem are of this type: old
configure scripts cause libraries to be built statically, but
successfully, and then packages that use them fail to link due to
undefined symbols.

In this case it's probally libid3tag or libexif, both of which are
affected by the patch.

> > because configure is re-created during the build phase. The quote from 
> > configure comes from the second run of it.
> 
> It's not good to have configure re-created during the build phase. We
> shouldn't find out why, and fix it.
> 
> Thomas

Some packages seem to do it based on dependency rules: I found that if
I patched the libtool input files, "make" would trigger a
re-autoconfigure but I haven't really investigated it.

Cheers,
Sam.



More information about the buildroot mailing list