pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/35013 (devel/autogen has undeclared dependency upon bash)

The following reply was made to PR pkg/35013; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
Subject: Re: pkg/35013 (devel/autogen has undeclared dependency upon bash)
Date: Mon, 07 Mar 2011 16:30:34 +0700

     Date:        Thu,  3 Mar 2011 21:02:41 +0000 (UTC)
     Message-ID:  <>
    | sets CONFIG_SHELL before invoking configure;
    | thus, nonexistent $SHELL should never happen now.
 It isn't the config stage that is the problem, which still exists.
 It is a bit difficult for me to test easily any more, as I now have
 my build procedure set up to always simply set SHELL to /bin/sh before
 attempting to build anything, but I did the build in a slightly abnormal
 way for me (still using pkg_comp so it builds in an almost empty sandbox)
 and I still get errors as shown below.
 Since setting SHELL=/bin/sh in the environment avoids this, it is clearly
 a problem caused by having SHELL in the environment set to something that
 doesn't exist (you could probably reproduce the same thing by building
 with SHELL=/nonexistant/garbage - though you'd have to get the Makefiles
 to work that way I guess).
 ps: here's the end of the build log of a build of devel/autogen I just
 attempted, where SHELL remained set to my login value of /usr/pkg/bin/bash
 when I started the build.  The relevant line is the "Could not execvp..."
 near the top of the log fragment.
 Making all in xml2ag
 gmake[2]: Entering directory 
 top_builddir=.. top_srcdir=.. PATH=`cd ../columns;pwd`:$PATH ; export 
top_builddir top_srcdir PATH ; 
/pkg_comp/obj/pkgsrc/devel/autogen/4x/autogen-5.9.5/agen5/autogen -L../autoopts 
 Could not execvp( '/usr/pkg/bin/bash', ... ):  2 - No such file or directory
 fs err 4 (Interrupted system call) reading from server shell
 Closing server:  Broken pipe signal (13) received
 Last command issued:
 cd /pkg_comp/obj/pkgsrc/devel/autogen/4x/autogen-5.9.5/xml2ag
     if test ! -d "${top_srcdir}"; then
         echo "NOTICE:  Setting top_srcdir to .." >&2
     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 ShElL-OuTpUt-HaS-bEeN-cOmPlEtEd - 2
 CLOSING SHELL SERVER - command failure:
     if test ! -d "${top_srcdir}"; then
         echo "NOTICE:  Setting top_srcdir to .." >&2
     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 
/pkg_comp/obj/pkgsrc/devel/autogen/4x/autogen-5.9.5/agen5/opts.def on line 63
        token in error:  `;'
 #ifndef XML2AG
 include = <<-  _END_INCLUDE
        #include "autogen.
 Likely causes:  a mismatched quote, a value that needs quoting,
                or a missing semi-colon
 gmake[2]: *** [xmlopts.h] Error 1
 gmake[2]: Leaving directory 
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
 gmake: *** [all] Error 2
 *** Error code 2
 make: stopped in /usr/pkgsrc/devel/autogen
 *** Error code 1

Home | Main Index | Thread Index | Old Index