Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#14266 closed defect (fixed)

BUG: autogen 5.9.3 fails to compile

Reported by: gui-dos (Guido Soranzio) Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: autogen

Description

On Leopard 10.5.1, the installation of autogen fails reporting:

Making all in xml2ag
top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export top_builddir top_srcdir PATH ; /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_autogen/work/autogen-5.9.3/agen5/autogen -L../autoopts --definition=./xmlopts.def
Could not execvp( '', ... ):  2 - No such file or directory
Closing server:  Broken pipe signal (13) received

Last command issued:
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_autogen/work/autogen-5.9.3/xml2ag

    if test ! -d "${top_srcdir}"; then
        echo "NOTICE:  Setting top_srcdir to .." >&2
        top_srcdir=..
    fi
    test -f ${top_srcdir}/VERSION ||         die "error ${top_srcdir}/VERSION file missing"
    eval `egrep '^AG_[A-Z_]*='  ${top_srcdir}/VERSION` 2> /dev/null
    echo $AG_VERSION 

echo
echo ShElL-OuTpUt-HaS-bEeN-cOmPlEtEd - 2
CLOSING SHELL SERVER - command failure:
	
    if test ! -d "${top_srcdir}"; then
        echo "NOTICE:  Setting top_srcdir to .." >&2
        top_srcdir=..
    fi
    test -f ${top_srcdir}/VERSION ||         die "error ${top_srcdir}/VERSION file missing"
    eval `egrep '^AG_[A-Z_]*='  ${top_srcdir}/VERSION` 2> /dev/null
    echo $AG_VERSION 
FSM Error:  in state 6 (need_value), event 8 (;) is invalid
invalid transition:  in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_autogen/work/autogen-5.9.3/agen5/opts.def on line 63
	token in error:  `;'

	[[...<error-text>]] 

#ifndef XML2AG
include = <<-  _END_INCLUDE
	#include "autogen.

Likely causes:  a mismatched quote, a value that needs quoting,
		or a missing semi-colon
make[2]: *** [xmlopts.h] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_autogen/work/autogen-5.9.3" && make all " returned error 2
Command output:     test -f ${top_srcdir}/VERSION ||         die "error ${top_srcdir}/VERSION file missing"
    eval `egrep '^AG_[A-Z_]*='  ${top_srcdir}/VERSION` 2> /dev/null
    echo $AG_VERSION 

echo
echo ShElL-OuTpUt-HaS-bEeN-cOmPlEtEd - 2
CLOSING SHELL SERVER - command failure:
	
    if test ! -d "${top_srcdir}"; then
        echo "NOTICE:  Setting top_srcdir to .." >&2
        top_srcdir=..
    fi
    test -f ${top_srcdir}/VERSION ||         die "error ${top_srcdir}/VERSION file missing"
    eval `egrep '^AG_[A-Z_]*='  ${top_srcdir}/VERSION` 2> /dev/null
    echo $AG_VERSION 
FSM Error:  in state 6 (need_value), event 8 (;) is invalid
invalid transition:  in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_autogen/work/autogen-5.9.3/agen5/opts.def on line 63
	token in error:  `;'

	[[...<error-text>]] 

#ifndef XML2AG
include = <<-  _END_INCLUDE
	#include "autogen.

Likely causes:  a mismatched quote, a value that needs quoting,
		or a missing semi-colon
make[2]: *** [xmlopts.h] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Change History (5)

comment:1 Changed 16 years ago by mww@…

Keywords: autogen added
Status: newassigned
Summary: BUG: autogen 0.9.3 fails to compileBUG: autogen 5.9.3 fails to compile

I suppose this is 5.9.3; unfortunately I have no fix for this (yet) and 5.9.4 (which is the latest version) also fails to build on 10.5;

comment:2 in reply to:  description Changed 15 years ago by jp-keyword-macport.ae635b@…

I had the same problem. I then downloaded 5.9.6pre12 and built it by hand. It worked after I commented out the following two errors: In file included from libopts.c:12: value-type.c:100: warning: 'gnu_inline' attribute directive ignored In file included from libopts.c:13: xat-attribute.c:91: warning: 'gnu_inline' attribute directive ignored

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Keywords: autogen removed
Port: autogen added

comment:4 Changed 15 years ago by gui-dos (Guido Soranzio)

Resolution: fixed
Status: assignedclosed

The 5.9.7 version committed in r45257 compiles fine.

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.