[Buildroot] [PATCH] package/madplay: fix build failure due to old autotools macro
giulio.benetti at micronovasrl.com
Wed Apr 17 12:45:21 UTC 2019
Il 16/04/2019 23:47, Giulio Benetti ha scritto:
> Hello Thomas,
> Il 16/04/2019 22:13, Thomas Petazzoni ha scritto:
>> On Tue, 16 Apr 2019 12:21:25 +0200
>> Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:
>>> MKINSTALLDIRS is not automatically called by autotools when
>>> This leads to have install stage error:
>>> `/bin/sh @MKINSTALLDIRS@
>>> /bin/sh: 0: Can't open @MKINSTALLDIRS@`
>>> because @MKINSTALLDIRS@ doesn't get substituted during autoreconf.
>>> Add patch that explicitly calls AM_MKINSTALLDIRS macro to substitute
>>> every @MKINSTALLDIRS@ occurence in *.in Makefile.
>>> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
>> Why is this package suddenly failing to build ? madplay hasn't been
>> updated recently, so why do we have build failures and not before ?
> MKINSTALLDIRS is very obsolete, but Autoconf and Automake are the same
> version since 2017 and 2018, so they're not the problem even if I
> thought they were.
> First failure is dated 14-04-2019.
Found, it is due to this patch:
It sets MADPLAY_AUTORECONF = YES in madplay.mk
Then "autoreconf" is called and this is why @MKINSTALLDIRS@ is not
substituted correctly, due to obsolescence of MKINSTALLDIRS macro.
I hope I've explained it decently.
>> Isn't the build failure related to the switch from gettext-gnu to
>> gettext-tiny ?
> .config has "gettext-gnu" not "gettext-tiny", so that doesn't seem the
> I try to dig deeper.
> Best regards
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642
More information about the buildroot