| Summary: | dev-util/idea-community-2022.2.2: '/var/tmp/portage/dev-util/idea-community-2022.2.2/work/idea-IC-2022.2.2' doesn't exist | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Sam James <sam> |
| Component: | Current packages | Assignee: | Mike Pagano <mpagano> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | dev-portage, pms, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | build.log | ||
|
Description
Sam James
2022-09-22 03:41:51 UTC
I just ran this again with no issues and have it install on two systems. I'm a little confused here (In reply to Mike Pagano from comment #1) > I just ran this again with no issues and have it install on two systems. > > I'm a little confused here Sam, can you tell me the contents of : /var/tmp/portage/dev-util/idea-community-2022.2.2/work $ ls -al /var/tmp/portage/dev-util/idea-community-2022.2.2/work total 12 drwxrwx--- 3 portage portage 4096 Oct 4 16:14 . drwxrwx--- 8 portage portage 4096 Oct 4 16:14 .. drwxr-xr-x 7 portage portage 4096 Sep 13 13:36 idea-IC-222.4167.29 Something looks amiss:
The source directory get's renamed:
>>> Unpacking source...
>>> Unpacking idea-community-2022.2.2.tar.gz to /tmp/portage/dev-util/idea-community-2022.2.2/work
>>> Source unpacked in /tmp/portage/dev-util/idea-community-2022.2.2/work
* Renaming source directory to predictable name...
I don't see that in your build.log
post_src_unpack() {
if [ ! -d "$S" ]; then
einfo "Renaming source directory to predictable name..."
mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die
fi
}
(In reply to Mike Pagano from comment #4) > Something looks amiss: > > The source directory get's renamed: > > >>> Unpacking source... > >>> Unpacking idea-community-2022.2.2.tar.gz to /tmp/portage/dev-util/idea-community-2022.2.2/work > >>> Source unpacked in /tmp/portage/dev-util/idea-community-2022.2.2/work > * Renaming source directory to predictable name... > > > I don't see that in your build.log > > post_src_unpack() { > if [ ! -d "$S" ]; then > einfo "Renaming source directory to predictable name..." > mv $(ls "${WORKDIR}") "idea-IC-${PV}" || die > fi > } It's because I have a post_src_unpack & post_src_prepare in /etc/portage/bashrc. While I think defining it in the ebuild is maybe a little bit odd, it's actually not wrong seemingly from when I look at reserved names in PMS: https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-13700012.3.17. Hm. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42c727f1a2634fc619fc14207ef863441174466c commit 42c727f1a2634fc619fc14207ef863441174466c Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2022-10-05 14:51:47 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2022-10-05 14:51:47 +0000 dev-util/idea-community: Move dir renaming to src_unpack Closes: https://bugs.gentoo.org/872275 Signed-off-by: Mike Pagano <mpagano@gentoo.org> dev-util/idea-community/idea-community-2022.2.2.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) |