Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jun 2017 03:24:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219811] CONFIGURE_ENV do not take effect
Message-ID:  <bug-219811-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219811

            Bug ID: 219811
           Summary: CONFIGURE_ENV do not take effect
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: amutu@amutu.com
                CC: freebsd-ports-bugs@FreeBSD.org

Created attachment 183252
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D183252&action=
=3Dedit
Makefile.simple

I am trying to port tensorflow to freebsd=EF=BC=8Csee this PR=EF=BC=9A
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219609

I set HAS_CONFIGURE and CONFIGURE+=3D TF_xx=3Dyy...,It seams do not take ef=
fect,I
print env in the do-configure target and do not see the TF_xx.

the configure script will prompt user to input the configurations if they a=
re
not set in the env.

the attachement is a simplified version of Makefile to reproduce the bug.


root@11:/usr/ports/science/tensorflow # make
=3D=3D=3D>   py27-tensorflow-1.1.0 depends on file: /usr/local/bin/python2.=
7 - found
=3D=3D=3D>  Configuring for py27-tensorflow-1.1.0
env
MAKEFLAGS=3D .MAKE.LEVEL.ENV=3DMAKELEVEL ARCH=3Damd64 HAVE_COMPAT_IA32_KERN=
=3DYES\=20
OPSYS=3DFreeBSD OSREL=3D11.0 OSVERSION=3D1100122 PYTHONBASE=3D/usr/local
_OSRELEASE=3D11.0-RELEASE-p8 _PERL5_FROM_BIN=3D5.24.1 _PKG_CHECKED=3D1
_PYTHON_DEFAULT_VERSION=3D2.7 _SMP_CPUS=3D8
_SMP_CPUS=3D8
HAVE_COMPAT_IA32_KERN=3DYES=20
PYTHONBASE=3D/usr/local
_PYTHON_DEFAULT_VERSION=3D2.7
_PERL5_FROM_BIN=3D5.24.1
_PKG_CHECKED=3D1
OSVERSION=3D1100122
OSREL=3D11.0
_OSRELEASE=3D11.0-RELEASE-p8
OPSYS=3DFreeBSD
ARCH=3Damd64
MAKELEVEL=3D1
LC_ALL=3DC
LANG=3DC
META_MODE=3Dnormal
PWD=3D/usr/local/poudriere/ports/default/science/tensorflow
.MAKE.LEVEL.ENV=3DMAKELEVEL
STY=3D79432.poud
TERM=3Dscreen
TERMCAP=3DSC|screen|VT 100/ANSI X3.64 virtual terminal:\
        :DO=3D\E[%dB:LE=3D\E[%dD:RI=3D\E[%dC:UP=3D\E[%dA:bs:bt=3D\E[Z:\
        :cd=3D\E[J:ce=3D\E[K:cl=3D\E[H\E[J:cm=3D\E[%i%d;%dH:ct=3D\E[3g:\
        :do=3D^J:nd=3D\E[C:pt:rc=3D\E8:rs=3D\Ec:sc=3D\E7:st=3D\EH:up=3D\EM:\
        :le=3D^H:bl=3D^G:cr=3D^M:it#8:ho=3D\E[H:nw=3D\EE:ta=3D^I:is=3D\E)0:\
        :li#30:co#134:am:xn:xv:LP:sr=3D\EM:al=3D\E[L:AL=3D\E[%dL:\
        :cs=3D\E[%i%d;%dr:dl=3D\E[M:DL=3D\E[%dM:dc=3D\E[P:DC=3D\E[%dP:\
        :im=3D\E[4h:ei=3D\E[4l:mi:IC=3D\E[%d@:ks=3D\E[?1h\E=3D:\
        :ke=3D\E[?1l\E>:vi=3D\E[?25l:ve=3D\E[34h\E[?25h:vs=3D\E[34l:\
        :ti=3D\E[?1049h:te=3D\E[?1049l:us=3D\E[4m:ue=3D\E[24m:so=3D\E[3m:\
        :se=3D\E[23m:md=3D\E[1m:mr=3D\E[7m:me=3D\E[m:ms:\
        :Co#8:pa#64:AF=3D\E[3%dm:AB=3D\E[4%dm:op=3D\E[39;49m:AX:G0:\
        :as=3D\E(0:ae=3D\E(B:\
=20=20=20=20=20=20=20
:ac=3D\140\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII0=
0:\
        :Km=3D\E[M:k0=3D\E[10~:k1=3D\EOP:k2=3D\EOQ:k3=3D\EOR:k4=3D\EOS:\
        :k5=3D\E[15~:k6=3D\E[17~:k7=3D\E[18~:k8=3D\E[19~:k9=3D\E[20~:\
        :k;=3D\E[21~:F1=3D\E[23~:F2=3D\E[24~:kb=3D^H:K2=3D\EOE:kB=3D\E[Z:\
        :kh=3D\E[1~:@1=3D\E[1~:kH=3D\E[4~:@7=3D\E[4~:kN=3D\E[6~:kP=3D\E[5~:\
        :kI=3D\E[2~:kD=3D\E[3~:ku=3D\EOA:kd=3D\EOB:kr=3D\EOC:kl=3D\EOD:km:
WINDOW=3D0
SHELL=3D/bin/csh
BLOCKSIZE=3DK
MAIL=3D/var/mail/root
PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b=
in
HOME=3D/root
USER=3Droot
HOSTTYPE=3DFreeBSD
VENDOR=3Damd
OSTYPE=3DFreeBSD
MACHTYPE=3Dx86_64
SHLVL=3D1
LOGNAME=3Droot
GROUP=3Dwheel
HOST=3Dfboffice
REMOTEHOST=3Dlocalhost
EDITOR=3Dvi
PAGER=3Dmore
cd /usr/local/poudriere/ports/default/science/tensorflow/work/tensorflow-1.=
1.0
&& ./configure
Please specify the location of python. [Default is /usr/local/bin/python]: =
^C

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219811-13>