[Privoxy-users] 3.0.33 - won't build - obsolete macros

Matthias Fischer matthias.fischer at ipfire.org
Mon Dec 13 18:46:13 UTC 2021


Hi,

On 11.12.2021 02:16, Lee wrote:
> On 12/10/21, Matthias Fischer wrote:
>> Hi,
>>
>> I hope I'm in the right group... ;-)
>>
>> I'm trying to build 'privoxy 3.0.33' for IFire / Core 161 / 64bit with
>> 'autoconf 2.71'. The latter seems to be the culprit here.
> 
> Yes - autoconf 2.71 is not backward compatible.  Any chance you can go
> back to autoconf 2.69 or earlier?

After ~6 build tests I found out that this is not necessary.

> ref: https://lists.gnu.org/archive/html/autotools-announce/2021-01/msg00000.html
> 
> We are pleased to announce stable release 2.71 of Autoconf.
>    ...
> Users of 2.69 or earlier should proceed with caution; please consult
> the NEWS file and/or the release announcement for 2.70 for details.

As I wrote, we're using 'autoconf 2.71' since it was published and I had
no problems until now.

After ~6-7 builds with various Core versions I found out that if I start
with an *absolutely* CLEAN build, I get a bunch of warnings, but the
build runs through:

Example:

***SNIP***
Install started; saving file list to /usr/src/lsalr ...
cd /usr/src/privoxy-3.0.33-stable && autoheader
autoheader: warning: autoconf input should be named 'configure.ac', not
'configure.in'
autoheader: warning: WARNING: Using auxiliary files such as
'acconfig.h', 'config.h.bot'
autoheader: WARNING: and 'config.h.top', to define templates for
'config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader:.
autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader: WARNING: 'AC_DEFINE' allows one to define a template without
autoheader: WARNING: 'acconfig.h':
autoheader:.
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader: <-><->[Define if a function 'main' is needed.])
autoheader:.
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
cd /usr/src/privoxy-3.0.33-stable && autoconf
configure.in:47: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.in:47: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.in:47: the top level
configure.in:293: warning: The macro `AC_MINGW32' is obsolete.
configure.in:293: You should run autoupdate.
./lib/autoconf/specific.m4:347: AC_MINGW32 is expanded from...
configure.in:293: the top level
configure.in:294: warning: The macro `AC_CYGWIN' is obsolete.
configure.in:294: You should run autoupdate.
./lib/autoconf/specific.m4:319: AC_CYGWIN is expanded from...
configure.in:294: the top level

...and so on...

Until:

...
configure.in:1241: the top level
configure.in:1273: warning: AC_OUTPUT should be used without arguments.
configure.in:1273: You should run autoupdate.
useradd: warning: the home directory already exists.
Not copying any file from skel directory into it.
cd /usr/src/privoxy-3.0.33-stable && ./configure \
<->--prefix=/usr \
<->--sysconfdir=/etc/privoxy \
<->--sbindir=/usr/sbin  \
<->--localstatedir=/var \
<->--with-user=privoxy \
<->--with-group=privoxy \
<->--with-brotli \
<->--enable-compression \
<->--enable-extended-statistics \
<->--enable-strptime-sanity-checks \
<->--disable-editor \
<->--disable-toggle
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
...
***SNAP***

But if I add 'autoupdate', its getting even worse and the build fails.

So: partly solved - thanks! - I got it running... ;-)

Best,
Matthias

> Lee
> 
> 
>> All previous 'privoxy' versions built fine but '3.0.33' won't. I always
>> get the following errors:
>>
>> ***SNIP***
>> ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
>>     configure.in:838: the top level
>>     configure.in:1157: warning: The macro `AC_HELP_STRING' is obsolete.
>>     configure.in:1157: You should run autoupdate.
>>     ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
>>     configure.in:1157: the top level
>>     configure.in:1158: warning: The macro `AC_HELP_STRING' is obsolete.
>>     configure.in:1158: You should run autoupdate.
>>     ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
>>     configure.in:1158: the top level
>>     configure.in:1189: warning: The macro `AC_HELP_STRING' is obsolete.
>>     configure.in:1189: You should run autoupdate.
>>     ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
>>     configure.in:1189: the top level
>>     configure.in:1190: warning: The macro `AC_HELP_STRING' is obsolete.
>>     configure.in:1190: You should run autoupdate.
>>     ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
>>     configure.in:1190: the top level
>>     configure.in:1240: warning: The macro `AC_HELP_STRING' is obsolete.
>>     configure.in:1240: You should run autoupdate.
>>     ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
>>     configure.in:1240: the top level
>>     configure.in:1241: warning: The macro `AC_HELP_STRING' is obsolete.
>>     configure.in:1241: You should run autoupdate.
>>     ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from...
>>     configure.in:1241: the top level
>>     configure.in:1273: warning: AC_OUTPUT should be used without arguments.
>>     configure.in:1273: You should run autoupdate.
>> ***SNAP***
>>
>> Adding 'autoupdate' in various combinations didn't help - at last it was
>> only try and error.
>>
>> Does anybody has a clue or is facing similar problems?
>>
>> If further informations are needed, please ask...
>>
>> Thanks in advance,
>>
>> Matthias
>> _______________________________________________
>> Privoxy-users mailing list
>> Privoxy-users at lists.privoxy.org
>> https://lists.privoxy.org/mailman/listinfo/privoxy-users
>>



More information about the Privoxy-users mailing list