Selfupdate problem

dan d. dandunfee at gmail.com
Mon Sep 7 17:20:56 UTC 2020


Trying to execute:

/bin/mv

Bombed.

I copyed a backup of mv to /bin and the selfupdate was successful.

Thanks much.
On Mon, 7 Sep 2020, Ryan Schmidt wrote:

>
>
> On Sep 7, 2020, at 09:25, dan d. wrote:
>
> > Idid the sudo port -d selfupdate as suggested.
> >
> > At the end of some 784 lines, this
> >
> > checking for existence of /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/base/vendor/tcl/unix/tclConfig.sh...
> > file not found
> > checking how to build libraries... shared
> > checking that any existing MacPorts install can be upgraded... yes
> > configure: creating ./config.status
> > config.status: creating src/programs/daemondo/Makefile
> > /bin/mv: line 1: e: command not found
> > /bin/mv: line 2: syntax error near unexpected token `('
> > /bin/mv: line 2: `Ïúíþ^G^A^C^`^B^Q^P^F^e ^YH__PAGEZERO^A^Y(^B__TEXT^A  ^G^E^F__text__TEXT^o^K^Aq'
> > config.status: error: could not create src/programs/daemondo/Makefile
> > Command failed: CC=/usr/bin/cc ./configure --prefix='/opt/local' --with-install-user='root' --with-install-group='wheel' --with-directory-mode='0755'
> > --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
> > Exit code: 1
> >
> > Where do I go from here?
>
> That's distressing. It looks like there is something wrong with your /bin/mv. The fact that it's referring to line numbers makes it look like it thinks it's a text file, like a shell script, which it shouldn't be, but then the strings like __PAGEZERO and __TEXT that it's encountering within the file look like normal parts of a Mach-O executable.
>
> Let's see if we can learn more about your /bin/mv... What's the output of:
>
> file /bin/mv
> ls -l /bin/mv
> /bin/mv
>
> What OS version is this? On OS X 10.11 and later, System Integrity Protection should have prevented any unwanted modifications of system files like /bin/mv, unless you've turned SIP off.
>
>
>

-- 
XR


More information about the macports-users mailing list