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

Bug 721404

Summary: dev-util/idea-community-2020.1.1.201.7223.91: The source directory '' doesn't exist
Product: Gentoo Linux Reporter: Viktar Patotski <xp.vit.blr>
Component: Current packagesAssignee: Arisu Tachibana <alicef>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, matthias.grobarek, mpagano
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
Proposed fix for the ebuild

Description Viktar Patotski 2020-05-07 09:39:23 UTC
dev-util/idea-community-2020.1.1.201.7223.91 fails to install with error:

ERROR: dev-util/idea-community-2020.1.1.201.7223.91::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/dev-util/idea-community-2020.1.1.201.7223.91/work/idea-IC-201.7223.91' doesn't exist

When I look in the work folder I see that folder for old package is extracted there:

> ls /var/tmp/portage/dev-util/idea-community-2020.1.1.201.7223.91/work/
idea-IC-201.6668.121  jre64


Reproducible: Always
Comment 1 Viktar Patotski 2020-05-07 09:42:24 UTC
Created attachment 636676 [details]
build.log
Comment 2 Viktar Patotski 2020-05-08 10:01:02 UTC
Now fails differently:

Unpacking ideaIC-1.1.201.7223.91.tar.gz to /var/tmp/portage/dev-util/idea-community-2020.1.1.201.7223.91-r1/work
 * ERROR: dev-util/idea-community-2020.1.1.201.7223.91-r1::gentoo failed (unpack phase):
 *   unpack: ideaIC-1.1.201.7223.91.tar.gz does not exist
Comment 3 matthias.grobarek 2020-05-13 08:59:51 UTC
Created attachment 638558 [details, diff]
Proposed fix for the ebuild

The ebuild explicitly wants the downloaded file to end with "_20200507.tar.gz". Replacing this with just ".tar.gz" makes the ebuild work properly for me.
Comment 4 Larry the Git Cow gentoo-dev 2020-05-13 17:50:52 UTC
The bug has been closed via the following commit(s):

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

commit 9779b0eeae045051e4aab486b7eaf680fbe18081
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2020-05-13 17:50:37 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2020-05-13 17:50:37 +0000

    dev-util/idea-community: Fix unpack error for !jbr11
    
    Closes: https://bugs.gentoo.org/721404
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 .../idea-community/idea-community-2020.1.1.201.7223.91-r1.ebuild  | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)