[MacPorts] #45401: Pymol destroot fails
MacPorts
noreply at macports.org
Thu Oct 30 04:30:21 PDT 2014
#45401: Pymol destroot fails
-----------------------------+-----------------------
Reporter: josh.baraban@… | Owner: howarth@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.1
Resolution: | Keywords:
Port: pymol |
-----------------------------+-----------------------
Comment (by matteo.tiberti@…):
Weirdly enough, that doesn't seem to be working for me; I have modified
the portfile found in
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/pymol
as you suggested:
{{{
$ pwd
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/science/pymol
$ tail Portfile
}
post-destroot {}
post-destroot {
# file copy ${worksrcpath}/setup/pymol_macports
${destroot}${prefix}/bin/pymol
# file attributes ${destroot}${prefix}/bin/pymol -permissions a+x
foreach d {data modules examples test scripts} {
copy ${worksrcpath}/${d} ${destroot}${python.pkgd}/pymol
}
}
$ sudo port clean pymol; sudo port install pymol
---> Cleaning pymol
---> Computing dependencies for pymol
---> Fetching archive for pymol
---> Attempting to fetch pymol-1.7.1.0_0.darwin_14.x86_64.tbz2 from
http://nue.de.packages.macports.org/macports/packages/pymol
---> Attempting to fetch pymol-1.7.1.0_0.darwin_14.x86_64.tbz2 from
http://lil.fr.packages.macports.org/pymol
---> Attempting to fetch pymol-1.7.1.0_0.darwin_14.x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/pymol
---> Fetching distfiles for pymol
---> Verifying checksums for pymol
---> Extracting pymol
---> Applying patches to pymol
---> Configuring pymol
---> Building pymol
---> Staging pymol into destroot
Error: org.macports.destroot for port pymol returned: error copying
"/opt/local/var/macports/build/_Users_matteotiberti_devel_ports_science_pymol/pymol/work/pymol/setup/pymol_macports"
to
"/opt/local/var/macports/build/_Users_matteotiberti_devel_ports_science_pymol/pymol/work/destroot/opt/local/bin/pymol":
file already exists
Please see the log file for port pymol for details:
/opt/local/var/macports/logs/_Users_matteotiberti_devel_ports_science_pymol/pymol/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port pymol failed
}}}
Replying to [comment:6 josh.baraban@…]:
> So, I'm sure this is not an ideal solution, but commenting out the first
two lines of the destroot section in the Portfile, e.g.:
>
>
> {{{
> # file copy ${worksrcpath}/setup/pymol_macports
${destroot}${prefix}/bin/pymol
> # file attributes ${destroot}${prefix}/bin/pymol -permissions a+x
> }}}
>
>
> appears to fix the problem. pymol installs and runs normally, as far as
I can tell.
--
Ticket URL: <https://trac.macports.org/ticket/45401#comment:8>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list