Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 543812 - gnome-base/gvfs-1.22.4 - ln: failed to create symbolic link '/var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions/gvfs-copy': No such file or directory
Summary: gnome-base/gvfs-1.22.4 - ln: failed to create symbolic link '/var/tmp/portage...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 18:16 UTC by tman
Modified: 2015-03-22 11:10 UTC (History)
5 users (show)

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


Attachments
/var/tmp/portage/gnome-base/gvfs-1.22.4/temp/build.log (build.log,216.53 KB, text/x-log)
2015-03-19 18:16 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2015-03-19 18:16:18 UTC
linguas="de vi "; \
for lang in $linguas; do \
  dir=/var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/locale/$lang/LC_MESSAGES; \
  /bin/sh /var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/install-sh -d $dir; \
  if test -r $lang.gmo; then \
    /usr/bin/install -c -m 644 $lang.gmo $dir/gvfs.mo; \
    echo "installing $lang.gmo as $dir/gvfs.mo"; \
  else \
    /usr/bin/install -c -m 644 ./$lang.gmo $dir/gvfs.mo; \
    echo "installing ./$lang.gmo as" \
         "$dir/gvfs.mo"; \
  fi; \
  if test -r $lang.gmo.m; then \
    /usr/bin/install -c -m 644 $lang.gmo.m $dir/gvfs.mo.m; \
    echo "installing $lang.gmo.m as $dir/gvfs.mo.m"; \
  else \
    if test -r ./$lang.gmo.m ; then \
      /usr/bin/install -c -m 644 ./$lang.gmo.m \
        $dir/gvfs.mo.m; \
      echo "installing ./$lang.gmo.m as" \
           "$dir/gvfs.mo.m"; \
    else \
      true; \
    fi; \
  fi; \
done
installing de.gmo as /var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/locale/de/LC_MESSAGES/gvfs.mo
installing vi.gmo as /var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/locale/vi/LC_MESSAGES/gvfs.mo
make[1]: Leaving directory '/var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/po'
Making install in programs
make[1]: Entering directory '/var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/programs'
Making install in completion
make[2]: Entering directory '/var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/programs/completion'
make[3]: Entering directory '/var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/programs/completion'
make[3]: Nothing to be done for 'install-exec-am'.
set -e; for file in gvfs-copy gvfs-info gvfs-less gvfs-ls gvfs-mkdir gvfs-monitor-dir gvfs-monitor-file gvfs-move gvfs-open gvfs-rename gvfs-rm gvfs-save gvfs-set-attribute gvfs-trash gvfs-tree ; do \
        ln -s -f gvfs-cat /var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions/$file; \
done
 /bin/mkdir -p '/var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions'
ln: failed to create symbolic link ‘/var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions/gvfs-copy’: No such file or directory
Makefile:611: recipe for target 'install-symlinks' failed
make[3]: *** [install-symlinks] Error 1
make[3]: *** Waiting for unfinished jobs....
 /usr/bin/install -c -m 644 gvfs-cat '/var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions'
make[3]: Leaving directory '/var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/programs/completion'
Makefile:504: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/var/tmp/portage/gnome-base/gvfs-1.22.4/work/gvfs-1.22.4/programs/completion'
Makefile:831: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1


Reproducible: Always




Portage 2.2.18 (python 3.4.3-final-0, default/linux/amd64/13.0/no-emul-linux-x86/desktop, gcc-4.9.2, glibc-2.20-r2, 3.19.2-gentoo x86_64)
=================================================================
System uname: Linux-3.19.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24626200 total,  21513604 free
KiB Swap:   25461756 total,  25461756 free
Timestamp of repository gentoo: Thu, 19 Mar 2015 18:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 0

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    masters: gentoo
    priority: 50

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 50

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 50

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 50

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
Comment 1 tman 2015-03-19 18:16:46 UTC
Created attachment 399260 [details]
/var/tmp/portage/gnome-base/gvfs-1.22.4/temp/build.log
Comment 2 jms 2015-03-19 23:15:28 UTC
me too.

ls -al /var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions/*

-rw-r--r-- 1 root root 2572 Mar 19 21:56 /var/tmp/portage/gnome-base/gvfs-1.22.4/image//usr/share/bash-completion/completions/gvfs-cat
Comment 3 Derk W te Bokkel 2015-03-20 00:13:48 UTC
I found a work around .. seems something in the compile did not finish before the install started .. 

in the work directory: /var/tmp/portage/gnome-base/gvfs-1.22.4/work/
remove the .compile completion flag

then in /usr/portage/gnome-base/gvfs   run ebuild gvfs-1.22.4.ebuild compile 
then similarly install and merge and it will finish properly ..
Comment 4 jospezial 2015-03-20 00:41:19 UTC
(In reply to Derk W te Bokkel from comment #3)
> I found a work around .. seems something in the compile did not finish
> before the install started .. 
> 
> in the work directory: /var/tmp/portage/gnome-base/gvfs-1.22.4/work/
> remove the .compile completion flag
> 
> then in /usr/portage/gnome-base/gvfs   run ebuild gvfs-1.22.4.ebuild compile 
> then similarly install and merge and it will finish properly ..



Based on your comment I tried:

MAKEOPTS="-j1" emerge -v1 gvfs

and that worked.

-j2 works too.
-j3 causes the bug
Comment 5 Shigapov Ruslan 2015-03-20 06:08:03 UTC
(In reply to jospezial from comment #4)
> MAKEOPTS="-j1" emerge -v1 gvfs
> 
> and that worked.
> 
> -j2 works too.
> -j3 causes the bug

The same error. This trik helped me.
Comment 6 jms 2015-03-20 10:41:09 UTC
(In reply to Derk W te Bokkel from comment #3)
> I found a work around .. seems something in the compile did not finish
> before the install started .. 
> 
> in the work directory: /var/tmp/portage/gnome-base/gvfs-1.22.4/work/
> remove the .compile completion flag
> 
> then in /usr/portage/gnome-base/gvfs   run ebuild gvfs-1.22.4.ebuild compile 
> then similarly install and merge and it will finish properly ..


MAKEOPTS="-j1" emerge -v1 gvfs

works for me too
Comment 7 Xavier Miller (RETIRED) gentoo-dev 2015-03-20 11:00:04 UTC
(In reply to jms from comment #6)
> (In reply to Derk W te Bokkel from comment #3)
> > I found a work around .. seems something in the compile did not finish
> > before the install started .. 
> > 
> > in the work directory: /var/tmp/portage/gnome-base/gvfs-1.22.4/work/
> > remove the .compile completion flag
> > 
> > then in /usr/portage/gnome-base/gvfs   run ebuild gvfs-1.22.4.ebuild compile 
> > then similarly install and merge and it will finish properly ..
> 
> 
> MAKEOPTS="-j1" emerge -v1 gvfs
> 
> works for me too

+1
Comment 8 Boris Vingradov 2015-03-20 15:27:24 UTC
(In reply to jms from comment #6)
> (In reply to Derk W te Bokkel from comment #3)
> > I found a work around .. seems something in the compile did not finish
> > before the install started .. 
> > 
> > in the work directory: /var/tmp/portage/gnome-base/gvfs-1.22.4/work/
> > remove the .compile completion flag
> > 
> > then in /usr/portage/gnome-base/gvfs   run ebuild gvfs-1.22.4.ebuild compile 
> > then similarly install and merge and it will finish properly ..
> 
> 
> MAKEOPTS="-j1" emerge -v1 gvfs
> 
> works for me too

and works for me.
Comment 9 Pacho Ramos gentoo-dev 2015-03-20 18:53:53 UTC
Is it reproducible when manually compiling? In that case a report to upstream would be useful to get it solved in next tarball -> bugzilla.gnome.org
Comment 10 Aaron U'Ren 2015-03-21 03:00:42 UTC
This is a parallel install problem that has already been fixed upstream here: https://git.gnome.org/browse/gvfs/commit/?id=62c4c2af399dba0566ae69353f127472fa3e3364

It should be fixed in version 1.23.92 and up. Although it doesn't look like they've brought that fix into the 1.22.x revisions yet.
Comment 11 Pacho Ramos gentoo-dev 2015-03-22 11:10:48 UTC
+  22 Mar 2015; Pacho Ramos <pacho@gentoo.org>
+  +files/gvfs-1.22.4-fix-parallel.patch, gvfs-1.22.4.ebuild:
+  Fix parallel installation (#543812 by tman, Aaron U'Ren and many others)
+