[MacPorts] #47517: netcdf-fortran @4.4.2 +universal destroot failure
MacPorts
noreply at macports.org
Mon Apr 20 13:02:24 PDT 2015
#47517: netcdf-fortran @4.4.2 +universal destroot failure
------------------------------+--------------------------------
Reporter: mark.chilenski@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port:
------------------------------+--------------------------------
When attempting to install netcdf-fortran under Yosemite 10.10.3, the
following failure occurs:
{{{
$ sudo port install netcdf-fortran
---> Computing dependencies for netcdf-fortran
---> Fetching archive for netcdf-fortran
---> Attempting to fetch netcdf-
fortran-4.4.2_0+gcc49+universal.darwin_14.i386-x86_64.tbz2 from
http://mse.uk.packages.macports.org/sites/packages.macports.org/netcdf-
fortran
---> Attempting to fetch netcdf-
fortran-4.4.2_0+gcc49+universal.darwin_14.i386-x86_64.tbz2 from
http://packages.macports.org/netcdf-fortran
---> Attempting to fetch netcdf-
fortran-4.4.2_0+gcc49+universal.darwin_14.i386-x86_64.tbz2 from
http://nue.de.packages.macports.org/macports/packages/netcdf-fortran
---> Fetching distfiles for netcdf-fortran
---> Verifying checksums for netcdf-fortran
---> Extracting netcdf-fortran
---> Configuring netcdf-fortran
---> Building netcdf-fortran
---> Staging netcdf-fortran into destroot
Error: org.macports.destroot for port netcdf-fortran returned: command
execution failed
Please see the log file for port netcdf-fortran for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-fortran/main.log
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: Processing of port netcdf-fortran failed
}}}
The log file is attached. The first error I can spot seems to be around
line 1795 in the log. The portion around this block is as follows:
{{{
...
:info:destroot /bin/sh ../libtool --mode=install /usr/bin/install -c
libnetcdff.la '/opt/local/lib'
:info:destroot libtool: install: /usr/bin/install -c
.libs/libnetcdff.6.dylib /opt/local/lib/libnetcdff.6.dylib
:info:destroot install: /opt/local/lib/libnetcdff.6.dylib: Operation not
permitted
:info:destroot make[3]: *** [install-libLTLIBRARIES] Error 71
:info:destroot make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-fortran/work
/netcdf-fortran-4.4.2-i386/fortran'
:info:destroot make[2]: *** [install-am] Error 2
:info:destroot make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-fortran/work
/netcdf-fortran-4.4.2-i386/fortran'
:info:destroot make[1]: *** [install] Error 2
:info:destroot make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-fortran/work
/netcdf-fortran-4.4.2-i386/fortran'
:info:destroot make: *** [install-recursive] Error 1
:info:destroot make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-fortran/work
/netcdf-fortran-4.4.2-i386'
:info:destroot Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-fortran/work
/netcdf-fortran-4.4.2-i386" && /usr/bin/make -w install
{prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_science_netcdf-fortran/netcdf-
fortran/work/destroot-i386/opt/local {MANDIR=\${prefix}/share/man}}
:info:destroot Exit code: 2
...
}}}
Wondering if the "Operation not permitted" was a symptom of insufficient
privileges (despite having used "sudo"), I tried running as root directly
(i.e., typing "sudo -i" first) and the same error occurred.
--
Ticket URL: <https://trac.macports.org/ticket/47517>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list