[MacPorts] #69838: R-nloptr: stpncpy: error: expected parameter declarator

MacPorts noreply at macports.org
Tue Apr 30 04:10:14 UTC 2024


#69838: R-nloptr: stpncpy: error: expected parameter declarator
---------------------------------------+--------------------------
  Reporter:  ryandesign                |      Owner:  barracuda156
      Type:  defect                    |     Status:  assigned
  Priority:  Normal                    |  Milestone:
 Component:  ports                     |    Version:  2.9.3
Resolution:                            |   Keywords:
      Port:  R-nloptr, legacy-support  |
---------------------------------------+--------------------------

Comment (by fhgwright):

 Replying to [comment:18 ryandesign]:

 > A replacement for `xcrun --show-sdk-path`? I assume it would be just
 `echo $SDKROOT`. MacPorts sets `SDKROOT` to the SDK path when an SDK is
 needed and to the empty string when one is not needed.

 And overrides any value set by the user, even when it's included in
 `extra_env`, which can be inconvenient for some types of testing.

 Replying to [comment:19 barracuda156]:
 > With `R-nloptr`, I get this now during the build, though it still seems
 to install fine:
 > {{{
 > -- Installing:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_R_R-
 nloptr/R-nloptr/work/nloptr/src/nlopt/share/man/man3/nlopt_minimize_constrained.3
 > mv: rename nlopt/lib to nlopt/lib/lib: Invalid argument
 > configure: creating ./config.status
 > config.status: creating src/Makevars
 > }}}

 That `mv` command is clearly illegal, since `mv` has no built-in `mkdir`.
 You may want to see what it was trying to do unsuccessfully in this
 "successful" install.

 I created a new ticket #69867 for the issue of `legacy-support` and
 nonstandard SDKs, so this one can stick to the `R-nloptr` SDK issue.

 BTW, `legacy-support` ought to have its own component in the ticket
 system, since issues of this form are really related to the project, not
 the ports system.

-- 
Ticket URL: <https://trac.macports.org/ticket/69838#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list