Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

turn off for rocker/verse devel build that is currently failing #848

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

cboettig
Copy link
Member

turn of cron job that is currently failing

turn of cron job that is currently failing
@eitsupi
Copy link
Member

eitsupi commented Aug 29, 2024

Why do you want to do this?
And why don't you change it so that you don't only build verse, since it seems to be only verse is failing?

@cboettig
Copy link
Member Author

@eitsupi thanks, good idea!

@cboettig
Copy link
Member Author

better?

@eitsupi eitsupi changed the title turn of cron job for devel build that is currently failing turn off for rocker/verse devel build that is currently failing Aug 30, 2024
Copy link
Member

@eitsupi eitsupi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that makes sense.

@cboettig cboettig merged commit 38df0b9 into master Aug 30, 2024
4 of 7 checks passed
@cboettig cboettig deleted the cboettig-patch-1 branch August 30, 2024 04:52
@eitsupi
Copy link
Member

eitsupi commented Aug 31, 2024

Do you know why the rocker/verse build is failing in the first place? The log shows the following:

Details
#30 292.3 * installing *source* package ‘rJava’ ...
#30 292.3 ** package ‘rJava’ successfully unpacked and MD5 sums checked
#30 292.3 ** using staged installation
#30 292.3 checking for gcc... gcc
#30 292.3 checking whether the C compiler works... yes
#30 292.3 checking for C compiler default output file name... a.out
#30 292.3 checking for suffix of executables... 
#30 292.3 checking whether we are cross compiling... no
#30 292.3 checking for suffix of object files... o
#30 292.3 checking whether we are using the GNU C compiler... yes
#30 292.3 checking whether gcc accepts -g... yes
#30 292.3 checking for gcc option to accept ISO C89... none needed
#30 292.3 checking how to run the C preprocessor... gcc -E
#30 292.3 checking for grep that handles long lines and -e... /usr/bin/grep
#30 292.3 checking for egrep... /usr/bin/grep -E
#30 292.3 checking for ANSI C header files... yes
#30 292.3 checking for sys/wait.h that is POSIX.1 compatible... yes
#30 292.3 checking for sys/types.h... yes
#30 292.3 checking for sys/stat.h... yes
#30 292.3 checking for stdlib.h... yes
#30 292.3 checking for string.h... yes
#30 292.3 checking for memory.h... yes
#30 292.3 checking for strings.h... yes
#30 292.3 checking for inttypes.h... yes
#30 292.3 checking for stdint.h... yes
#30 292.3 checking for unistd.h... yes
#30 292.3 checking for string.h... (cached) yes
#30 292.3 checking sys/time.h usability... yes
#30 292.3 checking sys/time.h presence... yes
#30 292.3 checking for sys/time.h... yes
#30 292.3 checking for unistd.h... (cached) yes
#30 292.3 checking for an ANSI C-conforming const... yes
#30 292.3 checking whether time.h and sys/time.h may both be included... yes
#30 292.3 configure: checking whether gcc supports static inline...
#30 292.3 yes
#30 292.3 checking whether setjmp.h is POSIX.1 compatible... yes
#30 292.3 checking whether sigsetjmp is declared... yes
#30 292.3 checking whether siglongjmp is declared... yes
#30 292.3 checking Java support in R... present:
#30 292.3 interpreter : '/usr/bin/java'
#30 292.3 archiver    : '/usr/bin/jar'
#30 292.3 compiler    : '/usr/bin/javac'
#30 292.3 header prep.: ''
#30 292.3 cpp flags   : '-I/usr/lib/jvm/java-21-openjdk-amd64/include -I/usr/lib/jvm/java-21-openjdk-amd64/include/linux'
#30 292.3 java libs   : '-L/usr/lib/jvm/java-21-openjdk-amd64/lib/server -ljvm'
#30 292.3 checking whether Java run-time works... ./configure: line 3796: /usr/bin/java: No such file or directory
#30 292.3 no
#30 292.3 configure: error: Java interpreter '/usr/bin/java' does not work
#30 292.3 ERROR: configuration failed for package ‘rJava’
#30 292.3 * removing ‘/usr/local/lib/R/site-library/rJava’
#30 292.3 
#30 292.3 The downloaded source packages are in
#30 292.3 	‘/tmp/downloaded_packages’
#30 292.3 Error: installation of package ‘rJava’ failed
#30 292.3 In addition: Warning messages:
#30 292.3 1: package ‘rmdshower’ is not available for this version of R
#30 292.3 
#30 292.3 A version of this package for your version of R might be available elsewhere,
#30 292.3 see the ideas at
#30 292.3 https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Installing-packages 
#30 292.3 2: In install.packages(pkgs, ...) : installation of package ‘rJava’ failed
#30 ERROR: process "/bin/sh -c /rocker_scripts/install_verse.sh" did not complete successfully: exit code: 1
------
 > [22/23] RUN /rocker_scripts/install_verse.sh:
292.3 The downloaded source packages are in
292.3 	‘/tmp/downloaded_packages’
292.3 Error: installation of package ‘rJava’ failed
292.3 In addition: Warning messages:
292.3 1: package ‘rmdshower’ is not available for this version of R
292.3 
292.3 A version of this package for your version of R might be available elsewhere,
292.3 see the ideas at
292.3 https://cran.r-project.org/doc/manuals/r-devel/R-admin.html#Installing-packages 
292.3 2: In install.packages(pkgs, ...) : installation of package ‘rJava’ failed
------
verse_devel.Dockerfile:46
--------------------
  44 |     COPY scripts/install_verse.sh /rocker_scripts/install_verse.sh
  45 |     COPY scripts/install_texlive.sh /rocker_scripts/install_texlive.sh
  46 | >>> RUN /rocker_scripts/install_verse.sh
  47 |     
  48 |     COPY scripts /rocker_scripts
--------------------
ERROR: failed to solve: process "/bin/sh -c /rocker_scripts/install_verse.sh" did not complete successfully: exit code: 1
make: *** [Makefile:49: bake-json/verse] Error 1
Error: Process completed with exit code 2.

@benz0li
Copy link
Contributor

benz0li commented Aug 31, 2024

@eitsupi Remove package rmdshower.

It has been archived for a long time: https://cran.r-project.org/package=rmdshower

@eitsupi
Copy link
Member

eitsupi commented Aug 31, 2024

Thank you. But the option to ignore non-existent packages is enabled, so that should not be the cause of the build failure.
I think the problem is rJava installation failure.

@benz0li
Copy link
Contributor

benz0li commented Aug 31, 2024

Thank you. But the option to ignore non-existent packages is enabled, so that should not be the cause of the build failure.

Agreed. (IMHO non-existent packages should be removed. Otherwise the install scripts are misleading.)

I think the problem is rJava installation failure.

Yes. Because of default-jdk installing OpenJDK 21?

Are you on Ubuntu 22.04 or 24.04?

@benz0li
Copy link
Contributor

benz0li commented Aug 31, 2024

https://hub.docker.com/_/ubuntu: ubuntu:latest = ubuntu:24.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants