| Summary: | math/R: Configure error: Support for MBCS locales is required | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Harrison Grundy <harrison.grundy> | ||||||||
| Component: | Individual Port(s) | Assignee: | Joseph Mingrone <jrm> | ||||||||
| Status: | Closed Overcome By Events | ||||||||||
| Severity: | Affects Only Me | CC: | davor.cubranic, jrm, nq1n407ba, rhurlin, riggs | ||||||||
| Priority: | --- | Keywords: | needs-patch, needs-qa | ||||||||
| Version: | Latest | Flags: | bugzilla:
maintainer-feedback?
(jrm) |
||||||||
| Hardware: | Any | ||||||||||
| OS: | Any | ||||||||||
| Attachments: |
|
||||||||||
Auto-assigned to maintainer bf@FreeBSD.org Created attachment 151089 [details]
patch math/R: update from 3.0.2 to 3.1.2
This is a NOT READY patch to update math/R. It builds on HEAD amd64 (Poudriere), but is not tested for other OS versions and platforms.
The main purpose of this patch is to expedite the update process of math/R.
Two bigger problems were (1) the absence of a JAVA dependency and (2) that the TeX dependency was only installed, if PDF option was enabled.
What this draft brings:
- update from 3.0.2 to 3.1.2
- remove R-patched-20131112-r64207.diff
- add JAVA dependency
- add NLS option
- move TeX dependency one step upwards
- change USES=iconv into USES=iconv:wchar_t
- changes for new math functions in 10.x and HEAD
- split DOCS option from INFO_MANUALS and PDF_MANUALS
- corrections and enhancements in pkg-plist
- is able to produce PDF files again
TODO:
- INSTALL target has to strip some .so files
- finer adaption of new or better function in math libs [1]
- math/libmissing should also be updated
[1] NOT TESTED, if the following patches are only in HEAD,
but also in 10x:
r257770, r271651, r272845 and r275819
Created attachment 151091 [details]
No Op, See PR 195783
Dear all, I am facing exactly this problem, and I see that it is being addressed altogether within the more ambitious target of upgrading R from 3.0.2 to 3.1.2. I wonder if there is a quick fix to get 3.0.2 to get to compile on 10.1-RELEASE. I have tried USES+= iconv:wchar_t to no avail, but I don't see anything else in the proposed patch that would have anything to do with locales. Please let me know if I can be of any help with this issue. Thank you very much. I'm curious: how was the package built with no errors, but when users try to build the port, it fails? Maintainer reset. Assign to current port maintainer Harrison and elferdo@gmail.com, Can you confirm that this is no longer a problem with the current version of math/R in the ports tree? (In reply to Davor Cubranic from comment #5) Davor, because the packages are built in a clean/pristine jail using poudriere, rather than a live system. This eliminates build errors caused by users having some customization in blah.conf, or package X installed with non-default option Y, etc. (In reply to Joseph Mingrone from comment #8) I'm building on amd64, 10.3-RELEASE-p7 FreeBSD 10.3-RELEASE-p7 #0: Thu Aug 11 18:38:15 UTC 2016, R-3.3.1_2 and it builds fine, both with and without NLS. |
Created attachment 150982 [details] Configure Log math/R fails on configure with: checking for mbstate_t... (cached) yes configure: error: Support for MBCS locales is required. Configure log attached.