Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916320 - media-libs/openimageio-2.5.4.0 can't emerge since The source directory doesn't exist
Summary: media-libs/openimageio-2.5.4.0 can't emerge since The source directory doesn'...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-27 06:53 UTC by deim
Modified: 2023-10-27 12:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deim 2023-10-27 06:53:18 UTC
Unpacking openimageio-2.5.4.0.tar.gz to /var/tmp/portage/media-libs/openimageio-2.5.4.0/work

gives error:

The source directory '/var/tmp/portage/media-libs/openimageio-2.5.4.0/work/openimageio-2.5.4.0' doesn't exist

since the directory in work is:
/var/tmp/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0/

Reproducible: Always

Steps to Reproduce:
1. emerge media-libs/openimageio-2.5.4.0
Actual Results:  
* Package:    media-libs/openimageio-2.5.4.0:0/2.5
 * Repository: gentoo
 * Maintainer: sci@gentoo.org
 * USE:        X abi_x86_64 amd64 cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_f16c cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 elibc_glibc ffmpeg gif gui jpeg jpeg2k kernel_linux opencv python python_single_target_python3_11 raw tools truetype
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.11 to build
>>> Unpacking source...
>>> Unpacking openimageio-2.5.4.0.tar.gz to /var/tmp/portage/media-libs/openimageio-2.5.4.0/work
>>> Source unpacked in /var/tmp/portage/media-libs/openimageio-2.5.4.0/work
 * ERROR: media-libs/openimageio-2.5.4.0::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/media-libs/openimageio-2.5.4.0/work/openimageio-2.5.4.0' doesn't exist

Expected Results:  
successfull emerge
Comment 1 Martin Rott 2023-10-27 07:55:25 UTC
Hello, confirming same issue, also adding 
S="${WORKDIR}/OpenImageIO-${PV}" 
to ebuild file as in OpenColorIO is enough to make it emerge sucessfully..
Regards, 
Martin Rott
Comment 2 Larry the Git Cow gentoo-dev 2023-10-27 12:17:27 UTC
The bug has been closed via the following commit(s):

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

commit 337ec971467b2c330a1988aba4116d058449d5ed
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2023-10-27 11:11:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-27 12:15:29 +0000

    media-libs/openimageio: set correct source directory
    
    Closes: https://bugs.gentoo.org/916320
    
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33541
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/openimageio/openimageio-2.4.12.0.ebuild | 2 +-
 media-libs/openimageio/openimageio-2.4.13.0.ebuild | 2 +-
 media-libs/openimageio/openimageio-2.4.14.0.ebuild | 1 +
 media-libs/openimageio/openimageio-2.4.15.0.ebuild | 1 +
 media-libs/openimageio/openimageio-2.4.16.0.ebuild | 1 +
 media-libs/openimageio/openimageio-2.5.4.0.ebuild  | 1 +
 6 files changed, 6 insertions(+), 2 deletions(-)