Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 487046 - =www-apps/owncloud-5.0.12 ebuild stuck in install phase
Summary: =www-apps/owncloud-5.0.12 ebuild stuck in install phase
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-05 21:02 UTC by Florian "adlerweb" Knodt
Modified: 2013-10-06 13:27 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 Florian "adlerweb" Knodt 2013-10-05 21:02:43 UTC
While installing owncloud-5.0.12 portage gets stuck during install phase. Happens also when calling directly via "ebuild owncloud-5.0.12.ebuild install".

Reproducible: Always

Steps to Reproduce:
1. emerge =owncloud-5.0.12

Actual Results:  
portage gets stuck with
>>> Install owncloud-5.0.12 into /var/tmp/portage/www-apps/owncloud-5.0.12/image/ category www-apps


Expected Results:  
finish install-phase, continue with merge

tested on 3 amd64-systems (1x update from .11, 1x update from .10, 1x no owncloud)

USE="curl mysql -postgres -sqlite -vhosts"
=app-admin/webapp-config-1.50.16-r4

---snip---
emerge --info
Portage 2.2.1 (hardened/linux/amd64, gcc-4.7.3, glibc-2.15-r3, 3.10.1-hardened-r1-YW x86_64)
=================================================================
System uname: Linux-3.10.1-hardened-r1-YW-x86_64-QEMU_Virtual_CPU_version_1.4.2-with-gentoo-2.2
KiB Mem:     8180356 total,   1496036 free
KiB Swap:    2097148 total,   1779604 free
Timestamp of tree: Fri, 04 Oct 2013 23:30: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.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/spool/munin-async/.ssh"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j4 --load-average=1.85"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-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="/usr/local/portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cxx dri gdbm hardened iconv idn ipv6 justify mmx modules mudflap multilib ncurses nls nptl openmp pam pax_kernel pcre readline session sse sse2 ssl tcpd unicode urandom zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="itk" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON

(EMERGE_DEFAULT_OPTS cleared for testing)


---snip---
strace (partial)

epoll_wait(3, {{EPOLLIN, {u32=9, u64=3638004975235235849}}}, 1023, -1) = 1
read(9, ">>> Test phase [not enabled]: ww"..., 4096) = 55
write(10, ">>> Test phase [not enabled]: ww"..., 55) = 55
write(11, ">>> Test phase [not enabled]: ww"..., 55) = 55
read(9, 0x7f0036c31650, 4096)           = -1 EAGAIN (Resource temporarily unavailable)
epoll_wait(3, {{EPOLLIN, {u32=7, u64=3638004975235235847}}}, 1023, -1) = 1
read(7, "\200\3]q\0(X\4\0\0\0exitq\1X\1\0\0\0000q\2e.", 4096) = 27
epoll_ctl(3, EPOLL_CTL_DEL, 7, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRBAND|EPOLLHUP|EPOLLRDHUP|0x32278820, {u32=32512, u64=3614734271194889984}}) = 0
close(7)                                = 0
open("/var/tmp/portage/www-apps/owncloud-5.0.12/.ipc_in", O_RDONLY|O_NONBLOCK) = 7
fcntl(7, F_GETFL)                       = 0x8800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE)
fcntl(7, F_SETFL, O_WRONLY|O_NONBLOCK|O_LARGEFILE) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=7, u64=3638004975235235847}}) = 0
open("/var/tmp/portage/www-apps/owncloud-5.0.12/.ipc_out", O_WRONLY|O_NONBLOCK) = 8
write(8, "\200\3X\0\0\0\0q\0h\0K\0\207q\1.", 17) = 17
close(8)                                = 0
epoll_wait(3, {{EPOLLHUP, {u32=9, u64=3638004975235235849}}}, 1023, 10000) = 1
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=21152, si_status=0, si_utime=1, si_stime=0} ---
epoll_ctl(3, EPOLL_CTL_DEL, 9, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRBAND|EPOLLHUP|EPOLLRDHUP|0x32278820, {u32=32512, u64=3614734271194889984}}) = 0
close(9)                                = 0
close(10)                               = 0
close(11)                               = 0
epoll_ctl(3, EPOLL_CTL_ADD, 4, {EPOLLIN, {u32=4, u64=3638004975235235844}}) = 0
rt_sigaction(SIGCHLD, {0x7f003233c050, [], SA_RESTORER, 0x7f0031ff9460}, {SIG_DFL, [], SA_RESTORER, 0x7f0031ff9460}, 8) = 0
wait4(21152, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG, NULL) = 21152
rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTORER, 0x7f0031ff9460}, {0x7f003233c050, [], SA_RESTORER, 0x7f0031ff9460}, 8) = 0
epoll_ctl(3, EPOLL_CTL_DEL, 4, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRBAND|EPOLLHUP|EPOLLRDHUP|0x32278820, {u32=32512, u64=3614734271194889984}}) = 0
epoll_ctl(3, EPOLL_CTL_DEL, 7, {EPOLLRDNORM|EPOLLRDBAND|EPOLLWRBAND|EPOLLHUP|EPOLLRDHUP|0x32278820, {u32=32512, u64=3614734271194889984}}) = 0
close(7)                                = 0
openat(AT_FDCWD, "/var/tmp/portage/www-apps/owncloud-5.0.12/temp", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 8 entries */, 32768)     = 272
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/build.log", {st_mode=S_IFREG|0660, st_size=914, ...}) = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/environment", {st_mode=S_IFREG|0664, st_size=116422, ...}) = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/logging", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/epatch_user.log", {st_mode=S_IFREG|0664, st_size=5, ...}) = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/eclass-debug.log", {st_mode=S_IFREG|0664, st_size=1746, ...}) = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/setup_by_webapp_eclass", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/build.log", {st_mode=S_IFREG|0660, st_size=914, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/environment", {st_mode=S_IFREG|0664, st_size=116422, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/epatch_user.log", {st_mode=S_IFREG|0664, st_size=5, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/eclass-debug.log", {st_mode=S_IFREG|0664, st_size=1746, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/setup_by_webapp_eclass", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/logging", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
openat(AT_FDCWD, "/var/tmp/portage/www-apps/owncloud-5.0.12/temp/logging", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 7
getdents(7, /* 2 entries */, 32768)     = 48
getdents(7, /* 0 entries */, 32768)     = 0
close(7)                                = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/logging", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/.installed", 0x7fff9202b030) = -1 ENOENT (No such file or directory)
unlink("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/logging/install") = -1 ENOENT (No such file or directory)
stat("/var/tmp/portage/www-apps/owncloud-5.0.12", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0
geteuid()                               = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/.ipc_in", {st_mode=S_IFIFO|0770, st_size=0, ...}) = 0
getuid()                                = 0
lstat("/var/tmp/portage/www-apps/owncloud-5.0.12/.ipc_out", {st_mode=S_IFIFO|0770, st_size=0, ...}) = 0
getuid()                                = 0
open("/var/tmp/portage/www-apps/owncloud-5.0.12/.ipc_in", O_RDONLY|O_NONBLOCK) = 7
fcntl(7, F_GETFL)                       = 0x8800 (flags O_RDONLY|O_NONBLOCK|O_LARGEFILE)
fcntl(7, F_SETFL, O_WRONLY|O_NONBLOCK|O_LARGEFILE) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 7, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=7, u64=3638004975235235847}}) = 0
open("/dev/null", O_RDONLY)             = 8
open("/dev/ptmx", O_RDWR)               = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(9, TIOCGPTN, [5])                 = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
getuid()                                = 0
ioctl(9, TIOCSPTLCK, [0])               = 0
ioctl(9, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(9, TIOCGPTN, [5])                 = 0
stat("/dev/pts/5", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 5), ...}) = 0
open("/dev/pts/5", O_RDWR|O_NOCTTY)     = 10
ioctl(10, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(10, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(10, SNDCTL_TMR_START or SNDRV_TIMER_IOCTL_TREAD or TCSETS, {B38400 -opost isig icanon echo ...}) = 0
getuid()                                = 0
getgid()                                = 0
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/environment", {st_mode=S_IFREG|0664, st_size=116422, ...}) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f00328479d0) = 21187
close(10)                               = 0
dup(1)                                  = 10
fcntl(10, F_GETFL)                      = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(10, F_SETFL, O_ACCMODE|O_LARGEFILE) = 0
open("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/build.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 11
fstat(11, {st_mode=S_IFREG|0660, st_size=914, ...}) = 0
lseek(11, 0, SEEK_END)                  = 914
ioctl(11, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff9202a960) = -1 ENOTTY (Inappropriate ioctl for device)
fstat(11, {st_mode=S_IFREG|0660, st_size=914, ...}) = 0
lseek(11, 0, SEEK_CUR)                  = 914
stat("/var/tmp/portage/www-apps/owncloud-5.0.12/temp/build.log", {st_mode=S_IFREG|0660, st_size=914, ...}) = 0
fcntl(9, F_GETFL)                       = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(9, F_SETFL, O_ACCMODE|O_NONBLOCK|O_LARGEFILE) = 0
epoll_ctl(3, EPOLL_CTL_ADD, 9, {EPOLLIN|EPOLLERR|EPOLLHUP, {u32=9, u64=3638004975235235849}}) = 0
close(8)                                = 0
epoll_wait(3, {{EPOLLIN, {u32=9, u64=3638004975235235849}}}, 1023, -1) = 1
read(9, "\n>>> Install owncloud-5.0.12 int"..., 4096) = 101
write(10, "\n>>> Install owncloud-5.0.12 int"..., 101) = 101
write(11, "\n>>> Install owncloud-5.0.12 int"..., 101) = 101
read(9, 0x7f0036c31650, 4096)           = -1 EAGAIN (Resource temporarily unavailable)
epoll_wait(3,
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-06 13:27:58 UTC
It's installing some 5500 files. doins -r is notoriously slow. Give it some more time.