[issue17649] Python/Python-ast.c: No such file or directory
New submission from pfg: This happens when I run configure for python 2.7.2 on FreeBSD ... cc -c -fno-strict-aliasing -O2 -fno-strict-aliasing -pipe -march=nocona -DNDEBUG -O2 -fno-strict-aliasing -pipe -march=nocona -I. -IInclude -I./../Include -fPIC -DPy_BUILD_CORE -o Python/Python-ast.o Python/Python-ast.c cc: Python/Python-ast.c: No such file or directory cc: No input files specified *** [Python/Python-ast.o] Error code 1 Stop in /usr/ports/lang/python27/work/Python-2.7.4/portbld.shared. -- messages: 186176 nosy: pfg priority: normal severity: normal status: open title: Python/Python-ast.c: No such file or directory type: compile error versions: Python 2.7 ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17649] Python/Python-ast.c: No such file or directory
pfg added the comment: I looked and the file exists: $ file Python/Python-ast.c Python/Python-ast.c: C source, ASCII text The file appears valid. I touched the files as suggested but I still I get the same error message when running "configure". FWIW, the Makefile.pre.in target exists but it doesn't seem useful because this happens just by running configure (when there is no Makefile). I should note that I am attempting to build within FreeBSD's ports tree (apparently out-of-tree) so maybe my environment setup is causing the trouble. -- status: pending -> open ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17649] Python/Python-ast.c: No such file or directory
pfg added the comment: Correction: The problem does arise during the build process (not configure). Still specifying the touch target for the build or touching manually the files doesn't help :( -- ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17649] Python/Python-ast.c: No such file or directory
pfg added the comment: Oops.. I am sorry I reported the wrong version, I am using python-2.7.4 just released SHA256 (python/Python-2.7.4.tar.xz) = b6626eb6d07d72351f251116ab14427fc934b5f24e6ebc751356a44a7d23b62d SIZE (python/Python-2.7.4.tar.xz) = 10250644 And I am running something similar to your buildbot: FreeBSD pcbsd-3938 9.1-STABLE FreeBSD 9.1-STABLE #9 r248799M: Wed Mar 27 15:23:28 COT 2013 pfg@pcbsd-3938:/sys/amd64/compile/DELL amd64 I am afraid the issue is caused by the ports tree environment: it does some nasty workarounds to avoid building some components. Let's just close this issue, I will investigate locally and if I find something wrong in the release I will let you know, Thanks for your help! -- status: open -> closed Added file: http://bugs.python.org/file29720/configure-log.gz ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17649] Python/Python-ast.c: No such file or directory
pfg added the comment: The problem is Makefile.pre.in was changed in a way that stops out-of-tree builds. The following patch by Markus Von Appen fixes it. -- status: closed -> open Added file: http://bugs.python.org/file29736/patch-Makefile.pre.in ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17649] Python/Python-ast.c: No such file or directory
pfg added the comment: Ruslan Makhmatkhanov provided this (more complete) patch. -- Added file: http://bugs.python.org/file29737/patch-Makefile.pre.in ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17649] Python/Python-ast.c: No such file or directory
Changes by pfg : Removed file: http://bugs.python.org/file29736/patch-Makefile.pre.in ___ Python tracker <http://bugs.python.org/issue17649> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com