Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2019 06:26:01 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Mathieu Arnold <mat@freebsd.org>
Cc:        Peter Jeremy <peter@rulingia.com>, pkubaj@freebsd.org,  FreeBSD Ports <ports@freebsd.org>
Subject:   Re: ports r500205 generates extraneous "make describe"
Message-ID:  <CAP7rwciEhzM8tn1GB=LZ1uYBseKX=vXn4TOe0Ys0YYhT=f7CMw@mail.gmail.com>
In-Reply-To: <20190503080045.t4fpeksy5enccjrz@atuin.in.mat.cc>
References:  <20190502213552.GB98501@server.rulingia.com> <CAP7rwcg%2BcGvaFEWNP_sPE_2_mGZewzdsCXLK5fvppSg-gr=JRw@mail.gmail.com> <20190503080045.t4fpeksy5enccjrz@atuin.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 3, 2019 at 2:00 AM Mathieu Arnold <mat@freebsd.org> wrote:
>
> On Thu, May 02, 2019 at 05:41:45PM -0600, Adam Weinberger wrote:
> > On Thu, May 2, 2019 at 3:36 PM Peter Jeremy <peter@rulingia.com> wrote:
> > >
> > > Doing a "make describe" (part of "make index") in /usr/ports/science/=
ALPSCore
> > > now generates extraneous output as below.  Could you please look into=
 this.
> > >
> > > server% make describe
> > > sh: /usr/local/mpi/openmpi2/bin/mpicc: not found
> > > make: "/usr/ports/Mk/Uses/compiler.mk" line 78: warning: "/usr/local/=
mpi/openmpi2/bin/mpicc --version" returned non-zero status
> > > make: "/usr/ports/Mk/Uses/compiler.mk" line 133: warning: "/usr/local=
/mpi/openmpi2/bin/mpicxx -### /dev/null 2>&1" returned non-zero status
> > > ALPSCore-2.2.0_7|/usr/ports/science/ALPSCore|/usr/local|Generic algor=
ithms and utilities for condensed matter physics|/usr/ports/science/ALPSCor=
e/pkg-descr|ports@FreeBSD.org|science||||/usr/ports/devel/boost-libs /usr/p=
orts/devel/cmake /usr/ports/devel/ninja /usr/ports/math/eigen3 /usr/ports/n=
et/openmpi2 /usr/ports/science/hdf5 /usr/ports/science/szip|/usr/ports/deve=
l/boost-libs /usr/ports/net/openmpi2 /usr/ports/science/hdf5 /usr/ports/sci=
ence/szip|https://github.com/ALPSCore/ALPSCore
> > >
> > > --
> > > Peter Jeremy
> >
> > I was wondering about this too. Perhaps instead of _VARS, this should b=
e using
> > OPENMPI2_CONFIGURE_ENV=3D cc=3D... cxx=3D...
> > OPENMPI2_MAKE_ENV=3D cc=3D... cxx=3D...
>
> You can only change CC/CXX after bsd.port.pre.mk otherwise it breaks
> bits of the framework like compiler.mk.
>
> This should probably be changed to a .if PORT_OPTIONS:Mxxxx test after
> includ'ing bsd.port.pre.mk.

Of course, that makes sense. Setting CONFIGURE/MAKE_ENV would fix only
the "make describe".

# Adam



--=20
Adam Weinberger
adamw@adamw.org
https://www.adamw.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAP7rwciEhzM8tn1GB=LZ1uYBseKX=vXn4TOe0Ys0YYhT=f7CMw>