Date: Tue, 31 Jan 2017 10:21:23 -0500 From: "John W. O'Brien" <john@saltant.com> To: FreeBSD Python List <freebsd-python@freebsd.org> Subject: Re: Need help finding root cause of staging errors related to MANIFEST Message-ID: <5106582f-54dd-503a-ab67-d94d9812d0f9@saltant.com> In-Reply-To: <13910f98-9041-5a2b-8917-e841df33999b@saltant.com> References: <13910f98-9041-5a2b-8917-e841df33999b@saltant.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --uR62jESRfHitNMj3sT9BJnMniURWlHbW8 Content-Type: multipart/mixed; boundary="vRRQL7N8oBIVKCltvE8Rk6UjicHPhbD0E"; protected-headers="v1" From: "John W. O'Brien" <john@saltant.com> To: FreeBSD Python List <freebsd-python@freebsd.org> Message-ID: <5106582f-54dd-503a-ab67-d94d9812d0f9@saltant.com> Subject: Re: Need help finding root cause of staging errors related to MANIFEST References: <13910f98-9041-5a2b-8917-e841df33999b@saltant.com> In-Reply-To: <13910f98-9041-5a2b-8917-e841df33999b@saltant.com> --vRRQL7N8oBIVKCltvE8Rk6UjicHPhbD0E Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 1/29/17 21:45, John W. O'Brien wrote: > At some point between 2017-01-17T07:39:59-05:00 > 2017-01-23T10:48:15-05:00, some ports started failing to build under > python3.4 (not 3.5 or 3.6). The failure occurs during the poudriere > stage phase while processing the MANIFEST.in template. If the manifest > contains a graft statement that refers to a non-existent directory, the= > build log contains a fatal error where before there was only a warning.= [...] > The time interval implicates python 3.4.6, and not setuptools 32.1.0. > I'm having a hard time narrowing it down further than that. After reading a bunch of source code and learning about DISTUTILS_DEBUG, I obtained the following trace (edited for brevity and clarity). =3D=3D=3D=3D reading manifest template 'MANIFEST.in' warning: no files found matching 'README.rst' no previously-included directories found matching 'doc/build' error: [Errno 2] No such file or directory: 'examples' Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 696, in <module> **setuptools_kwargs) File "/usr/local/lib/python3.4/distutils/core.py", line 148, in setup dist.run_commands() [...] File "/usr/local/lib/python3.4/site-packages/setuptools/command/egg_info.py", line 444, in graft found =3D distutils.filelist.findall(dir) File "/usr/local/lib/python3.4/distutils/filelist.py", line 258, in findall names =3D os.listdir(dir) FileNotFoundError: [Errno 2] No such file or directory: 'examples' include MANIFEST.in include LICENSE include RELEASE.md include README.rst include setup.py graft doc prune doc/build graft examples *** Error code 1 Stop. make: stopped in /usr/ports/math/py-pandas =3D=3D=3D=3D This points to a patch [0] in python 3.4.6. How does the list think I should proceed? File a PR with lang/python34, with devel/py-setuptools, with one of the upstreams? [0] https://hg.python.org/cpython/rev/e82b995d1a5c --vRRQL7N8oBIVKCltvE8Rk6UjicHPhbD0E-- --uR62jESRfHitNMj3sT9BJnMniURWlHbW8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJYkKt2AAoJEGEAJpqmdExHA6IP/1zOzSwAcLK4N8V2wzfgbilG 0/onHxnpzrP9Q8T5q0CIffaXaxY/VKAq9cGlBpZ2wG4oQ4d7i91N9k4rMvs8k3ss 6/2vWjoNFZJYomyLN+4PiFw+yNLNxD29wX3ieFKGTmo4Ccg1Lj4V3m6WHO3Mgsm2 BUGUAFPKEB/MLCdnoc/NnUqNjRWWzu/ZZ4nJCwdsQa7cBsq72/Saq+JmsoUkc2FG auMZxvQ8mltS680b3D0V95ZiCYU/L7bg/VBa0kJ4RcrUaGbUi7L2quEIqJ0RYPzL FK1v8QKdY7o0L/FwxSh/cRCJt3L9YlSRusCcld/Mlc+ncfjXxJBrSnDsp8jQZeGi tncXniVKmqqjrgwJtmiC7p8q4/p7DQe+tDp87IytSkVCYRmthNcNWNv6hhcdg2yI PMBDSXFrETLPfWLlROfUDxmSkGKrPv8/2C7G58flMPlnrMJV0VFmxNJerx9aXOou Enu+IvtVTJ/8Y69oMscxBjM3wO6QqcqOyLksEiOjG12pDFF0nEGBiuNlWiCxK9bS l6DsqziygnOQ9Gh+GZBoJdfbLtQ7XWY0FfVnKUYyZLEH2hI6F9SIAhc8sZcc5Mqg fxljuH4Q7tdaUDF4kl2KeCoyGIXl+Il9WdclzLs7iVBdOMmDG0oQeNvSgbU3hMUj mX/BhM+ZM4OJGz52w0j4 =5F4M -----END PGP SIGNATURE----- --uR62jESRfHitNMj3sT9BJnMniURWlHbW8--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5106582f-54dd-503a-ab67-d94d9812d0f9>