Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] 1.7.4rc1 autogen error: NetBSD-6
From: Paul Hargrove (phhargrove_at_[hidden])
Date: 2013-12-20 21:04:34


As I indicated earlier today, the CMRed fix to push/pop "dir" in hwloc did
NOT fix the problem of configure failing after running autogen.pl on my
NetBSD-6/amd64 system.

I've traced the problem to the following fragment from
_LT_PROG_ECHO_BACKSLASH in the NetBSD-provided libtool.m4:
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    for dir in $PATH /usr/ucb; do
      IFS="$lt_save_ifs"
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null`
&&
         test "X$echo_testing_string" = "X$echo_test_string"; then
        ECHO="$dir/echo"
        break
      fi
    done

I am hoping to generate an appropriate fix-up in autogen.pl if I can find
time.
However, I am sending this email to document my finding in case I don't get
back to this.

-Paul

On Fri, Dec 20, 2013 at 6:49 AM, Jeff Squyres (jsquyres) <jsquyres_at_[hidden]
> wrote:

> I just submitted a CMR to Brian to fix this:
>
> https://svn.open-mpi.org/trac/ompi/ticket/4015
>
>
> On Dec 19, 2013, at 10:46 PM, Paul Hargrove <phhargrove_at_[hidden]> wrote:
>
> > Probably nobody cares, but I'll report this for completeness.
> > In trying to understand the "make install" failure on NetBSD-6 I run
> "autogen.sh".
> >
> > The versions detected:
> >
> > Searching for autoconf
> > Found autoconf version 2.69; checking version...
> > Found version component 2 -- need 2
> > Found version component 69 -- need 65
> > ==> ACCEPTED
> > Searching for libtoolize
> > Found libtoolize version 2.2.6b; checking version...
> > Found version component 2 -- need 2
> > Found version component 2 -- need 2
> > Found version component 6b -- need 6b
> > ==> ACCEPTED
> > Searching for automake
> > Found automake version 1.13.1; checking version...
> > Found version component 1 -- need 1
> > Found version component 13 -- need 12
> > ==> ACCEPTED
> >
> > The problem is that when run, the generated configure script dies as
> follows:
> >
> > *** Java compiler
> > configure: WARNING: Found configure shell variable clash!
> > configure: WARNING: OPAL_VAR_SCOPE_PUSH called on "dir",
> > configure: WARNING: but it is already defined with value "/bin"
> > configure: WARNING: This usually indicates an error in configure.
> > configure: error: Cannot continue
> >
> >
> > -Paul
> >
> > --
> > Paul H. Hargrove PHHargrove_at_[hidden]
> > Future Technologies Group
> > Computer and Data Sciences Department Tel: +1-510-495-2352
> > Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
> > _______________________________________________
> > devel mailing list
> > devel_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> --
> Jeff Squyres
> jsquyres_at_[hidden]
> For corporate legal information go to:
> http://www.cisco.com/web/about/doing_business/legal/cri/
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900