[MacPorts] #44764: coreutils 8.23_0 failed to upgrade
MacPorts
noreply at macports.org
Tue Sep 2 07:25:32 PDT 2014
#44764: coreutils 8.23_0 failed to upgrade
-------------------------+--------------------------
Reporter: jschnide@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.99
Resolution: | Keywords:
Port: coreutils |
-------------------------+--------------------------
Comment (by jschnide@…):
Replying to [comment:14 ryandesign@…]:
> Replying to [comment:13 jschnide@…]:
> > I did nothing unusual. I first used the uninstall instructions on the
macports web pages. I then did copy and paste from the install page on how
to install from source on the macports web pages. My standard process is
to sudo bash, port -d selfupdate, port upgrade outdated and then port -f
uninstall inactive.
>
> Instead of running `sudo bash`, try running `sudo -s`. Also, instead of
`port upgrade outdated` and then `port -f uninstall inactive`, you could
just run `port -u upgrade outdated`.
Tried this and worked fine, I will continue to use this process.
> > Just to clarify, what process should be followed whenever macports is
updated? Should users should replace macports.conf with
macports.conf.defaults?
>
> If you have not made any edits to your macports.conf, replacing it with
macports.conf.default would be acceptable. However if you have made edits
to macports.conf that you wish to keep, you should compare the two files
and figure out what you want to do with each line.
I made the replacement and did:
port clean --all coreutils
port upgrade coreutils
(it failed again)
port uninstall coreutils
port install coreutils
(it failed again)
Here are the last few lines of the log:
:info:configure checking whether mkfifo rejects trailing slashes... no
:info:configure checking whether mknod can create fifo without root
privileges... configure: error: in
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-8.23':
:info:configure configure: error: you should not run configure as root
(set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
:info:configure See `config.log' for more details
:info:configure Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-8.23"
&& ./configure --prefix=/opt/local --disable-silent-rules --program-
prefix=g
:info:configure Exit code: 1
:error:configure Failed to configure coreutils, consult
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/work/coreutils-8.23/config.log
:error:configure Failed to configure coreutils: configure failure: command
execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
while executing
"$procedure $targetname"
:error:configure See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_coreutils/coreutils/main.log
for details.
Let me know if you would like me to send along the full log.
Many thanks for your time on this.
Thanks
--
Ticket URL: <https://trac.macports.org/ticket/44764#comment:16>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list