Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549206 - dev-python/PyECLib-1.0.7 fails to install
Summary: dev-python/PyECLib-1.0.7 fails to install
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-11 20:32 UTC by Thomas Capricelli
Modified: 2015-05-11 21:45 UTC (History)
0 users

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


Attachments
build log (build.log,53.05 KB, text/x-log)
2015-05-11 20:34 UTC, Thomas Capricelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Capricelli 2015-05-11 20:32:23 UTC
I think that for some reason it tries to install some part in the actual root (/) instead of the usual ebuild install dir.

Interesting part : 

...
make[1]: Leaving directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/examples'
make[1]: Entering directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0'
Making install in src
make[1]: Entering directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/src'
make[2]: Entering directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/src'
 /bin/mkdir -p '//usr/local/lib'
 /bin/sh ../libtool   --mode=install /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c   libgf_complete.la '//usr/local/lib'
libtool: install: /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c .libs/libgf_complete.so.1.0.0 //usr/local/lib/libgf_complete.so.1.0.0
/usr/bin/install: cannot create regular file '//usr/local/lib/libgf_complete.so.1.0.0': Permission denied
Makefile:372: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/src'
Makefile:536: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Leaving directory '/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/src'
Makefile:440: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
CFLAGS=" -I/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/include -I/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/include" LDFLAGS=" -L/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/.libs  -L/usr/unsecure/tmp/portage/dev-python/PyECLib-1.0.7/work/PyECLib-1.0.7/src/c/gf-complete-1.0/src/.libs "  ./configure --prefix=//usr/local
***************************************************
*** Error: gf-complete-1.0 install failed!
** Please install gf-complete-1.0 manually and retry
**   http://lab.jerasure.org/jerasure/gf-complete.git
***************************************************


Reproducible: Always
Comment 1 Thomas Capricelli 2015-05-11 20:34:30 UTC
Created attachment 403062 [details]
build log
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-05-11 21:06:07 UTC
I'm not able to reproduce the error :(

Here's a bpaste (for as long as it'll stay up) https://bpaste.net/show/b646c50fd911
Comment 3 Thomas Capricelli 2015-05-11 21:33:01 UTC
The bug is related to dev-python/setuptools version (at least) 15.0

For some reason, using setuptools 15.0 would lead to :

checking for a BSD-compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c

Instead of
checking for a BSD-compatible install... /usr/bin/install -c

Updating to latest ~amd64 package setuptools-15.2 fixes the problem. The current stable version 12.0.1 works as well (according to prometheanfire, haven't tested myself).
Comment 4 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-05-11 21:45:30 UTC
since latest version and stable version work fine I'm marking as closed