[Bug 228289] devel/RStudio fails to build on amd64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 16 10:06:23 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228289

            Bug ID: 228289
           Summary: devel/RStudio fails to build on amd64
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri at freebsd.org
          Reporter: thmu7 at freenet.de
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)

Created attachment 193449
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=193449&action=edit
amd64 build fixes for devel/RStudio r470021

Building devel/RStudio (1.1.451) on 11.1-STABLE r332554 amd64 fails
with what appears to be integer/pointer and pointer type mismatches in 
assignments:

[...]
In file included from
/home/tmu/ports/RStudio/work/rstudio-1.1.451/src/cpp/core/spelling/hunspell/affentry.cxx:9:
/home/tmu/ports/RStudio/work/rstudio-1.1.451/src/cpp/core/spelling/hunspell/affentry.hxx:30:94:
error: cannot initialize a parameter of type 'unsigned short' with an rvalue of
type 'nullptr_t'
  struct hentry *      check_twosfx(const char * word, int len, char
in_compound, const FLAG needflag = NULL);
                                                                               
             ^          ~~~~

[...]
/home/tmu/ports/RStudio/work/rstudio-1.1.451/src/cpp/core/system/Process.cpp:239:21:
note: in instantiation of function template specialization
'boost::function<void (bool, bool)>::operator=<nullptr_t>' requested here
   cb.onHasSubprocs = NULL;
[...]

The attached patch allows me to successfully build RStudio on amd64.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list