Opened 6 years ago

Last modified 7 months ago

#43392 reopened defect

ksh93 install fails

Reported by: veedeehjay@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: ksh93

Description

installation of ksh93 fails in the `staging into destroot' phase (seems to compile just fine). here is the logfile content:

version:1
:debug:main Checking for conflicts against ksh93
:debug:main Searching for dependency: pdksh
:debug:main Didn't find receipt, going to depspec regex for: pdksh
:debug:main Executing org.macports.main (ksh93)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.build (ksh93)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:destroot destroot phase started at Thu Apr 17 15:28:13 CEST 2014
:notice:destroot --->  Staging ksh93 into destroot
:debug:destroot Can't run destroot under sudo without elevated privileges (due to mtree).
:debug:destroot Run destroot without sudo to avoid root privileges.
:debug:destroot Going to escalate privileges back to root.
:debug:destroot euid changed to: 0. egid changed to: 0.
:info:destroot . missing (directory not created: File exists)
:info:destroot ./Applications missing (directory not created: File exists)
:info:destroot ./Developer missing (directory not created: File exists)
:info:destroot ./Library missing (directory not created: File exists)
:debug:destroot Executing org.macports.destroot (ksh93)
:error:destroot org.macports.destroot for port ksh93 returned: xinstall: Cannot stat: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_shells_ksh93/ksh93/work/ksh93-2012-08-01/arch/darwin.i386-64/bin/ksh, No such file or directory
:debug:destroot Error code: NONE
:debug:destroot Backtrace: xinstall: Cannot stat: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_shells_ksh93/ksh93/work/ksh93-2012-08-01/arch/darwin.i386-64/bin/ksh, No such file or directory
    while executing
"$procedure $targetname"
:info:destroot Warning: targets not executed for ksh93: org.macports.activate org.macports.destroot org.macports.install
:notice:destroot Please see the log file for port ksh93 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_shells_ksh93/ksh93/main.log
 

Attachments (1)

main.log.bz2 (83.5 KB) - added by ryandesign (Ryan Schmidt) 6 years ago.

Download all attachments as: .zip

Change History (10)

comment:1 Changed 6 years ago by veedeehjay@…

this happens with 10.9.2. after an OS upgrade from 10.8 and following the migration recipe from the macports site (uninstall all packages, clean all, reinstall ...)

Changed 6 years ago by ryandesign (Ryan Schmidt)

Attachment: main.log.bz2 added

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

I see the same problem, also on OS X 10.9.2, with Xcode 5.1. I've attached my main.log, which contains more info on why it failed. Remember to always attach your main.log file when you file a bug report.

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

The port has no MacPorts maintainer, and no newer version has been released by the developers. You should report the problem to the developers so that they can fix it and release a new version, to which we can then update the port.

comment:4 in reply to:  3 Changed 6 years ago by veedeehjay@…

Replying to ryandesign@…:

The port has no MacPorts maintainer, and no newer version has been released by the developers. You should report the problem to the developers so that they can fix it and release a new version, to which we can then update the port.

the version in macports seems to be the most recent release (and it was so for some time: ksh is not changing that much any more these days I believe) and it used to compile/run under 10.8 just fine IIRC. so I'm not sure that the problem does not strictly lie with ksh itself?

anyway, I have followed your advice and posted the problem to ast-users@…. will keep you informed.

comment:5 Changed 6 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

I don't know if anything ever came of the post to the mailing list mentioned above. The mailing list web server has not been running for awhile so I don't know if the mailing list still exists.

Meanwhile, there is a GitHub project for ast. Perhaps a bug report there would be useful, if indeed the version currently in the repo still suffers from the same problem (I did not check).

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

Resolution: fixed
Status: newclosed

In f3fde48acc6d9c84b382b08e2e0fa8f539964cfc/macports-ports (master):

ksh93: Update to 20181007

Closes: #32182
Closes: #43392

comment:8 Changed 7 months ago by ryandesign (Ryan Schmidt)

In 5bc6083bd8b7959b683d07ee8a74659771794a46/macports-ports (master):

ksh93: Reinstate and revert to 2012-08-01

The ksh community has rejected the past few years' worth of development
that led to the release of ksh 2020.0.0 (currently available in the ksh
and ksh-devel ports). That work has been moved to a branch in the
upstream repo and its master has been reverted to ksh93u+, with no
plans for major further development. The developer who brought us
ksh2020 no longer plans to continue its development either.

Reopens: #32182
Reopens: #43392

comment:9 Changed 7 months ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: closedreopened
Note: See TracTickets for help on using tickets.