[MacPorts] #69849: R-minqa @1.2.6: clang: error: no such file or directory: 'WARNING:'

MacPorts noreply at macports.org
Mon Apr 29 16:29:59 UTC 2024


#69849: R-minqa @1.2.6: clang: error: no such file or directory: 'WARNING:'
-------------------------+--------------------------
  Reporter:  ryandesign  |      Owner:  barracuda156
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.9.3
Resolution:              |   Keywords:
      Port:  R-minqa     |
-------------------------+--------------------------

Comment (by barracuda156):

 We may have three issues here :)

 1. A bug in `startup.c` (?) in R, which uses wrong types when determining
 memory limits. It also seems to use Linux defines for macOS.
 Something like this will work, perhaps: https://github.com/wshanks/qiskit-
 aer/commit/11f6afa311ba609eeb3bca37ed01b797076739f9
 But with the fixed type `MinMaxVSize` (which R source uses).
 This perhaps leads to silly warnings being set in the first place. So even
 when starting R now,
 {{{
 36-170% /opt/local/bin/R
 WARNING: too small maximum for v(ector heap)size '0' ignored, the current
 usage 64M is already larger

 WARNING: too small maximum for v(ector heap)size '0' ignored, the current
 usage 64M is already larger


 R version 4.4.0 (2024-04-24) -- "Puppy Cup"
 Copyright (C) 2024 The R Foundation for Statistical Computing
 Platform: powerpc-apple-darwin10.0.0d2 (32-bit)
 }}}

 2. A bug ''somewhere'', which interprets that as objects to pass to the
 linker. It is probably in `Rcpp`, however the position of upstream is that
 `Rcpp:::LdFlags()` should not be used as deprecated a decade ago.
 It should be easier to fix this in `R` to get rid of the warning string,
 though it will leave the second bug unfixed – but it won't affect us.

 3. Packages which use a deprecated call – but there are apparently many of
 such, we cannot bother fixing each one.

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


More information about the macports-tickets mailing list