Use autoconf AM_MAINTAINER_MODE.
----- Original Message -----
Quoted 9 lines
From: "Lars Persson" <[email protected]>
To: [email protected]
Cc: "Lars Persson" <[email protected]>
Sent: Wednesday, March 12, 2014 5:05:17 AM
Subject: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.Give distribution maintainers the option to skip rebuilding autoconf and automake generated files. The default behaviour is still to have the rebuild rules enabled.
I just did some reading on this, and found:
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
So, in what use-case is --disable-maintainer-mode useful nowadays ? All it seems to do is to stop ensuring that Makefile are consistent with changes to Makefile.am.
Thanks,
Mathieu
Quoted 27 lines
Signed-off-by Lars Persson <[email protected]>--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)configure.ac +1
-1@@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) --1.7.2.5
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
It is useful when unpacking the distribution tarballs into another revision control system that doesn't preserve timestamps. If we retrigger autoconf, then some developer workstations will fail on the builds because they have outdated autoconf packages.
- Lars
Quoted 62 lines
-----Original Message-----
From: Mathieu Desnoyers [mailto:[email protected]]
Sent: den 12 mars 2014 20:00
To: Lars Persson
Cc: [email protected]; Lars Persson
Subject: Re: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.----- Original Message -----
Quoted 5 lines
From: "Lars Persson" <[email protected]>
To: [email protected]
Cc: "Lars Persson" <[email protected]>
Sent: Wednesday, March 12, 2014 5:05:17 AM
Subject: [lttng-dev] [PATCH babeltrace] Use autoconf
AM_MAINTAINER_MODE.Quoted 4 lines
Give distribution maintainers the option to skip rebuilding autoconf and automake generated files. The default behaviour is still to have the rebuild rules enabled.
I just did some reading on this, and found:
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
So, in what use-case is --disable-maintainer-mode useful nowadays ? All it seems to do is to stop ensuring that
Makefileare consistent with changes to Makefile.am.Thanks,
Mathieu
configure.ac index 7a98612..faa3f98
Quoted 7 lines
Signed-off-by Lars Persson <[email protected]>--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)configure.ac index 7a98612..faa3f98 renamed from configure.ac +0
-0100644
Quoted 12 lines
configure.ac +1
-1@@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) --1.7.2.5
Quoted 5 lines
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
Quoted 1 line · Lars Persson
It is useful when unpacking the distribution tarballs into another revision control system that doesn't preserve timestamps. If we retrigger autoconf, then some developer workstations will fail on the builds because they have outdated autoconf packages.
Without using AM_MAINTAINER_MODE we let users pay for something (having recent autotools installed on their machines) that they will not need in most cases. Using AM_MAINTAINER_MODE allows you to suppress the dependency to autotools if you are sure you do not really need it (e.g. you are not changing any Makefile.am or configure.ac).
If you ever tried to install a new version of LTTng on an ancient Linux installation running on a VM in another timezone you will be very happy if you do not need to also install new autotools packages prior to building and installing the lttng packages.
--
Thanks,
Paul
Quoted 70 lines
- Lars
Quoted 52 lines
-----Original Message-----
From: Mathieu Desnoyers [mailto:[email protected]]
Sent: den 12 mars 2014 20:00
To: Lars Persson
Cc: [email protected]; Lars Persson
Subject: Re: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.----- Original Message -----
Quoted 5 lines
From: "Lars Persson" <[email protected]>
To: [email protected]
Cc: "Lars Persson" <[email protected]>
Sent: Wednesday, March 12, 2014 5:05:17 AM
Subject: [lttng-dev] [PATCH babeltrace] Use autoconf
AM_MAINTAINER_MODE.Quoted 4 lines
Give distribution maintainers the option to skip rebuilding autoconf and automake generated files. The default behaviour is still to have the rebuild rules enabled.
I just did some reading on this, and found:
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
So, in what use-case is --disable-maintainer-mode useful nowadays ? All it seems to do is to stop ensuring that
Makefileare consistent with changes to Makefile.am.Thanks,
Mathieu
configure.ac index 7a98612..faa3f98
Quoted 7 lines
Signed-off-by Lars Persson <[email protected]>--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)configure.ac index 7a98612..faa3f98 renamed from configure.ac +0
-0100644
Quoted 12 lines
configure.ac +1
-1@@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) --1.7.2.5
Quoted 10 lines
Quoted 5 lines
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Paul Woegerer, SW Development Engineer Sourcery Analyzer <http://go.mentor.com/sourceryanalyzer> Mentor Graphics, Embedded Software Division
----- Original Message -----
Quoted 10 lines
From: "Lars Persson" <[email protected]>
To: "Mathieu Desnoyers" <[email protected]>
Cc: [email protected]
Sent: Thursday, March 13, 2014 4:12:23 AM
Subject: RE: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.It is useful when unpacking the distribution tarballs into another revision control system that doesn't preserve timestamps. If we retrigger autoconf, then some developer workstations will fail on the builds because they have outdated autoconf packages.
That makes sense. Thanks for explaining the rationale to me.
Mathieu
Quoted 66 lines
- Lars
Quoted 62 lines
-----Original Message-----
From: Mathieu Desnoyers [mailto:[email protected]]
Sent: den 12 mars 2014 20:00
To: Lars Persson
Cc: [email protected]; Lars Persson
Subject: Re: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.----- Original Message -----
Quoted 5 lines
From: "Lars Persson" <[email protected]>
To: [email protected]
Cc: "Lars Persson" <[email protected]>
Sent: Wednesday, March 12, 2014 5:05:17 AM
Subject: [lttng-dev] [PATCH babeltrace] Use autoconf
AM_MAINTAINER_MODE.Quoted 4 lines
Give distribution maintainers the option to skip rebuilding autoconf and automake generated files. The default behaviour is still to have the rebuild rules enabled.
I just did some reading on this, and found:
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
So, in what use-case is --disable-maintainer-mode useful nowadays ? All it seems to do is to stop ensuring that
Makefileare consistent with changes to Makefile.am.Thanks,
Mathieu
configure.ac index 7a98612..faa3f98
Quoted 7 lines
Signed-off-by Lars Persson <[email protected]>--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)configure.ac index 7a98612..faa3f98 renamed from configure.ac +0
-0100644
Quoted 12 lines
configure.ac +1
-1@@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) --1.7.2.5
Quoted 5 lines
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
----- Original Message -----
Quoted 18 lines
From: "Paul Woegerer" <[email protected]>
To: "Lars Persson" <[email protected]>, "Mathieu Desnoyers" <[email protected]>
Cc: [email protected]
Sent: Thursday, March 13, 2014 5:55:33 AM
Subject: Re: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.Quoted 4 lines · Lars Persson
It is useful when unpacking the distribution tarballs into another revision control system that doesn't preserve timestamps. If we retrigger autoconf, then some developer workstations will fail on the builds because they have outdated autoconf packages.
Without using
AM_MAINTAINER_MODEwe let users pay for something (having recent autotools installed on their machines) that they will not need in most cases. UsingAM_MAINTAINER_MODEallows you to suppress the dependency to autotools if you are sure you do not really need it (e.g. you are not changing any Makefile.am or configure.ac).
Quoted 4 lines
If you ever tried to install a new version of LTTng on an ancient Linux installation running on a VM in another timezone you will be very happy if you do not need to also install new autotools packages prior to building and installing the lttng packages.
OK. That sheds some more light on the use case. Will merge those patches then.
Thanks!
Mathieu
Quoted 84 lines
--
Thanks,
PaulQuoted 65 lines
- Lars
Quoted 52 lines
-----Original Message-----
From: Mathieu Desnoyers [mailto:[email protected]]
Sent: den 12 mars 2014 20:00
To: Lars Persson
Cc: [email protected]; Lars Persson
Subject: Re: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.----- Original Message -----
Quoted 5 lines
From: "Lars Persson" <[email protected]>
To: [email protected]
Cc: "Lars Persson" <[email protected]>
Sent: Wednesday, March 12, 2014 5:05:17 AM
Subject: [lttng-dev] [PATCH babeltrace] Use autoconf
AM_MAINTAINER_MODE.Quoted 4 lines
Give distribution maintainers the option to skip rebuilding autoconf and automake generated files. The default behaviour is still to have the rebuild rules enabled.
I just did some reading on this, and found:
http://blogs.gnome.org/desrt/2011/09/08/am_maintainer_mode-is-not-cool/
So, in what use-case is --disable-maintainer-mode useful nowadays ? All it seems to do is to stop ensuring that
Makefileare consistent with changes to Makefile.am.Thanks,
Mathieu
configure.ac index 7a98612..faa3f98
Quoted 7 lines
Signed-off-by Lars Persson <[email protected]>--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)configure.ac index 7a98612..faa3f98 renamed from configure.ac +0
-0100644
Quoted 12 lines
configure.ac +1
-1@@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) --1.7.2.5
Quoted 10 lines
Quoted 5 lines
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.comQuoted 5 lines
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev--
Paul Woegerer, SW Development Engineer
Sourcery Analyzer <http://go.mentor.com/sourceryanalyzer>
Mentor Graphics, Embedded Software Division
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
Mathieu Desnoyers
AppliedMerged into babeltrace master. Thanks!
----- Original Message -----
Quoted 36 lines
From: "Lars Persson" <[email protected]>
To: [email protected]
Cc: "Lars Persson" <[email protected]>
Sent: Wednesday, March 12, 2014 5:05:17 AM
Subject: [lttng-dev] [PATCH babeltrace] Use autoconfAM_MAINTAINER_MODE.Give distribution maintainers the option to skip rebuilding autoconf and automake generated files. The default behaviour is still to have the rebuild rules enabled.
Signed-off-by Lars Persson <[email protected]>--- configure.ac | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)configure.ac +1
-1@@ -11,6 +11,7 @@ AC_CONFIG_AUX_DIR([config]) AC_CANONICAL_TARGET AC_CANONICAL_HOST AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip]) +AM_MAINTAINER_MODE([enable]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_CONFIG_MACRO_DIR([m4]) --1.7.2.5
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com