Mailing List Archive

Bug autoconf
This is a very subtle bug that has been around in latest software since a few months ago. In different forums you will see it reported in different packages of different kinds of software and manufacturers.

Concretely in Apache we can reproduce it like this:1. Latest apache works well in configure,make, make install.
Up to this point it works well.

2. BUT when trying to use buildconf based on autoconf , and then configure, with the option --with-included-apr, like this:

buildconf
./configure --with-included-apr
then it fails with a bug that has been unknown to the community for several months now, in different software packages.

Specifically:
-after using autoconf, if we simply use ./configure , with no parameters, the configure command ends successfully with, for example:
---------------------------
config.status: executing default commands
configure: summary of build options:

   Server Version: 2.4.55
   Install prefix: /usr/local/apache-2.4.55
   C compiler:     gcc
   CFLAGS:          -g -O2 -pthread   
   CPPFLAGS:        -DLINUX -D_REENTRANT -D_GNU_SOURCE   
   LDFLAGS:            
   LIBS:              
   C preprocessor: gcc -E
----------------------
and return code $? is 0.
But when adding --with-included-apr option, we find it fails with (output between lines)
------------------------------------------
checking whether int64_t and int use fmt %d... no
checking whether int64_t and long use fmt %ld... no
checking whether int64_t and long long use fmt %lld... no
configure: error: could not determine the string function for int64_t------------------------------------------and the return code $? is 1.
Above event occurred using  latest apache (2.4.55) andthe latest autoconf  (2.71) up to now, that is:
autoconf-2.71.tar.xz 2021-01-28 17:48 1.2M
downloaded from:
http://ftp.gnu.org/gnu/autoconf/

when using the command after using buildconf, with the


Other manufacturers had the very same problem with autoconf and were able to solve it. For example in the following link they recognized it as a bug in their own package after using autoconf, and have some info that might be useful for Apache developers:
https://lore.kernel.org/all/962dda1b-66bf-693e-af53-3bc6c455ea75@mind.be/T/

I hope this has been precise enough for reporting the bug, and thanks for your work. Don't hesitate to reach me out if I can be of service to solve this or share more info, or anything you need.

David LópezProgrammer.
Re: Bug autoconf [ In reply to ]
On Sun, Jan 29, 2023 at 9:56 AM David Lopez
<misinscripciones-apacheorg@yahoo.com.invalid> wrote:
>
> This is a very subtle bug that has been around in latest software since a few months ago. In different forums you will see it reported in different packages of different kinds of software and manufacturers.
>
> Concretely in Apache we can reproduce it like this:
> 1. Latest apache works well in configure,make, make install.
> Up to this point it works well.
>
> 2. BUT when trying to use buildconf based on autoconf , and then configure, with the option --with-included-apr, like this:
>
> buildconf
> ./configure --with-included-apr

I think was fixed in apr 1.7.1

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Bug autoconf [ In reply to ]
Dear Eric, I thought so too. But as I said, it can be tested with LATEST official download packages/releases available. What we both saw was not a definite solution. Thanks for your kind comment.

En jueves, 2 de febrero de 2023 9:42:32 GMT-5, Eric Covener <covener@gmail.com> escribió:

On Sun, Jan 29, 2023 at 9:56 AM David Lopez
<misinscripciones-apacheorg@yahoo.com.invalid> wrote:
>
> This is a very subtle bug that has been around in latest software since a few months ago. In different forums you will see it reported in different packages of different kinds of software and manufacturers.
>
> Concretely in Apache we can reproduce it like this:
> 1. Latest apache works well in configure,make, make install.
> Up to this point it works well.
>
> 2. BUT when trying to use buildconf based on autoconf , and then configure, with the option --with-included-apr, like this:
>
> buildconf
> ./configure --with-included-apr

I think was fixed in apr 1.7.1
Re: Bug autoconf [ In reply to ]
On Thu, Feb 2, 2023 at 1:31 PM David Lopez
<misinscripciones-apacheorg@yahoo.com> wrote:
>
> Dear Eric, I thought so too. But as I said, it can be tested with LATEST official download packages/releases available. What we both saw was not a definite solution. Thanks for your kind comment.

1.7.1 wasn't released when you tested. Have you tested 1.7.1 or 1.7.2?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Bug autoconf [ In reply to ]
It seems we have to find a common ground on what we are talking about.
1. Latest Apache version is 2.4.55, whose date is 2023-01-17, and can be downloaded from
https://dlcdn.apache.org/httpd/httpd-2.4.55.tar.bz2
2. Latest version of autoconf is 2.7.1, whose date is 2021-01-28
https://ftp.gnu.org/gnu/autoconf/?C=M;O=D
The report I made of the bug was sent AFTER both versions above, namely I sent my report in 2023-01-29. And my report is about ONLY both of this tools.

Hence, when you are talking about "version 1.7.1 or version 1.7.2", it seems you are talking about something else.
We will have a better communication if you help me (or help us both) on this: I beg you to please be far more specific in your future responses, quoting links, or further references, something solid upon which both of us can communicate smoothly, use nouns to allow people understand what you are talking about, and carry on with our common purpose, which is to contribute to the enhancement of this wonderful software called Apache Server.
Thanks for your comprehension.

D.


En jueves, 2 de febrero de 2023 13:42:49 GMT-5, Eric Covener <covener@gmail.com> escribió:

On Thu, Feb 2, 2023 at 1:31 PM David Lopez
<misinscripciones-apacheorg@yahoo.com> wrote:
>
> Dear Eric, I thought so too. But as I said, it can be tested with LATEST official download packages/releases available. What we both saw was not a definite solution. Thanks for your kind comment.

1.7.1 wasn't released when you tested. Have you tested 1.7.1 or 1.7.2?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Bug autoconf [ In reply to ]
On Fri, Feb 3, 2023 at 10:07 AM David Lopez
<misinscripciones-apacheorg@yahoo.com.invalid> wrote:
>
> It seems we have to find a common ground on what we are talking about.
>
> 1. Latest Apache version is 2.4.55, whose date is 2023-01-17, and can be downloaded from
> https://dlcdn.apache.org/httpd/httpd-2.4.55.tar.bz2
>
> 2. Latest version of autoconf is 2.7.1, whose date is 2021-01-28
> https://ftp.gnu.org/gnu/autoconf/?C=M;O=D
>
> The report I made of the bug was sent AFTER both versions above, namely I sent my report in 2023-01-29. And my report is about ONLY both of this tools.
>
> Hence, when you are talking about "version 1.7.1 or version 1.7.2", it seems you are talking about something else.
>
> We will have a better communication if you help me (or help us both) on this: I beg you to please be far more specific in your future responses, quoting links, or further references, something solid upon which both of us can communicate smoothly, use nouns to allow people understand what you are talking about, and carry on with our common purpose, which is to contribute to the enhancement of this wonderful software called Apache Server.

> Thanks for your comprehension.

You reported a problem with the flag --with-included-apr.
You're adding APR (https://apr.apache.org/download.cgi) to HTTPD
(https://dlcdn.apache.org/httpd/httpd-2.4.55.tar.bz2) before running
./configure
Try APR 1.7.1 or 1.7.2 which were released after your first email in
this thread.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org