Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 738798

Summary: =dev-python/pycurl-7.43.0.5: Installation of a regular file is blocked by a directory: /usr/lib/python3.7/site-packages/pycurl-7.43.0.5-py3.7.egg-info
Product: Gentoo Linux Reporter: Gleb <kirokko+gentoo>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: UNCONFIRMED ---    
Severity: normal CC: mgorny, sam, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gleb 2020-08-24 08:23:09 UTC
When installing the new version, I get the following message:
 * 
 * Installation of a regular file is blocked by a directory:
 *   '/usr/lib/python3.7/site-packages/pycurl-7.43.0.5-py3.7.egg-info'
 * This file will be merged with a different name:
 *   '/usr/lib/python3.7/site-packages/pycurl-7.43.0.5-py3.7.egg-info.backup.0000'
 * 


Is this expected? What should be done with this?

Now I have both directory and the file.

Reproducible: Always
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-24 11:40:12 UTC
Did you unmerge dev-python/wheel recently?
Comment 2 Gleb 2020-08-24 11:54:49 UTC
According to qlop report, yes:

2020-06-05T15:12:13 >>> dev-python/wheel: 8s
2020-07-23T13:56:32 <<< dev-python/wheel: 2s
Comment 3 Larry the Git Cow gentoo-dev 2020-08-24 12:35:15 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c296ac784183126fc5707fe08742b1a8e302d4

commit f1c296ac784183126fc5707fe08742b1a8e302d4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-08-24 12:34:31 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-08-24 12:35:12 +0000

    dev-python/pycurl: Force building using distutils
    
    Bug: https://bugs.gentoo.org/738798
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pycurl/pycurl-7.43.0.5.ebuild | 3 +++
 1 file changed, 3 insertions(+)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-24 12:41:02 UTC
This is somewhat of an unsolvable problem.  I've pushed a fix that should make this at least consistent for future installs.  However, people who happened to install it with dev-python/wheel installed will still hit this.  The problem should eventually go away on the next version bump (→ filename change).