[MacPorts] #45512: selfupdate 2.3.1 > 2.3.2 fails, OS X 10.6.8, Xcode 3.2.6

MacPorts noreply at macports.org
Tue Oct 21 18:54:13 PDT 2014


#45512: selfupdate 2.3.1 > 2.3.2 fails, OS X 10.6.8, Xcode 3.2.6
-----------------------------+--------------------------------
  Reporter:  el_duderino_@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  base            |    Version:  2.3.2
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+--------------------------------

Comment (by el_duderino_@…):

 Replying to [comment:8 larryv@…]:
 > But did you change your shell startup files and open a new terminal?
 Sometimes forcing an existing shell to pick up the changes you want can be
 tricky and unintuitive.

 I’m nor entirely sure, what I did when but I even re-started the computer
 at one time. For the sake of it I just tried one last time: This time I
 simply commented out the ''whole'' path variable in .profile, closed
 Terminal.app, opened it again, and did this:
 {{{
 $ echo $PATH
 /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/texbin:/usr/X11/bin
 $ /opt/local/bin/gfind $(echo $PATH | sed -e 's/:/\ /g') -iname *readline*
 $ sudo /opt/local/bin/port -d selfupdate
 [...]
 readline.c: In function ‘attempted_completion_function’:
 readline.c:130: error: ‘username_completion_function’ undeclared (first
 use in this function)
 readline.c:130: error: (Each undeclared identifier is reported only once
 readline.c:130: error: for each function it appears in.)
 make[2]: *** [readline.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [all] Error 1
 Command failed: cd
 /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base
 && CC=/usr/bin/cc OBJC=/usr/bin/cc ./configure --prefix=/opt/local --with-
 install-user=root --with-install-group=admin --with-directory-mode=0755
 --enable-readline && make SELFUPDATING=1 && make install SELFUPDATING=1
 Exit code: 2
 DEBUG: Error installing new MacPorts base: command execution failed
     while executing
 "macports::selfupdate [array get global_options] base_updated"
 Error: Error installing new MacPorts base: 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 installing new
 MacPorts base: command execution failed
 }}}
 So I think this really isn’t working. I’m kind of bugged that I can’t find
 the error and do it “the proper way” but my curiosity only goes so far… If
 I can keep my ports and simply upgrade by using the installer, I’ll give
 it a try. If ''this'' fails as well, I’ll be back, I promise. ;-)

 Thank you all for your responses and in general for working on this great
 project!

-- 
Ticket URL: <https://trac.macports.org/ticket/45512#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list