After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779248 - build: don't run aclocal in autogen.sh
build: don't run aclocal in autogen.sh
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-02-26 10:27 UTC by Mohammed Sadiq
Modified: 2017-02-27 13:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: don't run aclocal in autogen.sh (710 bytes, patch)
2017-02-26 10:27 UTC, Mohammed Sadiq
none Details | Review
build: don't run aclocal in autogen.sh (805 bytes, patch)
2017-02-26 11:06 UTC, Mohammed Sadiq
none Details | Review
build: don't run aclocal in autogen.sh (742 bytes, patch)
2017-02-26 11:21 UTC, Mohammed Sadiq
none Details | Review
build: don't run aclocal in autogen.sh (829 bytes, patch)
2017-02-26 11:48 UTC, Mohammed Sadiq
none Details | Review
autogen.sh: don't run aclocal (820 bytes, patch)
2017-02-26 11:50 UTC, Mohammed Sadiq
none Details | Review
autogen.sh: don't run aclocal (844 bytes, patch)
2017-02-26 14:34 UTC, Mohammed Sadiq
committed Details | Review

Description Mohammed Sadiq 2017-02-26 10:27:04 UTC
autoreconf takes care of running aclocal (and other commands) in
the right order.
Comment 1 Mohammed Sadiq 2017-02-26 10:27:11 UTC
Created attachment 346744 [details] [review]
build: don't run aclocal in autogen.sh
Comment 2 Ernestas Kulik 2017-02-26 10:38:52 UTC
Review of attachment 346744 [details] [review]:

The autoreconf line needs to be above gtkdocize. Try distcleaning before configuring and you’ll see.
Comment 3 Mohammed Sadiq 2017-02-26 10:59:40 UTC
(In reply to Ernestas Kulik from comment #2)
> Review of attachment 346744 [details] [review] [review]:
> 
> The autoreconf line needs to be above gtkdocize. Try distcleaning before
> configuring and you’ll see.

Sorry, I'm missing something. By distclean, if you mean 'make distclean' it is supposed to work only after './configure' (ie, only if there is a Makefile). Or is this something else?

I don't find any related documentation in manpage or --help of gtkdocize.
Comment 4 Ernestas Kulik 2017-02-26 11:02:45 UTC
(In reply to Mohammed Sadiq from comment #3)
> (In reply to Ernestas Kulik from comment #2)
> > Review of attachment 346744 [details] [review] [review] [review]:
> > 
> > The autoreconf line needs to be above gtkdocize. Try distcleaning before
> > configuring and you’ll see.
> 
> Sorry, I'm missing something. By distclean, if you mean 'make distclean' it
> is supposed to work only after './configure' (ie, only if there is a
> Makefile). Or is this something else?
> 
> I don't find any related documentation in manpage or --help of gtkdocize.

Oh, you’re not using jhbuild, sorry about that. git clean -xdf, then.
gtkdocize copies into the macro dir, which doesn’t exist in the repo and is created by aclocal/autoreconf.
Comment 5 Ernestas Kulik 2017-02-26 11:04:34 UTC
It also seems that Javier Jardón has been trying to add GTK-Doc support to autoreconf. I don’t know what’s the status of the patch, but it hasn’t been merged yet.
Comment 6 Mohammed Sadiq 2017-02-26 11:06:49 UTC
Created attachment 346746 [details] [review]
build: don't run aclocal in autogen.sh

autoreconf takes care of running aclocal (and other commands) in
the right order.
Comment 7 Mohammed Sadiq 2017-02-26 11:13:14 UTC
Comment on attachment 346746 [details] [review]
build: don't run aclocal in autogen.sh

Sorry. this seems again wrong.
Comment 8 Mohammed Sadiq 2017-02-26 11:21:20 UTC
Created attachment 346747 [details] [review]
build: don't run aclocal in autogen.sh

autoreconf takes care of running aclocal and other commands
in the right order.
Comment 9 Mohammed Sadiq 2017-02-26 11:48:14 UTC
Created attachment 346748 [details] [review]
build: don't run aclocal in autogen.sh

autoreconf takes care of running aclocal and other commands
in the right order.

Also, removing aclocal saves around 40 seconds (on my machine) for
running autogen.sh
Comment 10 Mohammed Sadiq 2017-02-26 11:50:14 UTC
Created attachment 346749 [details] [review]
autogen.sh: don't run aclocal

autoreconf takes care of running aclocal and other commands
in the right order.

Also, removing aclocal saves around 40 seconds (on my machine) for
running autogen.sh
Comment 11 Ernestas Kulik 2017-02-26 11:54:09 UTC
Review of attachment 346749 [details] [review]:

Yup, just what we need, thanks!
Comment 12 Mohammed Sadiq 2017-02-26 14:34:12 UTC
Created attachment 346757 [details] [review]
autogen.sh: don't run aclocal

autoreconf takes care of running aclocal and other commands
in the right order.

Also, removing aclocal saves around 40 seconds (Thanks to
Ernestas Kulik for testing) when running autogen.sh


Saying false statements are truely sin which I should always
avoid, and credit the right person.
Comment 13 Carlos Soriano 2017-02-27 12:36:23 UTC
Review of attachment 346757 [details] [review]:

I trusts you on this one, these autotools always messes with me :)
Comment 14 Mohammed Sadiq 2017-02-27 12:56:34 UTC
(In reply to Carlos Soriano from comment #13)
> I trusts you on this one, these autotools always messes with me :)

Oh. Hopefully we can revert this if someone complains. :)
And soon we are going to use meson by default . So this won't be a big issue.
Comment 15 Ernestas Kulik 2017-02-27 13:18:08 UTC
Attachment 346757 [details] pushed as 753e9d8 - autogen.sh: don't run aclocal