[Bug 219811] CONFIGURE_ENV do not take effect

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 6 03:24:28 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219811

            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 at FreeBSD.org
          Reporter: amutu at amutu.com
                CC: freebsd-ports-bugs at FreeBSD.org

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

I am trying to port tensorflow to freebsd,see this PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219609

I set HAS_CONFIGURE and CONFIGURE+= TF_xx=yy...,It seams do not take effect,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 are
not set in the env.

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


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

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


More information about the freebsd-ports-bugs mailing list