Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 556950 - dev-vcs/subversion-1.8.14 "Cannot copy 'Delta.pm' to 'blib/lib/SVN/Delta.pm': Permission denied"
Summary: dev-vcs/subversion-1.8.14 "Cannot copy 'Delta.pm' to 'blib/lib/SVN/Delta.pm':...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-07 12:57 UTC by Richard Li
Modified: 2016-04-29 20:11 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,228.62 KB, text/plain)
2015-08-07 12:57 UTC, Richard Li
Details
emerge --info =subversion-1.8.14 (emerge-info.txt,18.93 KB, text/plain)
2015-08-07 12:58 UTC, Richard Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Li 2015-08-07 12:57:21 UTC
Created attachment 408474 [details]
build.log

cp ../../../../../subversion/bindings/swig/perl/native/Delta.pm blib/lib/SVN/Delta.pm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy 'Delta.pm' to 'blib/lib/SVN/Delta.pm': Permission denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Comment 1 Richard Li 2015-08-07 12:58:20 UTC
Created attachment 408476 [details]
emerge --info =subversion-1.8.14
Comment 2 Alexander Miller 2015-08-09 16:35:32 UTC
I got a similar error from the same make target:
---
make[1]: Entering directory '/var/tmp/portage/dev-vcs/subversion-1.8.14/work/subversion-1.8.14/subversion/bindings/swig/perl/native'
[...]
cp Ra.pm blib/lib/SVN/Ra.pm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy '../../../../../subversion/bindings/swig/perl/native/Ra.pm' to 'blib/lib/SVN/Ra.pm': Permission denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
Makefile:1056: recipe for target 'pm_to_blib' failed
make[1]: *** [pm_to_blib] Error 13
make[1]: *** Waiting for unfinished jobs....
---
Looks like a duplicate of bug #452410.
Comment 3 Kalin KOZHUHAROV 2015-09-07 08:15:23 UTC
Got a slight variation of that:

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy '../../../../../subversion/bindings/swig/perl/native/Core.pm' to 'blib/lib/SVN/Core.pm': Permission denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

`USE="-perl -subversion" emerge subversion git` is a temporary workaround...
Comment 4 Fabio Rossi 2016-03-19 01:04:22 UTC
Same problem, it seems a race condition, I'm able to merge with

MAKEOPTS=-j1 emerge subversion
Comment 5 Vasilis Lourdas 2016-04-29 20:11:15 UTC
Similar error with version 1.8.16:

make[2]: Entering directory '/var/tmp/portage/dev-vcs/subversion-1.8.16/work/subversion-1.8.16/subversion/bindings/swig/perl/native'
chmod 644 _Core.bs
Running Mkbootstrap for SVN::_Client ()
chmod 644 _Client.bs
x86_64-pc-linux-gnu-gcc -c  -I/usr/include/apr-1   -I/usr/include/apr-1 -I/usr/include/db4.8   -DLINUX -D_REENTRANT -D_GNU_SOURCE -DQT_SHARED  -I../../../../../subversion/bindings/swig/perl/libsvn_swig_perl  -I../../../../../subversion/include  -I../../../../../subversion  -I../../../../../subversion/bindings/swig -g -O2 -pipe -march=native -mtune=native --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144   -pthread -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64    -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.20.2/x86_64-linux/CORE"  -DLINUX -D_REENTRANT -D_GNU_SOURCE -DQT_SHARED svn_client.c
cp ../../../../../subversion/bindings/swig/perl/native/Ra.pm blib/lib/SVN/Ra.pm
cp ../../../../../subversion/bindings/swig/perl/native/Client.pm blib/lib/SVN/Client.pm
Skip blib/lib/SVN/Client.pm (unchanged)
Skip blib/lib/SVN/Ra.pm (unchanged)
cp Repos.pm blib/lib/SVN/Repos.pm
cp Fs.pm blib/lib/SVN/Fs.pm
cp Wc.pm blib/lib/SVN/Wc.pm
Skip blib/lib/SVN/Fs.pm (unchanged)
cp ../../../../../subversion/bindings/swig/perl/native/Base.pm blib/lib/SVN/Base.pm
cp ../../../../../subversion/bindings/swig/perl/native/Delta.pm blib/lib/SVN/Delta.pm
Skip blib/lib/SVN/Repos.pm (unchanged)
Skip blib/lib/SVN/Wc.pm (unchanged)
cp ../../../../../subversion/bindings/swig/perl/native/Core.pm blib/lib/SVN/Core.pm
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot copy 'Core.pm' to 'blib/lib/SVN/Core.pm': Permission denied
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at -e line 1.
Makefile.client:1051: recipe for target 'pm_to_blib' failed
make[2]: *** [pm_to_blib] Error 13
make[2]: *** Waiting for unfinished jobs....
svn_client.c: In function ‘_wrap_svn_client_log5’:
svn_client.c:14503:12: warning: assignment discards ‘const’ qualifier from pointer target type
       arg3 = svn_swig_pl_array_to_apr_array_revision_range(ST(2), _global_pool);
            ^
svn_client.c: In function ‘_wrap_svn_client_merge_peg5’:
svn_client.c:19548:12: warning: assignment discards ‘const’ qualifier from pointer target type
       arg2 = svn_swig_pl_array_to_apr_array_revision_range(ST(1), _global_pool);
            ^
svn_client.c: In function ‘_wrap_svn_client_merge_peg4’:
svn_client.c:19718:12: warning: assignment discards ‘const’ qualifier from pointer target type
       arg2 = svn_swig_pl_array_to_apr_array_revision_range(ST(1), _global_pool);
            ^
svn_client.c: In function ‘_wrap_svn_client_merge_peg3’:
svn_client.c:19878:12: warning: assignment discards ‘const’ qualifier from pointer target type
       arg2 = svn_swig_pl_array_to_apr_array_revision_range(ST(1), _global_pool);
            ^
make[2]: Leaving directory '/var/tmp/portage/dev-vcs/subversion-1.8.16/work/subversion-1.8.16/subversion/bindings/swig/perl/native'
Makefile:1080: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/dev-vcs/subversion-1.8.16/work/subversion-1.8.16/subversion/bindings/swig/perl/native'
Makefile:795: recipe for target 'swig-pl' failed
make: *** [swig-pl] Error 2
 * ERROR: dev-vcs/subversion-1.8.16::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.8.16::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.8.16::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-vcs/subversion-1.8.16/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.8.16/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-vcs/subversion-1.8.16/work/subversion-1.8.16'
 * S: '/var/tmp/portage/dev-vcs/subversion-1.8.16/work/subversion-1.8.16'
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.92"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info =subversion-1.8.16

>>> Failed to emerge dev-vcs/subversion-1.8.16, Log file:

>>>  '/var/tmp/portage/dev-vcs/subversion-1.8.16/temp/build.log'

 * GNU info directory index is up-to-date.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.