Re: Autotools update

Lists: pgsql-hackers
From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Autotools update
Date: 2005-07-01 18:17:19
Message-ID: 200507012017.20131.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

As previously announced I have committed the update to Autoconf 2.59 as
well as updates of mkinstalldirs, install-sh, as well as config.guess
and config.sub. This shouldn't have any immediate functional impact,
except that you can now turn off the autom4te.cache directory (using
~/.autom4te.cfg). Also, someone forgot to update pg_config.h.in after
the Kerberos 4 removal patch (I think), so I fixed that, too.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-01 19:27:29
Message-ID: 20670.1120246049@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> As previously announced I have committed the update to Autoconf 2.59 as
> well as updates of mkinstalldirs, install-sh, as well as config.guess
> and config.sub.

Are the correct tools also installed on cvs.postgresql.org (ie, will the
right things happen when Marc tries to build a tarball)?

regards, tom lane


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-01 19:52:35
Message-ID: 200507012152.36388.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Tom Lane wrote:
> Are the correct tools also installed on cvs.postgresql.org (ie, will
> the right things happen when Marc tries to build a tarball)?

I don't see any autoconf installed there, so the wrong thing would
happen either way. :-) But gnu-autoconf-2.59 is in the FreeBSD ports,
if it's required.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 03:04:29
Message-ID: 20050702000338.H1033@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Fri, 1 Jul 2005, Peter Eisentraut wrote:

> Tom Lane wrote:
>> Are the correct tools also installed on cvs.postgresql.org (ie, will
>> the right things happen when Marc tries to build a tarball)?
>
> I don't see any autoconf installed there, so the wrong thing would
> happen either way. :-) But gnu-autoconf-2.59 is in the FreeBSD ports,
> if it's required.

Pick your version:

# ls -lt /usr/local/bin/autoconf*
-r-xr-xr-x 1 root wheel 7672 Aug 22 2004 /usr/local/bin/autoconf259
-r-xr-xr-x 1 root wheel 6194 Aug 22 2004 /usr/local/bin/autoconf253
-rwxr-xr-x 1 root wheel 5007 Jul 27 2003 /usr/local/bin/autoconf213

But, we only run those when modifying configure.in and such, and not as
part of any scripts ...

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 08:38:46
Message-ID: 200507021038.47486.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Marc G. Fournier wrote:
> Pick your version:
>
> # ls -lt /usr/local/bin/autoconf*
> -r-xr-xr-x 1 root wheel 7672 Aug 22 2004
> /usr/local/bin/autoconf259 -r-xr-xr-x 1 root wheel 6194 Aug 22
> 2004 /usr/local/bin/autoconf253 -rwxr-xr-x 1 root wheel 5007 Jul
> 27 2003 /usr/local/bin/autoconf213
>
> But, we only run those when modifying configure.in and such, and not
> as part of any scripts ...

Btw., the FreeBSD ports have autoconf-2.59, which is a version patched
for FreeBSD use, and gnu-autoconf-2.59, which is the unmodified GNU
release, useful for folks like us, cooperating across many operating
systems. Make sure you use the latter one.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 18:49:26
Message-ID: 20050702154745.S1033@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

'k, just checked, and we have the FreeBSD one installed, and always have
used in the in the past ... I can install the gnu-* one if you think it
will make a difference though, but I don't believe we've had any problem
reports on any of our past releases ... ?

On Sat, 2 Jul 2005, Peter Eisentraut wrote:

> Marc G. Fournier wrote:
>> Pick your version:
>>
>> # ls -lt /usr/local/bin/autoconf*
>> -r-xr-xr-x 1 root wheel 7672 Aug 22 2004
>> /usr/local/bin/autoconf259 -r-xr-xr-x 1 root wheel 6194 Aug 22
>> 2004 /usr/local/bin/autoconf253 -rwxr-xr-x 1 root wheel 5007 Jul
>> 27 2003 /usr/local/bin/autoconf213
>>
>> But, we only run those when modifying configure.in and such, and not
>> as part of any scripts ...
>
> Btw., the FreeBSD ports have autoconf-2.59, which is a version patched
> for FreeBSD use, and gnu-autoconf-2.59, which is the unmodified GNU
> release, useful for folks like us, cooperating across many operating
> systems. Make sure you use the latter one.
>
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>
>
>

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 18:53:01
Message-ID: 200507022053.03215.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Marc G. Fournier wrote:
> 'k, just checked, and we have the FreeBSD one installed, and always
> have used in the in the past ... I can install the gnu-* one if you
> think it will make a difference though, but I don't believe we've had
> any problem reports on any of our past releases ... ?

I think it is the general understanding that we use GNU Autoconf, not
FreeBSD Autoconf, so the former is the one that should get used. Also,
when the next person who is not using FreeBSD checks in a configure
update, we get useless diffs and divergences that we could happily do
without.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 18:56:27
Message-ID: 200507021856.j62IuRM28678@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Marc G. Fournier wrote:
> > 'k, just checked, and we have the FreeBSD one installed, and always
> > have used in the in the past ... I can install the gnu-* one if you
> > think it will make a difference though, but I don't believe we've had
> > any problem reports on any of our past releases ... ?
>
> I think it is the general understanding that we use GNU Autoconf, not
> FreeBSD Autoconf, so the former is the one that should get used. Also,
> when the next person who is not using FreeBSD checks in a configure
> update, we get useless diffs and divergences that we could happily do
> without.

Does the FreeBSD one actually produce different output? I don't
remember seeing any of that and I am not running FreeBSD.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 19:46:19
Message-ID: 200507022146.20220.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Bruce Momjian wrote:
> Does the FreeBSD one actually produce different output?

If it did not, why would they bother making a separate package called
"gnu-autoconf" with the note "This port is specifically designed for
developers that want to create cross-platform software distributions on
FreeBSD."?

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 22:07:28
Message-ID: 20050702190652.S1033@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, 2 Jul 2005, Peter Eisentraut wrote:

> Bruce Momjian wrote:
>> Does the FreeBSD one actually produce different output?
>
> If it did not, why would they bother making a separate package called
> "gnu-autoconf" with the note "This port is specifically designed for
> developers that want to create cross-platform software distributions on
> FreeBSD."?

If it did produce different output, why haven't we noticed it prior to
this? Has there actually *been* a problem that nobody has reported?

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 22:42:02
Message-ID: 42C7183A.8010409@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Marc G. Fournier wrote:

> On Sat, 2 Jul 2005, Peter Eisentraut wrote:
>
>> Bruce Momjian wrote:
>>
>>> Does the FreeBSD one actually produce different output?
>>
>>
>> If it did not, why would they bother making a separate package called
>> "gnu-autoconf" with the note "This port is specifically designed for
>> developers that want to create cross-platform software distributions on
>> FreeBSD."?
>
>
> If it did produce different output, why haven't we noticed it prior to
> this? Has there actually *been* a problem that nobody has reported?
>
>
Is autoconf actually run as part of any of our packaging scripts? My
impression was that developers ran it and the committed the results
(e.g. a configure script), unlike, say, bison where the scripts for
tarballs have to call it. But then, of course I hardly know :-)

cheers

andrew


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-02 23:10:11
Message-ID: 29632.1120345811@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Marc G. Fournier wrote:
>> If it did produce different output, why haven't we noticed it prior to
>> this? Has there actually *been* a problem that nobody has reported?
>>
> Is autoconf actually run as part of any of our packaging scripts?

I don't think so ... but if Marc is the one to stamp a release number
into configure.in, his resulting configure might vary from other
people's versions, if the local autoconf on that machine is not
standard.

regards, tom lane


From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-03 00:32:50
Message-ID: 20050702213155.Y1033@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, 2 Jul 2005, Andrew Dunstan wrote:

>
>
> Marc G. Fournier wrote:
>
>> On Sat, 2 Jul 2005, Peter Eisentraut wrote:
>>
>>> Bruce Momjian wrote:
>>>
>>>> Does the FreeBSD one actually produce different output?
>>>
>>>
>>> If it did not, why would they bother making a separate package called
>>> "gnu-autoconf" with the note "This port is specifically designed for
>>> developers that want to create cross-platform software distributions on
>>> FreeBSD."?
>>
>>
>> If it did produce different output, why haven't we noticed it prior to
>> this? Has there actually *been* a problem that nobody has reported?
>>
>>
> Is autoconf actually run as part of any of our packaging scripts? My
> impression was that developers ran it and the committed the results (e.g. a
> configure script), unlike, say, bison where the scripts for tarballs have to
> call it. But then, of course I hardly know :-)

Every time I do a release, the last step is to update teh version numbver
in configure.in and run autoconf on it, and I do that using the version of
autoconf that is on the development server itself (ie. the FreeBSD one)

----
Marc G. Fournier Hub.Org Networking Services (http://www.hub.org)
Email: scrappy(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664


From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-03 01:03:55
Message-ID: 42C7397B.9090905@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Bruce Momjian wrote:
> Peter Eisentraut wrote:
>
> Does the FreeBSD one actually produce different output? I don't
> remember seeing any of that and I am not running FreeBSD.
>

On my 5.4 system autoconf259 and gnu-autoconf both fetch the *same* src
file (autoconf-2.59.tar.bz2 with md5sum 1ee40f7a676b3cfdc0e3f7cd81551b5f).

The autoconf259 package applys some FreeBSD specific patches - they seem
to be mainly about ensuring the package calls itself 'autoconf259'
instead of plain old 'autoconf', plus a permission change for auxiliary
directories.

(I have attached the 4 patches...)

Mark

Attachment Content-Type Size
autoconf259-patches.tar.gz application/gzip 1.1 KB

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-03 05:43:42
Message-ID: 200507030743.44372.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Marc G. Fournier wrote:
> If it did produce different output, why haven't we noticed it prior
> to this? Has there actually *been* a problem that nobody has
> reported?

Note that we have never used Autoconf 2.59 before, so nobody could have
ever noticed and reported anything. This FreeBSD vs. GNU split doesn't
appear to exist in the ports tree for earlier versions. It might be
worth figuring out how these variants actually differ.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: "Matthew D(dot) Fuller" <fullermd(at)over-yonder(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Autotools update
Date: 2005-07-03 12:49:33
Message-ID: 20050703124933.GA6730@over-yonder.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sat, Jul 02, 2005 at 09:46:19PM +0200 I heard the voice of
Peter Eisentraut, and lo! it spake thus:
> Bruce Momjian wrote:
> > Does the FreeBSD one actually produce different output?
>
> If it did not, why would they bother making a separate package
> called "gnu-autoconf" with the note "This port is specifically
> designed for developers that want to create cross-platform software
> distributions on FreeBSD."?

Because the non-"gnu-" variants patch to stuff version numbers in all
the filenames and invocations down the chain, so you can have
different versions installed at once. Different packages might be
written to different versions, and they tend to be
non-cross-compatible.

--
Matthew Fuller (MF4839) | fullermd(at)over-yonder(dot)net
Systems/Network Administrator | http://www.over-yonder.net/~fullermd/
On the Internet, nobody can hear you scream.