Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 06:50:24 -0800
From:      Manfred Antar <manfredantar@gmail.com>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>
Cc:        freebsd_ports@k-worx.org, "ports@freebsd.org" <ports@FreeBSD.org>
Subject:   Re: FreeBSD Port: py36-setuptools_scm-3.1.0 Error update
Message-ID:  <5CE3F97C-08FA-4D40-B2EA-D0A9C7B958CE@gmail.com>
In-Reply-To: <c15b235f-e152-aa67-8aa3-c865c0d5df36@gmail.com>
References:  <c15b235f-e152-aa67-8aa3-c865c0d5df36@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I had the same problem.
Uninstall the old version then it built fine for me
Manfred

> On Jan 30, 2019, at 4:22 AM, Alex V. Petrov <alexvpetrov@gmail.com> =
wrote:
>=20
> Traceback (most recent call last):
>  File "<string>", line 1, in <module>
>  File "setup.py", line 116, in <module>
>    setuptools.setup(**arguments)
>  File "/usr/local/lib/python2.7/site-packages/setuptools/__init__.py",
> line 143, in setup
>    return distutils.core.setup(**attrs)
>  File "/usr/local/lib/python2.7/distutils/core.py", line 151, in setup
>    dist.run_commands()
>  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in
> run_commands
>    self.run_command(cmd)
>  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>    cmd_obj.run()
>  File
> =
"/usr/local/lib/python2.7/site-packages/setuptools/command/install.py",
> line 61, in run
>    return orig.install.run(self)
>  File "/usr/local/lib/python2.7/distutils/command/install.py", line
> 575, in run
>    self.run_command(cmd_name)
>  File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in =
run_command
>    self.distribution.run_command(command)
>  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>    cmd_obj.run()
>  File
> =
"/usr/local/lib/python2.7/site-packages/setuptools/command/install_egg_inf=
o.py",
> line 34, in run
>    self.run_command('egg_info')
>  File "/usr/local/lib/python2.7/distutils/cmd.py", line 326, in =
run_command
>    self.distribution.run_command(command)
>  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in
> run_command
>    cmd_obj.run()
>  File
> =
"/usr/local/lib/python2.7/site-packages/setuptools/command/egg_info.py",
> line 296, in run
>    self.find_sources()
>  File
> =
"/usr/local/lib/python2.7/site-packages/setuptools/command/egg_info.py",
> line 303, in find_sources
>    mm.run()
>  File
> =
"/usr/local/lib/python2.7/site-packages/setuptools/command/egg_info.py",
> line 534, in run
>    self.add_defaults()
>  File
> =
"/usr/local/lib/python2.7/site-packages/setuptools/command/egg_info.py",
> line 573, in add_defaults
>    rcfiles =3D list(walk_revctrl())
>  File
> "/usr/local/lib/python2.7/site-packages/setuptools/command/sdist.py",
> line 20, in walk_revctrl
>    for item in ep.load()(dirname):
>  File
> =
"/usr/ports/devel/py-setuptools_scm/work-py27/setuptools_scm-3.1.0/src/set=
uptools_scm/integration.py",
> line 28, in find_files
>    command =3D ep.load()
>  File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
> 2346, in load
>    return self.resolve()
>  File
> "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", =
line
> 2356, in resolve
>    raise ImportError(str(exc))
> ImportError: 'module' object has no attribute 'FILES_COMMAND'
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/devel/py-setuptools_scm
>=20
> =3D=3D=3D>>> make stage failed for devel/py-setuptools_scm@py27
> =3D=3D=3D>>> Aborting update
>=20
>=20
> =3D=3D=3D>>> You can restart from the point of failure with this =
command line:
>       portmaster <flags> devel/py-setuptools_scm@py27
>=20
> --=20
> -----
> Alex.
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to =
"freebsd-ports-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5CE3F97C-08FA-4D40-B2EA-D0A9C7B958CE>