bug#17327: Bug report

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

bug#17327: Bug report

James Gallagher-2
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 <[hidden email]>.
 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 (169 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

bug#17327: Bug report

Stefano Lattarini
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 <[hidden email]>.
>   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?