Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 589610 - sci-libs/mkl-10.0.5.025 incorrect source directory
Summary: sci-libs/mkl-10.0.5.025 incorrect source directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal blocker (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-24 16:29 UTC by masum.habib@gmail.com
Modified: 2016-08-23 08:45 UTC (History)
0 users

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 masum.habib@gmail.com 2016-07-24 16:29:25 UTC
Hi,

I was trying to merge the MKL library from gentoo portage tree and encountered following error:

--------------------------
 * ERROR: sci-libs/mkl-10.0.5.025::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/sci-libs/mkl-10.0.5.025/work/mkl-10.0.5.025' doesn't exist
---------------------------

While digging a bit, I found that in the unpacking stage, 'work/l_mkl-10.0.5.025' folder is created instead of 'work/mkl-10.0.5.025' however, ${S} points to 'work/mkl-10.0.5.025'.

By build.log file reads:
=========================

 * Package:    sci-libs/mkl-10.0.5.025
 * Repository: gentoo
 * Maintainer: sci@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Checking for at least 3500 MiB disk space at "/var/tmp/portage/sci-libs/mkl-10.0.5.025/temp" ...                                                                        [ ok ]
 * Using following Fortran compiler:
 *   F77: x86_64-pc-linux-gnu-gfortran
 *   FC:  x86_64-pc-linux-gnu-gfortran
 * Checking for at least 1100 MiB disk space at "/var/tmp/portage/sci-libs/mkl-10.0.5.025/temp" ...                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking l_mkl_p_10.0.5.025.tgz to /var/tmp/portage/sci-libs/mkl-10.0.5.025/work
>>> Source unpacked in /var/tmp/portage/sci-libs/mkl-10.0.5.025/work
 * ERROR: sci-libs/mkl-10.0.5.025::gentoo failed (prepare phase):
 *   The source directory '/var/tmp/portage/sci-libs/mkl-10.0.5.025/work/mkl-10.0.5.025' doesn't exist
 * 
 * Call stack:
 *            ebuild.sh, line  780:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1005:  Called __dyn_prepare
 *   phase-functions.sh, line  369:  Called die
 * The specific snippet of code:
 *              die "The source directory '${S}' doesn't exist"
 * 
 * If you need support, post the output of `emerge --info '=sci-libs/mkl-10.0.5.025::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sci-libs/mkl-10.0.5.025::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sci-libs/mkl-10.0.5.025/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-libs/mkl-10.0.5.025/temp/environment'.
 * Working directory: '/usr/lib64/python3.4/site-packages'
 * S: '/var/tmp/portage/sci-libs/mkl-10.0.5.025/work/mkl-10.0.5.025'
Comment 1 David Seifert gentoo-dev 2016-08-23 08:45:34 UTC
commit 525b7acb483107106e4e3109bc1216809bc17175
Author: Gerhard Bräunlich <wippbox@gmx.net>
Date:   Tue Aug 16 17:08:55 2016 +0200

    sci-libs/mkl: Fixed ebuild

    Gentoo-bug: #589610
    Reported-by: masum.habib@gmail.com