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

Bug 587376

Summary: dev-util/eric-5.5.2 failed on src_install
Product: Gentoo Linux Reporter: Mike Hiretsky <mh>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED WONTFIX    
Severity: major CC: csanyipal, cybercom, israel.lugo, jstein, net.torvus, yamadharma
Priority: Normal Keywords: PATCH, PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch for the eric-5.5.2.ebuild
A patch that replaces the faulty sed command

Description Mike Hiretsky 2016-06-28 07:11:24 UTC
Failed to install eric-5.5.2

Traceback (most recent call last):
  File "install.py", line 1421, in <module>
    main(sys.argv)
  File "install.py", line 1400, in main
    res = installEric()
  File "install.py", line 757, in installEric
    os.path.join(dst, "eric5" + marker + ".png"))
  File "install.py", line 562, in shutilCopy
    shutil.copy(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'./icons/default/eric5.png'

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-utils/eric-5.5.2




A bug appeared in the ebuild with bugfix https://bugs.gentoo.org/show_bug.cgi?id=542488. Probably command sed -i -e 's/eric"/eric5"/' changes not only eric.*.png files.
Comment 1 7of9 2016-06-29 16:50:53 UTC
Can confirm, suffering from exactly the same issue.
Comment 2 Per Pascal Seeland 2016-07-13 19:34:24 UTC
Created attachment 440618 [details, diff]
Patch for the eric-5.5.2.ebuild

Apply a patch that replaces the sed command
Comment 3 Per Pascal Seeland 2016-07-13 19:36:40 UTC
Created attachment 440620 [details, diff]
A patch that replaces the faulty sed command

The patch replaces the sed command. The issue with the sed command is that it matches to much. Installing breaks, because the source directory for the images is changed from eric to eric5.
Comment 4 Brian Evans (RETIRED) gentoo-dev 2016-09-19 17:14:22 UTC
*** Bug 594302 has been marked as a duplicate of this bug. ***
Comment 5 Pál Csányi 2016-09-19 18:32:40 UTC
I can confirm too.
Comment 6 Israel G. Lugo 2016-10-18 18:54:13 UTC
Same here, dev-util/eric-5.5.2 breaks with:

Installing eric5 ...
Could not install './default.e4k'.
Could not install './default_Mac.e4k'.
An internal error occured.  Please report all the output of the program,
including the following traceback, to eric-bugs@eric-ide.python-projects.org.

Traceback (most recent call last):
  File "install.py", line 1421, in <module>
    main(sys.argv)
  File "install.py", line 1400, in main
    res = installEric()
  File "install.py", line 757, in installEric
    os.path.join(dst, "eric5" + marker + ".png"))
  File "install.py", line 562, in shutilCopy
    shutil.copy(src, dst)
  File "/usr/lib64/python2.7/shutil.py", line 119, in copy
    copyfile(src, dst)
  File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: u'./icons/default/eric5.png'

There is already a patch by Per Pascal Grube, for 3 months now. Can we please have this fix incorporated to Portage?
Comment 7 Dmitry Meleshkin 2016-12-06 17:21:29 UTC
I can confirm this bug
Comment 8 Jonas Stein gentoo-dev 2016-12-07 21:37:00 UTC
confirmed by several users.
Comment 9 Davide Pesavento (RETIRED) gentoo-dev 2016-12-21 05:17:43 UTC
eric:5 has been masked for removal. Please use eric:6