[MacPorts] #43176: Self Update failed, need advice
MacPorts
noreply at macports.org
Wed Apr 2 15:23:12 PDT 2014
#43176: Self Update failed, need advice
------------------------+--------------------------------
Reporter: nblouin@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords:
Port: |
------------------------+--------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
* type: update => defect
Comment:
Replying to [ticket:43176 nblouin@…]:
> {{{
> $ sudo port install boost
> Password:
> Warning: port definitions are more than two weeks old, consider updating
them by running 'port selfupdate'.
> }}}
Yes, you should selfupdate regularly to stay up to date.
> {{{
> ---> Computing dependencies for boost
> ---> Cleaning boost
> }}}
This shows that boost is already successfully installed.
> {{{
> ---> Scanning binaries for linking errors: 100.0%
> ---> No broken files found.
> }}}
This shows none of the ports you have installed have linking errors; good.
> {{{
> BigMacWithCheese-2:silix-1.2.8 nicblouin$ port selfupdate
> ---> Updating MacPorts base sources using rsync
> Error: Error synchronizing MacPorts sources: command execution failed
> Please run `port -v selfupdate' for details.
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
MacPorts sources: command execution failed
> e-2:silix-1.2.8$ port -v selfupdate
> ---> Updating MacPorts base sources using rsync
> receiving file list ... done
> rsync: mkstemp
"/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.sMd7I5"
failed: Permission denied (13)
> inflate returned -3 (140 bytes)
> rsync error: error in rsync protocol data stream (code 12) at
/SourceCache/rsync/rsync-40/rsync/token.c(419) [receiver=2.6.9]
> rsync: connection unexpectedly closed (31 bytes received so far)
[generator]
> rsync error: error in rsync protocol data stream (code 12) at
/SourceCache/rsync/rsync-40/rsync/io.c(452) [generator=2.6.9]
> Command failed: /usr/bin/rsync -rtzv --delete-after
rsync://rsync.macports.org/release/tarballs/base.tar
/opt/local/var/macports/sources/rsync.macports.org/release/tarballs
> Exit code: 12
> Error: Error synchronizing MacPorts sources: command execution failed
> To report a bug, follow the instructions in the guide:
> http://guide.macports.org/#project.tickets
> Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing
MacPorts sources: command execution failed
> e-2:silix-1.2.8$
> }}}
Permission to update the files on your disk was denied, because you did
not request elevated privileges when running selfupdate. You should always
run selfupdate with sudo:
{{{
sudo port selfupdate
}}}
> {{{
> e-2:silix-1.2.8 ./configure
> ...
> configure: Checking CppUnit
> checking for cppunit-config... no
> configure: CppUnit not found... unittesting disabled. Please install
CppUnit
> configure: Checking Boost::program_options
> checking boost/program_options.hpp usability... no
> checking boost/program_options.hpp presence... no
> checking for boost/program_options.hpp... no
> configure: error: Boost::program_options header files were not found on
the system... unable to compile. Please install Boost::program_options
headers
> e-2:silix-1.2.8$
> }}}
This is some software you're trying to configure by hand?
By what means are you informing it where boost is located? It probably
won't just magically know that it's in /opt/local. You may need to use a
configure flag, or set the CPPFLAGS or LDFLAGS or CPATH or LIBRARY_PATH
environment variables correctly. It depends on the specific software
you're building.
--
Ticket URL: <https://trac.macports.org/ticket/43176#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list