New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28096 (new defect)

Opened 2 years ago

Last modified 2 years ago

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@…
Port:

Description (last modified by ryandesign@…) (diff)

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

comment:1 Changed 2 years ago by jmr@…

  • Keywords interp14 removed
  • Component changed from ports to base
  • Summary changed from invalid command name "interp14" to 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 2 years ago by ryandesign@…

  • Description modified (diff)

comment:3 in reply to: ↑ description Changed 2 years ago by ryandesign@…

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 ; follow-up: ↓ 5 Changed 2 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 2 years ago by ryandesign@…

  • 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.

comment:6 Changed 2 years ago by ryandesign@…

The stale interpreter issue was also encountered in #28453.

Note: See TracTickets for help on using tickets.