homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Subversion keywords missing on 2.5 checkout
Type: Stage:
Components: Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Arfrever, eric.araujo, loewis, orsenthil, vstinner
Priority: normal Keywords:

Created on 2011年03月06日 23:50 by skip.montanaro, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (10)
msg130207 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2011年03月06日 23:50
Trying to build Python 2.5 from a fresh Mercurial checkout I get the
following error trying to build modules using setup.py build:
% nice make 
case $MAKEFLAGS in \
	*-s*) CC='gcc' LDSHARED='gcc -L/opt/local/lib -bundle -undefined dynamic_lookup' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python.exe -E ./setup.py -q build;; \
	*) CC='gcc' LDSHARED='gcc -L/opt/local/lib -bundle -undefined dynamic_lookup' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python.exe -E ./setup.py build;; \
	esac
Fatal Python error: subversion keywords missing
/bin/sh: line 1: 48054 Abort trap CC='gcc' LDSHARED='gcc -L/opt/local/lib -bundle -undefined dynamic_lookup' OPT='-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes' ./python.exe -E ./setup.py build
make: *** [sharedmods] Error 134
Even if no release is made I think this should be fixed in Mercurial
if possible.
msg130209 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2011年03月07日 00:02
-1. Changing the Mercurial tree will make it more difficult to maintain the subversion tree, which will be the tree from which future 2.5 releases will be made.
So if anything is done with this issue, please defer that after September 2011.
msg130210 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2011年03月07日 00:18
Can you explain how I'm supposed to build Python 2.5 from a Mercurial
checkout? What is magic about Sept 2011?
msg130213 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2011年03月07日 00:43
> Can you explain how I'm supposed to build Python 2.5 from a Mercurial
> checkout?
No, I can't. Just don't. Use subversion instead if you want to build 
Python 2.5 (or use one of the released versions).
> What is magic about Sept 2011?
Security releases will cease at that point, and the need to keep
subversion and mercurial synchronized will disappear.
msg130217 - (view) Author: Skip Montanaro (skip.montanaro) * (Python triager) Date: 2011年03月07日 01:40
The workaround turned out to be simple. I just expanded the $HeadURL$
subversion keyword as svn would have done it and committed the change
locally.
msg131567 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011年03月20日 23:23
What’s the proper way to fix this? Mention in the devguide that 2.5 and 2.6 can’t be built from Mercurial, or commit some text in the place of the keywords in Mercurial?
msg131573 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2011年03月20日 23:58
If someone can propose a patch that has zero effect on a subversion checkout or export but fixes the issue with a hg checkout, I'd be fine adding it.
OTOH, I fail to see why this issue needs fixing.
msg131617 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011年03月21日 07:21
How about the patch attached in the issue11579 
msg131623 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2011年03月21日 09:20
I was worried that the fatal error might not trigger anymore when doing something odd with subversion, but I guess this is unfounded worry. So I'm fine with the patch.
msg131627 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2011年03月21日 09:42
f9763c363cc3 didn't close this issue whereas its message contains "Closes #11579. Closes #11421.". This commit closed #11579.
History
Date User Action Args
2022年04月11日 14:57:14adminsetgithub: 55630
2011年03月21日 09:53:01loewissetstatus: open -> closed
nosy: loewis, orsenthil, vstinner, eric.araujo, Arfrever
resolution: fixed
2011年03月21日 09:42:43vstinnersetnosy: + vstinner
messages: + msg131627
2011年03月21日 09:20:01loewissetnosy: loewis, orsenthil, eric.araujo, Arfrever
messages: + msg131623
2011年03月21日 07:21:38orsenthilsetnosy: + orsenthil
messages: + msg131617
2011年03月20日 23:58:12loewissetmessages: + msg131573
2011年03月20日 23:23:13eric.araujosetnosy: + eric.araujo

messages: + msg131567
versions: + Python 2.6, - Python 2.5
2011年03月19日 19:09:05skip.montanarosetnosy: - skip.montanaro
2011年03月07日 14:29:20Arfreversetnosy: + Arfrever
2011年03月07日 01:40:03skip.montanarosetmessages: + msg130217
2011年03月07日 00:43:05loewissetmessages: + msg130213
2011年03月07日 00:18:35skip.montanarosetmessages: + msg130210
2011年03月07日 00:02:57loewissetnosy: + loewis
messages: + msg130209
2011年03月06日 23:50:47skip.montanarocreate

AltStyle によって変換されたページ (->オリジナル) /