Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707676 - dev-python/html2text-2020.1.16 with app-text/html2text-1.3.2a-r2 - file collision in /usr/bin/html2text
Summary: dev-python/html2text-2020.1.16 with app-text/html2text-1.3.2a-r2 - file colli...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-31 22:11 UTC by Jack
Modified: 2020-03-03 19:12 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Avoid file collision (file_707676.txt,456 bytes, patch)
2020-02-13 15:41 UTC, Luigi 'Comio' Mantellini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jack 2020-01-31 22:11:18 UTC
dev-python/html2text-2020.1.16 tries to install /usr/bin/html2text, which is owned by app-text/html2text-1.3.2a-r2.  This was previously dealt with in https://bugs.gentoo.org/421647 "dev-python/html2text-3.200.3 conflicts with app-text/html2text-1.3.2a"  
Currently 2018.1.9, 2019.8.11, and 2019.9.26 versions install /usr/bin/pyhtml2text as a symlink to ../lib/python-exec/python-exec2. but 2020.1.16 still tries to use html2text.  I can't find any difference in the ebuilds to explain this, but then, I'm certainly no expert in either ebuilds or python.

Reproducible: Always
Comment 1 Luigi 'Comio' Mantellini 2020-02-13 15:27:24 UTC
See #421647

the sed inside python_prepare_all() should be fixed, I suppose.

ciao

luigi
Comment 2 Luigi 'Comio' Mantellini 2020-02-13 15:32:30 UTC
please apply the sed to setup.cfg (instead setup.py)
Comment 3 Luigi 'Comio' Mantellini 2020-02-13 15:41:33 UTC
Created attachment 613616 [details, diff]
Avoid file collision
Comment 4 Sebastian Pipping gentoo-dev 2020-03-03 19:07:34 UTC
On it ...
Comment 5 Larry the Git Cow gentoo-dev 2020-03-03 19:12:14 UTC
The bug has been closed via the following commit(s):

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

commit 4724d079510719f8efcdadd99607ceea72a20b67
Author:     Sebastian Pipping <sping@gentoo.org>
AuthorDate: 2020-03-03 19:11:07 +0000
Commit:     Sebastian Pipping <sping@gentoo.org>
CommitDate: 2020-03-03 19:11:57 +0000

    dev-python/html2text: Fix /usr/bin/html2text collision regression
    
    Closes: https://bugs.gentoo.org/707676
    Signed-off-by: Sebastian Pipping <sping@gentoo.org>
    Package-Manager: Portage-2.3.84, Repoman-2.3.20

 .../{html2text-2020.1.16.ebuild => html2text-2020.1.16-r1.ebuild}       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)