Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509068 - sys-auth/keystone-2014.1 src_prepare(): cp: cannot create regular file ‘keystone/tests/tmp/’: Not a directory
Summary: sys-auth/keystone-2014.1 src_prepare(): cp: cannot create regular file ‘keyst...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-29 13:54 UTC by Thomas Capricelli
Modified: 2014-04-29 18:10 UTC (History)
1 user (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 Thomas Capricelli 2014-04-29 13:54:32 UTC
The problem is in  python_prepare_all() : cp etc/keystone-paste.ini  {PN}/tests/tmp/ || die

It works if i remove this line, which i guess is not very important. I can't test with USE=-test, i dont know why.



 * Package:    sys-auth/keystone-2014.1
 * Repository: gentoo
 * Maintainer: prometheanfire@gentoo.org openstack@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux mysql python_targets_python2_7 sqlite userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
cp: cannot create regular file ‘keystone/tests/tmp/’: Not a directory
 * ERROR: sys-auth/keystone-2014.1::gentoo failed (prepare phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 3797:  Called distutils-r1_src_prepare
 *   environment, line 1128:  Called python_prepare_all
 *   environment, line 3644:  Called die
 * The specific snippet of code:
 *       cp etc/keystone-paste.ini ${PN}/tests/tmp/ || die;
 *
 * If you need support, post the output of `emerge --info '=sys-auth/keystone-2014.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-auth/keystone-2014.1::gentoo'`.
 * The complete build log is located at '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/temp/build.log'.
 * The ebuild environment file is located at '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/temp/environment'.
 * Working directory: '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/work/keystone-2014.1'
 * S: '/usr/unsecure/tmp/portage/sys-auth/keystone-2014.1/work/keystone-2014.1'
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-04-29 18:10:48 UTC
fixed, the dir is in git but not the tarball, failfailfailfailfail