Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2020 14:25:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 241463] devel/scons: flavor scons for python3
Message-ID:  <bug-241463-21822-KZfRkle1WK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-241463-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-241463-21822@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

dewayne@heuristicsystems.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dewayne@heuristicsystems.co
                   |                            |m.au

--- Comment #21 from dewayne@heuristicsystems.com.au ---
(In reply to VVD from comment #19)
Thanks VVD. I just updated my ports and attempted to rebuild our packages. 
Kept getting:
...
install  -m 0644 /usr/ports/devel/py-setuptools/files/easy-install.pth.dist
/var/ports/usr/ports/devel/py-setuptools/work-py37/stage/usr/local/lib/python3.7/site-packages/
===> Creating unique files: Move MAN files needing SUFFIX
===> Creating unique files: Move files needing SUFFIX
Move: bin/easy_install --> bin/easy_install-3.7
Link: @bin/easy_install --> bin/easy_install-3.7
====> Compressing man pages (compress-man)
===>  Installing for py37-setuptools-44.0.0
===>  Checking if py37-setuptools is already installed
===>   py37-setuptools-44.0.0 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of py37-setuptools
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/devel/py-setuptools
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/scons

Applied your patch, and 
 make -C /usr/ports/devel/scons clean package
built an scons package on todays rebuilt 12.1S amd64 and i386. :)

The portmaster thread was:
devel/erlang-erlware_commons 55/363 >> devel/erlang-cf >> devel/rebar3 >>
devel/git >> devel/p5-subversion >> devel/subversion >> www/serf >> devel/scons
>> devel/py-setuptools@py27 (151/151)

So just when you think you're done, I tried: make -C
/usr/ports/devel/subversion  clean package
...
===>  Building for serf-1.3.9_4
scons: Reading SConscript files ...
  File "/var/ports/usr/ports/www/serf/work/serf-1.3.9/SConstruct", line 189

    print 'Warning: Used unknown variables:', ', '.join(unknown.keys())

                                           ^

SyntaxError: invalid syntax

Hmmm, looks like a python issue, probably needs 2.7.  Successfully building
ports is one measure, getting the successfully built port to function is
another. ;)

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

help

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