[MacPorts] #43148: p5.10-version: tries to modify Perl's version.pm during destroot
MacPorts
noreply at macports.org
Sun Jul 27 09:57:37 PDT 2014
#43148: p5.10-version: tries to modify Perl's version.pm during destroot
----------------------------+--------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: fixed | Keywords:
Port: p5.10-version |
----------------------------+--------------------------------
Comment (by egall@…):
Replying to [comment:5 devans@…]:
> Since perl 5.8 doesn't include version.pm in core, this is the reason
that only p5.10-version is affected.
Really? Then why do I see this error with perl5.8 as well? Output:
{{{
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version/p5.8-version/work/version-0.9908'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: WARNING: Failed chmod(0666,
/opt/local/lib/perl5/vendor_perl/5.8.9/version.pm): Operation not
permitted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Cannot unlink '/opt/local/lib/perl5/vendor_perl/5.8.9/version.pm':
Operation not permitted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
Installing
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version/p5.8-version/work/destroot/opt/local/lib/perl5/vendor_perl/5.8.9/version.pm
make: *** [pure_vendor_install] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version/p5.8-version/work/version-0.9908'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version/p5.8-version/work/version-0.9908"
&& /usr/bin/make -w pure_install
DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-version/p5.8-version/work/destroot
Exit code: 2
Error: org.macports.destroot for port p5.8-version returned: command
execution failed
}}}
I think it is trying to do this because I am upgrading from a previous
installation of p5.8-version:
{{{
$ stat /opt/local/lib/perl5/vendor_perl/5.8.9/version.pm
234881026 819365 -r--r--r-- 1 root admin 0 2923 "Jul 27 12:53:23 2014"
"Jan 15 07:12:27 2014" "Feb 24 16:48:40 2014" "Jan 15 07:12:27 2014" 4096
8 0 /opt/local/lib/perl5/vendor_perl/5.8.9/version.pm
$ port provides /opt/local/lib/perl5/vendor_perl/5.8.9/version.pm
/opt/local/lib/perl5/vendor_perl/5.8.9/version.pm is provided by:
p5.8-version
$ port installed p5.8-version
The following ports are currently installed:
p5.8-version @0.990.700_0+universal (active)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/43148#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list