GNU bug report logs - #17327
Automake dying with internal error: "global options already processed"

Previous Next

Package: automake;

Reported by: Gallagher James <jgallagher <at> opendap.org>

Date: Wed, 23 Apr 2014 18:21:02 UTC

Severity: normal

Tags: moreinfo

To reply to this bug, email your comments to 17327 AT debbugs.gnu.org.

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#17327; Package automake. (Wed, 23 Apr 2014 18:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Gallagher James <jgallagher <at> opendap.org>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Wed, 23 Apr 2014 18:21:02 GMT) Full text and rfc822 format available.

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

From: Gallagher James <jgallagher <at> opendap.org>
To: bug-automake <at> gnu.org
Cc: Gallagher James <jgallagher <at> opendap.org>
Subject: Bug report
Date: Wed, 23 Apr 2014 12:18:10 -0600
[Message part 1 (text/plain, inline)]
OSX 10.9, automake 1.14, autoconf 2.69

autoreconf: running: automake --add-missing --copy --force-missing
automake: error: global options already processed
automake: Please contact <bug-automake <at> gnu.org>.
 at /usr/local/share/automake-1.14/Automake/Channels.pm line 662, <GEN0> line 109.
	Automake::Channels::msg('automake', '', 'global options already processed') called at /usr/local/share/automake-1.14/Automake/ChannelDefs.pm line 212
	Automake::ChannelDefs::prog_error('global options already processed') called at /usr/local/share/automake-1.14/Automake/Options.pm line 421
	Automake::Options::process_global_option_list('HASH(0x7fe0a2007cd8)') called at /usr/local/bin/automake line 5331
	Automake::scan_autoconf_traces('configure.ac') called at /usr/local/bin/automake line 5431
	Automake::scan_autoconf_files() called at /usr/local/bin/automake line 8259
autoreconf: automake failed with exit status: 29
[jimg:shrew$] 

Here’s the Makefile.am in question:

ACLOCAL_AMFLAGS = -I conf

EXTRA_DIST = 

# Edit here and in the hyrax-* targets
SUBDIRS = src/libdap src/bes src/modules

# These will be passed to all builds if
# configure gets --enable-developer
# Modify as needed...

if BUILD_HYRAX_DEVELOPER
developer_arg = --enable-developer CXXFLAGS="-g3 -O0 -W -Wall -Wcast-align" LDFLAGS=-g
else
developer_arg=
endif

prefix_arg = --prefix=$(prefix)

# olfs_version_arg = -DHYRAX_VERSION= -DOLFS_VERSION=
olfs_version_arg = -DHYRAX_VERSION=nightly_build

# We have two different sets of these Makefile variables for OSX and Linux.
# Doing this simplifes managing checkins and the like.
# Only use these if you need them and make sure to double check the values. 
# If they are wrong, configure in the modules dir will fail and that means 
# other parts of the build will fail too.

…
[ plain ‘make’ lines follow ]

--
James Gallagher
jgallagher at opendap.org
406.723.8663

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to bug-automake <at> gnu.org:
bug#17327; Package automake. (Wed, 17 Dec 2014 14:52:02 GMT) Full text and rfc822 format available.

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

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Gallagher James <jgallagher <at> opendap.org>, 17327 <at> debbugs.gnu.org
Subject: Re: bug#17327: Bug report
Date: Wed, 17 Dec 2014 15:51:21 +0100
retitle 17327 Automake dying with internal error: "global options already processed"
tags 17327 moreinfo
thanks

On 04/23/2014 08:18 PM, Gallagher James wrote:
> OSX 10.9, automake 1.14, autoconf 2.69
>
> autoreconf: running: automake --add-missing --copy --force-missing
> automake: error: global options already processed
> automake: Please contact <bug-automake <at> gnu.org>.
>   at /usr/local/share/automake-1.14/Automake/Channels.pm line 662, <GEN0> line 109.
> 	Automake::Channels::msg('automake', '', 'global options already processed') called at /usr/local/share/automake-1.14/Automake/ChannelDefs.pm line 212
> 	Automake::ChannelDefs::prog_error('global options already processed') called at /usr/local/share/automake-1.14/Automake/Options.pm line 421
> 	Automake::Options::process_global_option_list('HASH(0x7fe0a2007cd8)') called at /usr/local/bin/automake line 5331
> 	Automake::scan_autoconf_traces('configure.ac') called at /usr/local/bin/automake line 5431
> 	Automake::scan_autoconf_files() called at /usr/local/bin/automake line 8259
> autoreconf: automake failed with exit status: 29
> [jimg:shrew$]
>
> Here’s the Makefile.am in question:
>
> ACLOCAL_AMFLAGS = -I conf
>
> EXTRA_DIST =
>
> # Edit here and in the hyrax-* targets
> SUBDIRS = src/libdap src/bes src/modules
>
> # These will be passed to all builds if
> # configure gets --enable-developer
> # Modify as needed...
>
> if BUILD_HYRAX_DEVELOPER
> developer_arg = --enable-developer CXXFLAGS="-g3 -O0 -W -Wall -Wcast-align" LDFLAGS=-g
> else
> developer_arg=
> endif
>
> prefix_arg = --prefix=$(prefix)
>
> # olfs_version_arg = -DHYRAX_VERSION= -DOLFS_VERSION=
> olfs_version_arg = -DHYRAX_VERSION=nightly_build
>
> # We have two different sets of these Makefile variables for OSX and Linux.
> # Doing this simplifes managing checkins and the like.
> # Only use these if you need them and make sure to double check the values.
> # If they are wrong, configure in the modules dir will fail and that means
> # other parts of the build will fail too.
>
> …
> [ plain ‘make’ lines follow ]
>
> --
> James Gallagher
> jgallagher at opendap.org
> 406.723.8663
>
Did you perhaps invoke AM_INIT_AUTOMAKE twice in your configure.ac?




Changed bug title to 'Automake dying with internal error: "global options already processed"' from 'Bug report' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 17 Dec 2014 14:52:02 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Wed, 17 Dec 2014 14:52:02 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 181 days ago.

Previous Next


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