Geoffrey Irving
2013-Nov-06 18:24 UTC
[LLVMdev] configparser and ConfigParser are different
LLVM builds with me on the release_33 branch, but fails on trunk. I
bisected the problem to this commit:
commit b49fb7bcd5001567d2da06f6a6e1c7ba79649e1b
Author: Daniel Dunbar <daniel at zuster.org>
Date: Wed Aug 14 23:15:39 2013 +0000
[llvm-build] Make Py3 compatible.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk at 188424
91177308-0d34-0410-b5e6-96231b3b80d8
Specifically, the problem is that configparser and ConfigParser
apparently expose subtly different interfaces. Indeed, the attached
patch fixes the problem for me (with python 2.7.4). I haven't yet
investigated how the two modules are different, and obviously this
isn't the right patch.
More investigation coming up.
Geoffrey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-llvm-build-Fix-the-build-in-the-most-ridiculous-mann.patch
Type: text/x-patch
Size: 798 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20131106/9b5d0565/attachment.bin>
Geoffrey Irving
2013-Nov-06 18:54 UTC
[LLVMdev] configparser and ConfigParser are different
Okay, I've traced it to a bug in configparser, which on my python 2.7.4 system is a backport of configparser from python 3. Here is a clean patch that works around the problem. Geoffrey On Wed, Nov 6, 2013 at 10:24 AM, Geoffrey Irving <irving at naml.us> wrote:> LLVM builds with me on the release_33 branch, but fails on trunk. I > bisected the problem to this commit: > > commit b49fb7bcd5001567d2da06f6a6e1c7ba79649e1b > Author: Daniel Dunbar <daniel at zuster.org> > Date: Wed Aug 14 23:15:39 2013 +0000 > > [llvm-build] Make Py3 compatible. > > git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk at 188424 > 91177308-0d34-0410-b5e6-96231b3b80d8 > > Specifically, the problem is that configparser and ConfigParser > apparently expose subtly different interfaces. Indeed, the attached > patch fixes the problem for me (with python 2.7.4). I haven't yet > investigated how the two modules are different, and obviously this > isn't the right patch. > > More investigation coming up. > > Geoffrey-------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-llvm-build-Work-around-a-bug-in-the-backported-confi.patch Type: text/x-patch Size: 1192 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131106/1b129fd8/attachment.bin>
Geoffrey Irving
2013-Nov-06 19:09 UTC
[LLVMdev] configparser and ConfigParser are different
This has already been fixed upstream, but it would still be nice to
apply my LLVM patch so that more systems work unmodified. I got a
broken version out of stock Ubuntu 13.04.
https://bitbucket.org/ambv/configparser/issue/4
Thanks,
Geoffrey
On Wed, Nov 6, 2013 at 10:54 AM, Geoffrey Irving <irving at naml.us>
wrote:> Okay, I've traced it to a bug in configparser, which on my python
> 2.7.4 system is a backport of configparser from python 3. Here is a
> clean patch that works around the problem.
>
> Geoffrey
>
> On Wed, Nov 6, 2013 at 10:24 AM, Geoffrey Irving <irving at naml.us>
wrote:
>> LLVM builds with me on the release_33 branch, but fails on trunk. I
>> bisected the problem to this commit:
>>
>> commit b49fb7bcd5001567d2da06f6a6e1c7ba79649e1b
>> Author: Daniel Dunbar <daniel at zuster.org>
>> Date: Wed Aug 14 23:15:39 2013 +0000
>>
>> [llvm-build] Make Py3 compatible.
>>
>> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk at 188424
>> 91177308-0d34-0410-b5e6-96231b3b80d8
>>
>> Specifically, the problem is that configparser and ConfigParser
>> apparently expose subtly different interfaces. Indeed, the attached
>> patch fixes the problem for me (with python 2.7.4). I haven't yet
>> investigated how the two modules are different, and obviously this
>> isn't the right patch.
>>
>> More investigation coming up.
>>
>> Geoffrey