Opened 17 years ago

Closed 17 years ago

#11343 closed defect (invalid)

MacPorts 1.4 (svn source) - Can not find package Pextlib 1.0

Reported by: chenggao@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version: 1.4
Keywords: pextlib Cc: jmpp@…, kballard (Lily Ballard)
Port:

Description

I tried to use svn source (MacPorts 1.4), and found it did not work. Issuing any port command like port sync, port selfupdate even port --version gave me error message as:

can't find package Pextlib 1.0
    while executing
"package_native require Pextlib 1.0"
    ("eval" body line 1)
    invoked from within
"eval package_native $args"
    (procedure "package" line 14)
    invoked from within
"package require Pextlib 1.0"
    (procedure "dportinit" line 311)
    invoked from within
"dportinit ui_options global_options global_variations"
Error: /usr/local/bin/port: Failed to initialize ports system, can't find package Pextlib 1.0

Anyone can try to install 1.4 into another dir and test this.

Change History (5)

comment:1 Changed 17 years ago by jmpp@…

Cc: jmpp@… added
Keywords: pextlib added
Version: 1.4

comment:2 Changed 17 years ago by jmpp@…

Cc: eridius@… added

As discussed with jberry on IRC, this seems to be a side effect of Kevin's r21585. Kevin, for some reason your glob seems to be missing the pextlib dir, you think you could look into it?

-jmpp

comment:3 Changed 17 years ago by kballard (Lily Ballard)

If it was the glob, shouldn't it be breaking for everybody who's installed 1.4 since that change was in place? It also would be quite odd that the glob finds all the other libraries but not pextlib.

It seems more likely that pextlib simply isn't getting installed. chenggao, can you check your /opt/local/share/darwinports/Tcl directory and tell me what you find inside? Do an ls -R on that directory and paste the results (in a {{{code block}}} )).

Also, can you tell me what system you're installing MacPorts on?

comment:4 Changed 17 years ago by kballard (Lily Ballard)

I just tested installing MacPorts in a separate directory, and it worked fine. Given that you said installing over an existing 1.32 installation works fine, it makes me think that, for whatever reason pextlib simply isn't being installed on your system (but it is on mine).

Can you check out a fresh copy of the source, then do a configure, make, make install and paste the output (again in a {{{code block}}})? My theory is that pextlib is failing to build, and you haven't noticed.

comment:5 Changed 17 years ago by kballard (Lily Ballard)

Resolution: invalid
Status: newclosed

Ok, I'm pretty sure this is the same issue as #11401, which is that Tcl/Tk Aqua overrides /usr/bin/tclsh and, for some reason, it can't generate a pkgIndex for Pextlib. The solution is to resymlink /usr/bin/tclsh to /usr/bin/tclsh8.4.7 (this makes tclsh no longer invoke the binary installed by Tcl/Tk Aqua, you have to use tclsh8.4 for that).

Marking ticket as invalid since this is a problem with Tcl/Tk Aqua.

Note: See TracTickets for help on using tickets.