[MacPorts] #40520: symbolc /opt causing failure
MacPorts
noreply at macports.org
Tue Sep 17 20:25:47 PDT 2013
#40520: symbolc /opt causing failure
---------------------------+--------------------------------
Reporter: djosifovich@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: | Port:
---------------------------+--------------------------------
I had /opt as a symbolic link to another location. a 'port selfupdate'
then 'port upgrade outdated' resulted in a error about not being able to
open a file (details below). After exploring all the path's dirs and
final file, I determined permissions were not an issue. I decided to try
remove my /opt symbolic link and move the ....MacPorts/opt/ directory to
the root directory. Afterwards 'port upgrade outdated' worked
successfully.
some gory details...
# port selfupdate
---> Updating MacPorts base sources using rsync
MacPorts base version 2.2.0 installed,
MacPorts base version 2.2.0 downloaded.
---> Updating the ports tree
---> MacPorts base is already the latest version
The ports tree has been updated. To upgrade your installed ports, you
should run
port upgrade outdated
# port upgrade outdated
Error: Unable to upgrade port: Could not open file: /Realms/MEI/desert-
plateau/Tools/MacPorts/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext/Portfile
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
# open http://guide.macports.org/#project.tickets
# ls -l /opt
lrwxr-xr-x 1 root wheel 44 Jul 26 08:05 /opt@ -> Realms/MEI/desert-
plateau/Tools/MacPorts/opt
# cd /opt
# ls
X11/ local/
# pwd
/Realms/MEI/desert-plateau/Tools/MacPorts/opt
# cd ..
# ls
Applications/ opt/
# rm /opt
# mv opt /
# port upgrade outdated
---> Computing dependencies for gettext
---> Fetching archive for gettext
.
.
.
--
Ticket URL: <https://trac.macports.org/ticket/40520>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list