python distutils on Fedora 20

Brad Bell bradbell at seanet.com
Sun Nov 9 15:54:06 UTC 2014


I suspect there is a problem with the install of gcc-c++.

I tried to remove and reinstall gcc-c++ and got errors. When I do a
     yum check
I get the following message:

1:NetworkManager-0.9.9.0-41.git20131003.fc20.x86_64 is a duplicate with 
1:NetworkManager-0.9.9.0-39.git20131003.fc20.x86_64
1:NetworkManager-glib-0.9.9.0-41.git20131003.fc20.x86_64 is a duplicate 
with 1:NetworkManager-glib-0.9.9.0-39.git20131003.fc20.x86_64
audit-libs-2.3.7-1.fc20.x86_64 is a duplicate with 
audit-libs-2.3.6-1.fc20.x86_64
1:autocorr-en-4.2.5.2-5.fc20.noarch is a duplicate with 
1:autocorr-en-4.2.5.2-1.fc20.noarch
blas-3.4.2-7.fc20.x86_64 is a duplicate with blas-3.4.2-3.fc20.x86_64
blas-devel-3.4.2-7.fc20.x86_64 is a duplicate with 
blas-devel-3.4.2-3.fc20.x86_64
cpp-4.8.3-1.fc20.x86_64 is a duplicate with cpp-4.8.2-7.fc20.x86_64
createrepo_c-libs-0.4.1-1.fc20.x86_64 is a duplicate with 
createrepo_c-libs-0.4.0-1.fc20.x86_64

...

How does one fix these type of errors ?

On 10/28/2014 5:43 AM, Brad Bell wrote:
> Thanks Alec:
> I was using the executable g++ which was installed by the gcc-c++ 
> package, so the gcc-c++ package was installed on the Fedora 20 system.
>
> Your comment about locate cc1plus was a big help. If I add
>     /usr/libexec/gcc/x86_64-redhat-linux/4.8.2
> to my execution path, then the setup.py command works on Fedora 20 . 
> If not, it fails
>
> The strange thing is that cc1plus is not in the execution path on the 
> Fedora 19 system (where the setup script works)   but it is on the 
> system (if one checks locate).
>
> I think this is a bug in the Fedora 20 distribution of distutils. Do 
> you agree ?
>
> On 10/26/2014 5:51 AM, Alec Leamas wrote:
>> On 2014-10-26 13:35, Brad Bell wrote:
>>> I have a python setup.py script that works on Fedora 19 and not 
>>> Fedora 20. I have tried posting a question about it to python-devel; 
>>> see
>>> https://lists.fedoraproject.org/pipermail/python-devel/2014-October/000639.html 
>>>
>>> but have not gotten any response.
>>>
>>> Would someone please direct me to the proper mailing list or is a 
>>> bug report more appropriate ?
>> Hm...
>>
>> ]$ cat /etc/fedora-release
>> Fedora release 20 (Heisenbug)
>>
>> $ locate cc1plus
>> /usr/libexec/gcc/i686-redhat-linux/4.8.2/cc1plus
>>
>> $ rpm -qf /usr/libexec/gcc/i686-redhat-linux/4.8.2/cc1plus
>> gcc-c++-4.8.2-7.fc20.i686
>>
>> $ repoquery -q --whatprovides g++
>> [nothing returned]
>>
>> $ repoquery -q --whatprovides gcc-c++
>> gcc-c++-0:4.8.3-7.fc20.i686
>>
>> i. e., shouldn't you require gcc-c++ instead of g++?
>>
>> Cheers!
>>
>> --alec
>>
>>
>>
>
>



More information about the devel mailing list