Opened 14 years ago

Closed 3 years ago

#28096 closed defect (fixed)

stale interpreter reference used after error in interactive mode

Reported by: nickhol18@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: base Version: 1.9.2
Keywords: Cc: rikard@…, cooljeanius (Eric Gallager)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I tried to install git-core @1.7.3.5 andd hit #28037.

...
--->  Configuring db46
Error: db46 requires the Java for Mac OS X development headers.
Error: Download the Java Developer Package from: <https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>
Error: Target org.macports.configure returned: missing Java headers
Error: Failed to install db46
Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Error: The following dependencies were not installed: python27 db46 gdbm readline sqlite3 rsync popt
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
[Users/lalaba] > 
[Users/lalaba] > 

So after downloading the recommended package "http://adcdownload.apple.com/Java/java_for_mac_os_x_10.6_update_3_developer_package/javadeveloper_10.6_10m3261.dmg" I tried again:

[Users/lalaba] > 
[Users/lalaba] > install git-core @1.7.3.5
Error: Unable to execute port: invalid command name "interp1"
To report a bug, see <http://guide.macports.org/#project.tickets>
[Users/lalaba] > install git-core @1.7.3.5
--->  Computing dependencies for git-core
--->  Dependencies to be installed: python27 bzip2 db46 gdbm openssl zlib readline sqlite3 rsync popt
invalid command name "interp14"
Error: The following dependencies were not installed: python27 bzip2 db46 gdbm openssl zlib readline sqlite3 rsync popt
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
[Users/lalaba] > 
[Users/lalaba] > install git-core @1.7.3.5
--->  Computing dependencies for git-core
--->  Dependencies to be installed: python27 bzip2 db46 gdbm openssl zlib readline sqlite3 rsync popt
invalid command name "interp14"
Error: The following dependencies were not installed: python27 bzip2 gdbm openssl zlib readline sqlite3 rsync popt
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
[Users/lalaba] > install bzip2            
Error: Unable to execute port: invalid command name "interp14"
To report a bug, see <http://guide.macports.org/#project.tickets>
[Users/lalaba] > 

after restarting port it installed ok

Change History (9)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Component: portsbase
Keywords: interp14 removed
Summary: invalid command name "interp14"stale interpreter reference used after error in interactive mode

This is an issue with MacPorts base; please select the appropriate component as per the ticket guidelines.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 in reply to:  description Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to nickhol18@…:

[Users/lalaba] > install git-core @1.7.3.5

Note that MacPorts does not have the capability to specify what version you want to install. MacPorts will ignore the version number you specify, and will just install whatever version is in the portfile.

comment:4 in reply to:  description ; Changed 14 years ago by rikard@…

Replying to nickhol18@…:

I am trying to install Kdenlive
I get the same error as her.
I works until it reaches the soprano part.
The log is:

version:1
:debug:main Executing org.macports.main (soprano)
:debug:main Skipping completed org.macports.fetch (soprano)
:debug:main Skipping completed org.macports.checksum (soprano)
:debug:main setting option extract.cmd to /usr/bin/bzip2
:debug:main Skipping completed org.macports.extract (soprano)
:debug:main Skipping completed org.macports.patch (soprano)
:msg:main --->  Configuring soprano
:debug:main Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Sat Feb 12 16:49:55 CET 2011
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing proc-pre-org.macports.configure-configure-1
:error:configure soprano requires the Java for Mac OS X development headers.
:error:configure Download the Java Developer Package from: <https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>
:error:configure Target org.macports.configure returned: missing Java headers
:debug:configure Backtrace: missing Java headers
    while executing
"$pre $targetname"
:info:configure Warning: the following items did not execute (for soprano): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:error:configure Failed to install soprano
:notice:configure Log for soprano is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/main.log

comment:5 in reply to:  4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rikard@… added

Replying to rikard@…:

:error:configure soprano requires the Java for Mac OS X development headers.
:error:configure Download the Java Developer Package from: <https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20719>
:error:configure Target org.macports.configure returned: missing Java headers

Then do what the error message told you to do, and install the missing Java headers from the given URL.

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:6 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

The stale interpreter issue was also encountered in #28453.

comment:7 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:8 Changed 8 years ago by jmroot (Joshua Root)

This may have been fixed by changeset:77217baff41e05f4fe900cbfa9fa9de87c0117d5/macports-base. Can anyone still repro?

comment:9 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Assuming fixed given no evidence to the contrary. Please reopen if not.

Note: See TracTickets for help on using tickets.