Skip to content

[R-pkg-devel] winbuilder fails for package depending on rJava

11 messages · Kevin Kuo, David Winsemius, Jeff Newmiller +2 more

#
Seems like all rev deps of rJava are failing Windows checks with the same
error. Might be a Java architecture mismatch issue?
#
On 10/29/19 4:48 AM, Kevin Kuo wrote:
Copied from the rJava GitHub page:

==========


      Bug reports

Please userJava GitHub issues page 
<https://github.com/s-u/rJava/issues><https://github.com/s-u/rJava/issues> 
to report bugs.


(Seems likely that Simon would be aware of such a problem.)

============


I get no errors in Ubuntu 18.04 with:


|install.packages("rJava",,"http://rforge.net") |||||

You are supposed to offer your OS and other version details with a bug 
report.
#
I suspect David did not read the subject line. This is about winbuilder [1]. I don't know who runs that service (Uwe?), but this sounds like they need to investigate.

[1] https://win-builder.r-project.org/
On October 29, 2019 9:28:23 AM PDT, David Winsemius <dwinsemius at comcast.net> wrote:

  
    
#
On 10/29/19 12:22 PM, Jeff Newmiller wrote:
Correct on the first point, but when I go to that page it says:


Pleasedo notupload packages of other maintainers (particularly not 
without changing the Maintainer field to your own e-mail address, if you 
have permissions to do that), because the maintainer indicated in the 
maintainer field of the DESCRIPTION file get response from us. Pleasedo 
notupload Bioconductor packages or CRAN packages.
#
Once again, you can color me mystified. Are you reading logs not referred to in this email thread?
On October 29, 2019 12:28:59 PM PDT, David Winsemius <dwinsemius at comcast.net> wrote:

  
    
#
On 10/29/19 2:12 PM, Jeff Newmiller wrote:
Hi Jeff;

I suppose am reading <something> else. I ran:

maintainer("rJava")


... and the result was Simon Urbanek's name (which wasn't surprising to 
me), and did not match the name of the OP.

So I was (and am) puzzled that? Kevin was using win-builder on rJava.
#
My understanding is that the failure of rJava in the winbuilder server is likely to be a system configuration error specific to that server, and is a sysadmin issue rather than a package maintainer issue. But the sysadmin may know different.
On October 29, 2019 4:23:24 PM PDT, David Winsemius <dwinsemius at comcast.net> wrote:

  
    
#
On 29/10/2019 7:23 p.m., David Winsemius wrote:
I think you misread his post.  He was using win-builder on packages that 
depend on rJava.  It might have helped to post the error he was seeing...

Duncan Murdoch
#
I was replying to the OP at
https://stat.ethz.ch/pipermail/r-package-devel/2019q4/004539.html. This
indeed pertains to reverse dependencies of rJava not passing checks on
Windows. I have reached out to Uwe and will report back if I hear back.
Thanks for the lively discussion :)

On Wed, Oct 30, 2019 at 3:46 AM Duncan Murdoch <murdoch.duncan at gmail.com>
wrote:

  
  
#
On 10/30/19 3:46 AM, Duncan Murdoch wrote:
I did indeed misread the abbreviation "rev dep" as "revision 
dependencies" rather than "reverse dependencies". (So I thought he was 
submitting revised versions of rJava.) He then sent me a link to the 
original posting from a couple of weeks ago,? which had not been 
threaded correctly on my mail client, so I had no context:

https://stat.ethz.ch/pipermail/r-package-devel/2019q4/004539.html


Apologies for the noise.
#
Hi all,

Confirming that I'm having issues building a package that depends on
rJava (dialrjars: https://cran.r-project.org/package=dialrjars) with
winbuilder so I can't submit updates to CRAN.

The winbuilder error from my original post that Kevin linked to below is:
```
* installing *source* package 'dialrjars' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'dialrjars':
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object
'd:/temp/RtmpO22QHg/RLIBS_1d954576818a2/rJava/libs/i386/rJava.dll':
  LoadLibrary failure:  %1 ist keine zul?ssige Win32-Anwendung.

Error: loading failed
Execution halted
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'd:/RCompile/CRANguest/R-devel/lib/dialrjars'
```
You can also see details of the error in the current CRAN check
results (which it passed successfully when I last submitted a package
update):
https://cran.r-project.org/web/checks/check_results_dialr.html


Thanks for the feedback everyone, and thanks for checking with Uwe, Kevin!

Cheers,
Danny
On Thu, Oct 31, 2019 at 8:09 AM Kevin Kuo <kevinykuo at gmail.com> wrote: