Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 486012 - www-client/uzbl-9999 - src_install(): error: could not create '/usr/lib64/python3.2/site-packages/uzbl': Permission denied
Summary: www-client/uzbl-9999 - src_install(): error: could not create '/usr/lib64/pyt...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: tharvik
URL:
Whiteboard:
Keywords:
Depends on: 513446
Blocks:
  Show dependency tree
 
Reported: 2013-09-25 19:17 UTC by Walter Dnes
Modified: 2014-07-06 12:22 UTC (History)
2 users (show)

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


Attachments
buildlog.txt.gz (buildlog.txt.gz,2.67 KB, application/gzip)
2013-09-25 19:20 UTC, Walter Dnes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Dnes 2013-09-25 19:17:03 UTC
The install stage of the uzbl-9999 ebuild seems to attempt to install directly to the live file system. The relevant lines of the build log are below. The full log is attached.

python3 setup.py install --prefix=/usr --install-scripts=/var/tmp/portage/www-client/uzbl-9999/image//usr/bin 
running install
running build
running build_py
warning: build_py: byte-compiling is disabled, skipping.

running build_scripts
running install_lib
creating /usr/lib64/python3.2/site-packages/uzbl
 * ACCESS DENIED:  mkdir:        /usr/lib64/python3.2/site-packages/uzbl
error: could not create '/usr/lib64/python3.2/site-packages/uzbl': Permission denied
make: *** [install-event-manager] Error 1
 * ERROR: www-client/uzbl-9999 failed (install phase):
 *   emake failed


Reproducible: Always

Steps to Reproduce:
1.emerge =www-client/uzbl-9999
2.
3.
Actual Results:  
ebuild dies at install stage as described above

Expected Results:  
Should build and install properly

emerge --info output

Portage 2.1.12.2 (default/linux/amd64/13.0/no-multilib, gcc-4.6.3, glibc-2.15-r3, 3.8.13-gentoo x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-x86_64-Intel-R-_Core-TM-_i5-3330_CPU_@_3.00GHz-with-gentoo-2.2
KiB Mem:     8050136 total,   5433432 free
KiB Swap:    9437180 total,   9036544 free
Timestamp of tree: Fri, 06 Sep 2013 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -fno-unwind-tables -fno-asynchronous-unwind-tables"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net"
INSTALL_MASK="/usr/lib/systemd/"
LANG="en_US.ISO-8859-1"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1 --load-average=5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac amd64 bzip2 cxx dga dri exif ffmpeg flac fortran gallium gif intel jpeg mmx mmxext mng mp3 mpeg ncurses nptl nptlonly nsplugin offensive ogg opengl openrc png posix readline sse sse2 sse3 ssl ssse3 theora threads tiff tools truetype vim-syntax vorbis webm x264 xcomposite xpm xv xvid zlib" ABI_X86="64" CURL_SSL="gnutls" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en en_US" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" USERLAND="GNU" VIDEO_CARDS="intel i965"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Walter Dnes 2013-09-25 19:20:17 UTC
Created attachment 359456 [details]
buildlog.txt.gz

gzipped log of the failed build/install
Comment 2 Franz Trischberger 2013-10-08 20:32:05 UTC
I added this line to src_prepare:

sed -i "s@setup.py install --prefix=\$(PREFIX)@setup.py install --prefix=\$(DESTDIR)/\$(PREFIX)@" Makefile || die "Makefile sed for install failed"
Comment 3 Franz Trischberger 2013-11-06 08:44:56 UTC
Just added an adjusted uzbl-9999 ebuild to my overlay which fixes this issue (among others):
https://github.com/ff2000/gentoo-overlay/commit/f13402876c450a578e84e5beeedde792addd1553
Comment 4 Sven Vermeulen (RETIRED) gentoo-dev 2014-07-06 12:22:38 UTC
Updated 9999 ebuild has been committed to the tree