Opened 11 years ago
Closed 3 years ago
#43392 closed defect (fixed)
ksh93 @2012-08-01: error: expected parameter declarator
Reported by: | veedeehjay@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | 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)
Change History (12)
comment:1 Changed 11 years ago by veedeehjay@…
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | main.log.bz2 added |
---|
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten 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 follow-up: 4 Changed 11 years ago by ryandesign (Ryan Carsten 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 Changed 11 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:6 Changed 8 years ago by ryandesign (Ryan Carsten 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 6 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:8 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
comment:9 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:10 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign |
Status: | reopened → accepted |
Summary: | ksh93 install fails → ksh93 @2012-08-01: error: expected parameter declarator |
Apple's build of ksh for macOS uses -D_lib_memccpy
in CFLAGS to fix this and the ksh 93u+m fork has adopted it as well. I'll be committing this fix and others in a little bit.
comment:11 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
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 ...)