GNU bug report logs - #50046
Probably a bug

Previous Next

Package: automake;

Reported by: José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>

Date: Fri, 13 Aug 2021 14:49:02 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50046 in the body.
You can then email your comments to 50046 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Fri, 13 Aug 2021 14:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Fri, 13 Aug 2021 14:49:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>
To: bug-automake <at> gnu.org
Subject: Probably a bug
Date: Fri, 13 Aug 2021 10:17:59 -0300
[Message part 1 (text/plain, inline)]
Dear developers,

I'm sending you this email because automake asked me to do so. I have 
this project that I'm just starting, and when automake runs it signals 
an error.

$ autoreconf -i
aclocal: warning: couldn't open directory 'm4': No such file or 
directory
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
automake: error: global options already processed
automake: Please contact <bug-automake <at> gnu.org>.
 at /usr/share/automake-1.16/Automake/Channels.pm line 662, <GEN0> line 
85.
	Automake::Channels::msg("automake", "", "global options already 
processed") called at /usr/share/automake-1.16/Automake/ChannelDefs.pm 
line 212
	Automake::ChannelDefs::prog_error("global options already processed") 
called at /usr/share/automake-1.16/Automake/Options.pm line 421
	Automake::Options::process_global_option_list(HASH(0x55ce06484020)) 
called at /usr/bin/automake line 5430
	Automake::scan_autoconf_traces("configure.ac") called at 
/usr/bin/automake line 5530
	Automake::scan_autoconf_files() called at /usr/bin/automake line 8357
autoreconf: automake failed with exit status: 29


This is automake version

$ automake --version
automake (GNU automake) 1.16.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv2+: GNU GPL version 2 or later 
<https://gnu.org/licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Tom Tromey <tromey <at> redhat.com>
       and Alexandre Duret-Lutz <adl <at> gnu.org>.


I'm using debian buster

$ neofetch
       _,met$$$$$gg.          jmoyano <at> jmoyano-vm05deb
    ,g$$$$$$$$$$$$$$$P.       -----------------------
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 10 (buster) x86_64
 ,$$P'              `$$$.     Host: VirtualBox 1.2
',$$P       ,ggs.     `$$b:   Kernel: 4.19.0-17-amd64
`d$$'     ,$P"'   .    $$$    Uptime: 43 mins
 $$P      d$'     ,    $$P    Packages: 1818 (dpkg)
 $$:      $$.   -    ,d$$'    Shell: zsh 5.7.1
 $$;      Y$b._   _,d$P'      Resolution: 1920x1080
 Y$$.    `.`"Y$$$$P"'         DE: Xfce
 `$$b      "-.__              WM: Xfwm4
  `Y$$                        WM Theme: Arc-Dark
   `Y$$.                      Theme: Arc-Dark [GTK2]
     `$$b.                    Icons: Flat-Remix-Green-Dark [GTK2]
       `Y$$b.                 Terminal: tilda
          `"Y$b._             CPU: AMD A10-9700 RADEON R7 4C+6G (2) @ 
3.499GHz
              `"""            GPU: VMware SVGA II Adapter
                              Memory: 1942MiB / 3946MiB

Weird thing, I have another computer and the same project works just 
fine. I hope I'm not wasting your time. Just want to help. Sorry for my 
English :-)

Best regards,
José.

-- 
Lic. José Hipólito Moyano
Oficina de sistemas
Email: jose.moyano <at> cs.uns.edu.ar
Tel. +54-291-4595101 interno 2699
San Andrés 800 - Campus Palihue
Departamento de Cs. e Ing. de la Computación
Universidad Nacional del Sur
[rtkservice.tar.gz (application/x-gzip, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Fri, 13 Aug 2021 21:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: jose.moyano <at> cs.uns.edu.ar
Cc: 50046 <at> debbugs.gnu.org
Subject: Re: bug#50046: Probably a bug
Date: Fri, 13 Aug 2021 15:57:13 -0600
Hi Jose,

    automake: error: global options already processed

Well, that is puzzling. I'd need to see the input files to reproduce the
problem to have any idea what's going on.

    I have another computer and the same project works just fine. 

Different versions of automake/libtool/something?

    I hope I'm not wasting your time. 

Not at all.

    Just want to help.

Your report is appreciated (and your English is perfectly fine :).
Thanks! --karl




Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Sat, 14 Aug 2021 16:19:02 GMT) Full text and rfc822 format available.

Message #11 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>
To: Karl Berry <karl <at> freefriends.org>
Cc: 50046 <at> debbugs.gnu.org
Subject: Re: bug#50046: Probably a bug
Date: Sat, 14 Aug 2021 08:43:46 -0300
[Message part 1 (text/plain, inline)]
Hello Karl,

I attached the project files in the email. Maybe they were filtered :-)
Here they go again (maybe the C code won't compile XD, I was just 
starting)

Kind regards,
José.

---
Lic. José Hipólito Moyano
Oficina de sistemas
Email: jose.moyano <at> cs.uns.edu.ar
Tel. +54-291-4595101 interno 2699
San Andrés 800 - Campus Palihue
Departamento de Cs. e Ing. de la Computación
Universidad Nacional del Sur


On 2021-08-13 18:57, Karl Berry wrote:
> Hi Jose,
> 
>     automake: error: global options already processed
> 
> Well, that is puzzling. I'd need to see the input files to reproduce 
> the
> problem to have any idea what's going on.
> 
>     I have another computer and the same project works just fine.
> 
> Different versions of automake/libtool/something?
> 
>     I hope I'm not wasting your time.
> 
> Not at all.
> 
>     Just want to help.
> 
> Your report is appreciated (and your English is perfectly fine :).
> Thanks! --karl
[rtkservice.tar.gz (application/x-gzip, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Sun, 15 Aug 2021 01:01:01 GMT) Full text and rfc822 format available.

Message #14 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: Nick Bowler <nbowler <at> draconx.ca>
To: José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>
Cc: 50046 <at> debbugs.gnu.org, Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#50046: Probably a bug
Date: Sat, 14 Aug 2021 21:00:07 -0400
On 2021-08-14, José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar> wrote:
> I attached the project files in the email. Maybe they were filtered :-)
> Here they go again (maybe the C code won't compile XD, I was just
> starting)
[...]
>>     automake: error: global options already processed

Your error is presumably caused by the two expansions of
AM_INIT_AUTOMAKE in your configure.ac.  There should be just one,
so instead of

  AM_INIT_AUTOMAKE([foreign 1.16])
  # To enable non recursive automake
  AM_INIT_AUTOMAKE([subdir-objects])

try:

  AM_INIT_AUTOMAKE([foreign subdir-objects 1.16])

Strictly speaking I would say there is an Automake bug here: the
diagnostic message was certainly not very useful!

Hope that helps,
  Nick




Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Sun, 15 Aug 2021 13:46:01 GMT) Full text and rfc822 format available.

Message #17 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>
To: Nick Bowler <nbowler <at> draconx.ca>
Cc: 50046 <at> debbugs.gnu.org, Karl Berry <karl <at> freefriends.org>
Subject: Re: bug#50046: Probably a bug
Date: Sun, 15 Aug 2021 07:31:08 -0300
Thanks to both of you for your help. I think it was very, very likely 
that I made a mistake using autotools, as I have very little experience 
using them. I sent the email just because the message recommends doing 
so, and was expecting that the problem was the detection of the error or 
the message.

Thanks again and sorry to bother!
Kind regards,
José.

---
Lic. José Hipólito Moyano
Oficina de sistemas
Email: jose.moyano <at> cs.uns.edu.ar
Tel. +54-291-4595101 interno 2699
San Andrés 800 - Campus Palihue
Departamento de Cs. e Ing. de la Computación
Universidad Nacional del Sur


On 2021-08-14 22:00, Nick Bowler wrote:
> On 2021-08-14, José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar> wrote:
>> I attached the project files in the email. Maybe they were filtered 
>> :-)
>> Here they go again (maybe the C code won't compile XD, I was just
>> starting)
> [...]
>>>     automake: error: global options already processed
> 
> Your error is presumably caused by the two expansions of
> AM_INIT_AUTOMAKE in your configure.ac.  There should be just one,
> so instead of
> 
>   AM_INIT_AUTOMAKE([foreign 1.16])
>   # To enable non recursive automake
>   AM_INIT_AUTOMAKE([subdir-objects])
> 
> try:
> 
>   AM_INIT_AUTOMAKE([foreign subdir-objects 1.16])
> 
> Strictly speaking I would say there is an Automake bug here: the
> diagnostic message was certainly not very useful!
> 
> Hope that helps,
>   Nick




Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Sun, 15 Aug 2021 20:48:01 GMT) Full text and rfc822 format available.

Message #20 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: nbowler <at> draconx.ca, 50046 <at> debbugs.gnu.org
Subject: Re: bug#50046: Probably a bug
Date: Sun, 15 Aug 2021 14:47:51 -0600
    two expansions of AM_INIT_AUTOMAKE in your configure.ac.
    ...
    diagnostic message was certainly not very useful!

Fully agreed.

Nick, any chance you could easily write a patch to generate a decent
error message for this? I am tied up with other projects for a while.
--thanks, karl.




Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Tue, 17 Aug 2021 00:25:02 GMT) Full text and rfc822 format available.

Message #23 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: Nick Bowler <nbowler <at> draconx.ca>
To: Karl Berry <karl <at> freefriends.org>
Cc: 50046 <at> debbugs.gnu.org
Subject: Re: bug#50046: Probably a bug
Date: Mon, 16 Aug 2021 20:24:21 -0400
On 2021-08-15, Karl Berry <karl <at> freefriends.org> wrote:
>     two expansions of AM_INIT_AUTOMAKE in your configure.ac.
>     ...
>     diagnostic message was certainly not very useful!
>
> Fully agreed.
>
> Nick, any chance you could easily write a patch to generate a decent
> error message for this? I am tied up with other projects for a while.

I'll see what I can come up with.

Cheers,
  Nick




Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Wed, 18 Aug 2021 01:28:01 GMT) Full text and rfc822 format available.

Message #26 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: Karl Berry <karl <at> freefriends.org>
To: jose.moyano <at> cs.uns.edu.ar
Cc: 50046 <at> debbugs.gnu.org
Subject: Re: bug#50046: Probably a bug
Date: Tue, 17 Aug 2021 19:27:35 -0600
I pushed Nick's patch for a better error in the event of a second
AM_INIT_AUTOMAKE. Thanks for reporting the problem and Nick, thanks for
the patch! -k




Reply sent to Karl Berry <karl <at> freefriends.org>:
You have taken responsibility. (Wed, 18 Aug 2021 01:28:02 GMT) Full text and rfc822 format available.

Notification sent to José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>:
bug acknowledged by developer. (Wed, 18 Aug 2021 01:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-automake <at> gnu.org:
bug#50046; Package automake. (Wed, 18 Aug 2021 11:54:02 GMT) Full text and rfc822 format available.

Message #34 received at 50046 <at> debbugs.gnu.org (full text, mbox):

From: José Hipólito Moyano <jose.moyano <at> cs.uns.edu.ar>
To: Karl Berry <karl <at> freefriends.org>
Cc: 50046 <at> debbugs.gnu.org
Subject: Re: bug#50046: Probably a bug
Date: Wed, 18 Aug 2021 08:52:50 -0300
Thanks both of you :-)

Regards,
José.

---
Lic. José Hipólito Moyano
Oficina de sistemas
Email: jose.moyano <at> cs.uns.edu.ar
Tel. +54-291-4595101 interno 2699
San Andrés 800 - Campus Palihue
Departamento de Cs. e Ing. de la Computación
Universidad Nacional del Sur


On 2021-08-17 22:27, Karl Berry wrote:
> I pushed Nick's patch for a better error in the event of a second
> AM_INIT_AUTOMAKE. Thanks for reporting the problem and Nick, thanks for
> the patch! -k




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 16 Sep 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 215 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.