All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70
@ 2021-10-06 16:20 Fabrice Fontaine
  2021-10-06 20:35 ` James Hilliard
  2021-10-12 20:53 ` Arnout Vandecappelle
  0 siblings, 2 replies; 4+ messages in thread
From: Fabrice Fontaine @ 2021-10-06 16:20 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni

The following build failure is raised since bump of autoconf to version
2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da and
http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768:

Can't exec "gtkdocize": No such file or directory at /home/buildroot/autobuild/instance-1/output-1/host/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: gtkdocize failed with exit status: 2

This failure is raised because autoreconf runs gtkdocize if configure.ac
contains GTK_DOC_CHECK, so set GTKDOCIZE to true in pkg-autotools to fix
this issue for all affected packages (i.e. host-libgtk3, libtasn1,
raptor, etc.). Indeed, gtk-doc is already forcefully disabled in
pkg-autotools through --disable-gtk-doc configure flag.

Fixes:
 - http://autobuild.buildroot.org/results/ce974281acdd6729327f2083b24f62485f9b1e1a
 - http://autobuild.buildroot.org/results/23dd993be4dcd7937d48eef4521690bf30123979
 - http://autobuild.buildroot.org/results/bcf489ccd41197b57b39312b369921467f295431

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/pkg-autotools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index daa688dab6..7720d6ffe7 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -100,7 +100,7 @@ endef
 #
 define AUTORECONF_HOOK
 	@$(call MESSAGE,"Autoreconfiguring")
-	$(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
+	$(Q)cd $($(PKG)_SRCDIR) && GTKDOCIZE="true" $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
 endef
 
 ################################################################################
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70
  2021-10-06 16:20 [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70 Fabrice Fontaine
@ 2021-10-06 20:35 ` James Hilliard
  2021-10-12 20:53 ` Arnout Vandecappelle
  1 sibling, 0 replies; 4+ messages in thread
From: James Hilliard @ 2021-10-06 20:35 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Thomas Petazzoni, buildroot

On Wed, Oct 6, 2021 at 10:21 AM Fabrice Fontaine
<fontaine.fabrice@gmail.com> wrote:
>
> The following build failure is raised since bump of autoconf to version
> 2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da and
> http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768:
>
> Can't exec "gtkdocize": No such file or directory at /home/buildroot/autobuild/instance-1/output-1/host/share/autoconf/Autom4te/FileUtils.pm line 293.
> autoreconf: error: gtkdocize failed with exit status: 2
>
> This failure is raised because autoreconf runs gtkdocize if configure.ac
> contains GTK_DOC_CHECK, so set GTKDOCIZE to true in pkg-autotools to fix
> this issue for all affected packages (i.e. host-libgtk3, libtasn1,
> raptor, etc.). Indeed, gtk-doc is already forcefully disabled in
> pkg-autotools through --disable-gtk-doc configure flag.
>
> Fixes:
>  - http://autobuild.buildroot.org/results/ce974281acdd6729327f2083b24f62485f9b1e1a
>  - http://autobuild.buildroot.org/results/23dd993be4dcd7937d48eef4521690bf30123979
>  - http://autobuild.buildroot.org/results/bcf489ccd41197b57b39312b369921467f295431
>
Reviewed-by: James Hilliard <james.hilliard1@gmail.com>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/pkg-autotools.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
> index daa688dab6..7720d6ffe7 100644
> --- a/package/pkg-autotools.mk
> +++ b/package/pkg-autotools.mk
> @@ -100,7 +100,7 @@ endef
>  #
>  define AUTORECONF_HOOK
>         @$(call MESSAGE,"Autoreconfiguring")
> -       $(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
> +       $(Q)cd $($(PKG)_SRCDIR) && GTKDOCIZE="true" $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
>  endef
>
>  ################################################################################
> --
> 2.33.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70
  2021-10-06 16:20 [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70 Fabrice Fontaine
  2021-10-06 20:35 ` James Hilliard
@ 2021-10-12 20:53 ` Arnout Vandecappelle
  2021-10-12 20:53   ` Arnout Vandecappelle
  1 sibling, 1 reply; 4+ messages in thread
From: Arnout Vandecappelle @ 2021-10-12 20:53 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Thomas Petazzoni



On 06/10/2021 18:20, Fabrice Fontaine wrote:
> The following build failure is raised since bump of autoconf to version
> 2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da and
> http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768:
> 
> Can't exec "gtkdocize": No such file or directory at /home/buildroot/autobuild/instance-1/output-1/host/share/autoconf/Autom4te/FileUtils.pm line 293.
> autoreconf: error: gtkdocize failed with exit status: 2
> 
> This failure is raised because autoreconf runs gtkdocize if configure.ac
> contains GTK_DOC_CHECK, so set GTKDOCIZE to true in pkg-autotools to fix
> this issue for all affected packages (i.e. host-libgtk3, libtasn1,
> raptor, etc.). Indeed, gtk-doc is already forcefully disabled in
> pkg-autotools through --disable-gtk-doc configure flag.
> 
> Fixes:
>   - http://autobuild.buildroot.org/results/ce974281acdd6729327f2083b24f62485f9b1e1a
>   - http://autobuild.buildroot.org/results/23dd993be4dcd7937d48eef4521690bf30123979
>   - http://autobuild.buildroot.org/results/bcf489ccd41197b57b39312b369921467f295431
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

  I have instead applied [1], which puts it in AUTORECONF itself. I think that's 
a more appropriate place since it also has AUTPOINT=/bin/true already.

  Regards,
  Arnout

> ---
>   package/pkg-autotools.mk | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
> index daa688dab6..7720d6ffe7 100644
> --- a/package/pkg-autotools.mk
> +++ b/package/pkg-autotools.mk
> @@ -100,7 +100,7 @@ endef
>   #
>   define AUTORECONF_HOOK
>   	@$(call MESSAGE,"Autoreconfiguring")
> -	$(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
> +	$(Q)cd $($(PKG)_SRCDIR) && GTKDOCIZE="true" $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
>   endef
>   
>   ################################################################################
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70
  2021-10-12 20:53 ` Arnout Vandecappelle
@ 2021-10-12 20:53   ` Arnout Vandecappelle
  0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2021-10-12 20:53 UTC (permalink / raw)
  To: Fabrice Fontaine, buildroot; +Cc: Thomas Petazzoni


On 12/10/2021 22:53, Arnout Vandecappelle wrote:
>
>
> On 06/10/2021 18:20, Fabrice Fontaine wrote:
>> The following build failure is raised since bump of autoconf to version
>> 2.71 in commit ecd54b65c1f998a7ccd91f7c523e4ff38c4781da and
>> http://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commit;h=dd880a0a6de5602cdd40b770ed6b083b34aa0768: 
>>
>>
>> Can't exec "gtkdocize": No such file or directory at 
>> /home/buildroot/autobuild/instance-1/output-1/host/share/autoconf/Autom4te/FileUtils.pm 
>> line 293.
>> autoreconf: error: gtkdocize failed with exit status: 2
>>
>> This failure is raised because autoreconf runs gtkdocize if configure.ac
>> contains GTK_DOC_CHECK, so set GTKDOCIZE to true in pkg-autotools to fix
>> this issue for all affected packages (i.e. host-libgtk3, libtasn1,
>> raptor, etc.). Indeed, gtk-doc is already forcefully disabled in
>> pkg-autotools through --disable-gtk-doc configure flag.
>>
>> Fixes:
>>   - 
>> http://autobuild.buildroot.org/results/ce974281acdd6729327f2083b24f62485f9b1e1a
>>   - 
>> http://autobuild.buildroot.org/results/23dd993be4dcd7937d48eef4521690bf30123979
>>   - 
>> http://autobuild.buildroot.org/results/bcf489ccd41197b57b39312b369921467f295431
>>
>> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
>
>  I have instead applied [1], which puts it in AUTORECONF itself. I think 
> that's a more appropriate place since it also has AUTPOINT=/bin/true already.
>
>  Regards,
>  Arnout

[1] 
https://patchwork.ozlabs.org/project/buildroot/patch/VI1P190MB0493F6B7C3CA5E53F0A7B9049FB59@VI1P190MB0493.EURP190.PROD.OUTLOOK.COM/


>
>> ---
>>   package/pkg-autotools.mk | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
>> index daa688dab6..7720d6ffe7 100644
>> --- a/package/pkg-autotools.mk
>> +++ b/package/pkg-autotools.mk
>> @@ -100,7 +100,7 @@ endef
>>   #
>>   define AUTORECONF_HOOK
>>       @$(call MESSAGE,"Autoreconfiguring")
>> -    $(Q)cd $($(PKG)_SRCDIR) && $($(PKG)_AUTORECONF_ENV) $(AUTORECONF) 
>> $($(PKG)_AUTORECONF_OPTS)
>> +    $(Q)cd $($(PKG)_SRCDIR) && GTKDOCIZE="true" $($(PKG)_AUTORECONF_ENV) 
>> $(AUTORECONF) $($(PKG)_AUTORECONF_OPTS)
>>   endef
>> ################################################################################
>>
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-12 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 16:20 [Buildroot] [PATCH 1/1] package/pkg-autotools: fix autoreconf with autoconf >= 2.70 Fabrice Fontaine
2021-10-06 20:35 ` James Hilliard
2021-10-12 20:53 ` Arnout Vandecappelle
2021-10-12 20:53   ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.