Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with option "--with-pydebug" on Mac OS 10.13.6 #78491

Closed
chaconnewu mannequin opened this issue Aug 1, 2018 · 4 comments
Closed

Build error with option "--with-pydebug" on Mac OS 10.13.6 #78491

chaconnewu mannequin opened this issue Aug 1, 2018 · 4 comments
Labels
3.8 only security fixes build The build process and cross-build

Comments

@chaconnewu
Copy link
Mannequin

chaconnewu mannequin commented Aug 1, 2018

BPO 34310
Nosy @chaconnewu, @matrixise, @zhangyangyu

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2018-08-05.09:08:11.449>
created_at = <Date 2018-08-01.17:38:45.326>
labels = ['invalid', 'build', '3.8']
title = 'Build error with option "--with-pydebug" on Mac OS 10.13.6'
updated_at = <Date 2018-08-05.09:22:16.074>
user = 'https://github.com/chaconnewu'

bugs.python.org fields:

activity = <Date 2018-08-05.09:22:16.074>
actor = 'xiang.zhang'
assignee = 'none'
closed = True
closed_date = <Date 2018-08-05.09:08:11.449>
closer = 'matrixise'
components = ['Build']
creation = <Date 2018-08-01.17:38:45.326>
creator = 'yuwu'
dependencies = []
files = []
hgrepos = []
issue_num = 34310
keywords = []
message_count = 4.0
messages = ['322877', '323138', '323140', '323141']
nosy_count = 3.0
nosy_names = ['yuwu', 'matrixise', 'xiang.zhang']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue34310'
versions = ['Python 3.8']

@chaconnewu
Copy link
Mannequin Author

chaconnewu mannequin commented Aug 1, 2018

I'm encountering a build error from the master branch of CPython (heads/master-dirty:d17fe275a3) on Mac OS 10.13.6, with "--with-pydebug" turned on.

The error message:

./python.exe -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Assertion failed: (TYPE(ch) == test || TYPE(ch) == test_nocond || TYPE(ch) == star_expr), function seq_for_testlist, file Python/ast.c, line 1205.
/bin/sh: line 1: 34527 Abort trap: 6 ./python.exe -E -S -m sysconfig --generate-posix-vars
generate-posix-vars failed
make: *** [pybuilddir.txt] Error 1

@chaconnewu chaconnewu mannequin added 3.8 only security fixes build The build process and cross-build labels Aug 1, 2018
@zhangyangyu
Copy link
Member

I could not find the specific commit you mentioned on master branch. Maybe you are on a customized branch(what is master-dirty)?

@matrixise
Copy link
Member

Could you retry with a make distclean && ./configure --with-debug && make ?

To be sure.

@matrixise
Copy link
Member

Hi Yu,

I am going to close this issue because

  1. there is no master-dirty branch
  2. your hash commit: d17fe275a3 does not exist in the CPython repository
  3. I just downloaded the last revision of CPython and compile it on a 10.13.4 OSX and I don't have your issue.

Maybe you should clean your working directory with make distclean and restart with ./configure --with-debug && make

Thank you for your feedback, and re-open this issue if you have again the problem with the master branch.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.8 only security fixes build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

2 participants