[Buildroot] [PATCH 1/1] open-lldp: new package

Yegor Yefremov yegorslists at googlemail.com
Mon Jan 15 14:52:46 UTC 2018


On Mon, Jan 15, 2018 at 1:50 PM, Laurent Charpentier
<laurent_pubs at yahoo.com> wrote:
> Hi Thomas and Yegor,
>
> On Fri, 12 Jan 2018 22:29:44 +0100, Yegor Yefremov wrote:
>
>> > So instead, please keep <pkg>_AUTORECONF = YES, and if the missing m4
>> > folder is the only problem (but I doubt it because the bootstrap.sh
>> > script doesn't create it), then add a post-extract hook that creates
>> > the m4 file.
>>
>> bootstrap.sh doesn't create m4 folder, but if you just clone the
>> open-lldp repo and invoke "autoreconf -i", it would just complain
>> about missing m4 folder, but create it. In BR environment we get an
>> error. We had similar situation earlier with some other package
>> (libsoc) and I coudn't find the case of the problem, so I just added
>> m4 upstream and now it is working.
>
> Here are some experiments on my side.
> (1) AUTORECONF=yes (no use of ./bootstrap.sh)
> -> ./configure fails

use this variant and create a LIBFOO_PRE_CONFIGURE_HOOKS in order to
create m4 folder via "mkdir -p". That's all. This way you'll preserve
depedency on host-autoconf, host-automake and host-libtool.

Yegor


More information about the buildroot mailing list