[Bug 241463] devel/scons: flavor scons for python3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Apr 16 14:25:12 UTC 2020


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

dewayne at heuristicsystems.com.au changed:

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

--- Comment #21 from dewayne at 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 at 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.


More information about the freebsd-python mailing list