• Bug#1103373: rjava: FTBFS in testing/armel: configure: error: One or mo

    From Dirk Eddelbuettel@21:1/5 to Lucas Nussbaum on Wed Apr 16 22:00:01 2025
    On 16 April 2025 at 21:27, Lucas Nussbaum wrote:
    | Source: rjava
    | Version: 1.0-11-1
    | Severity: serious
    | Justification: FTBFS
    | Tags: trixie sid ftbfs
    | User: lucas@debian.org
    | Usertags: ftbfs-20250416 ftbfs-trixie
    |
    | Hi,
    |
    | During a rebuild of all packages in testing (trixie), your package failed
    | to build on armel.

    Can you tru 1.0-11-2, please? It has

    rjava (1.0-11-2) unstable; urgency=medium

    * debian/control: Add libzstd-dev to Build-Depends (Closes: #1103203)
    * debian/control: Set Build-Depends: to current R version
    * debian/control: Set Standards-Version: to current version

    -- Dirk Eddelbuettel <edd@debian.org> Mon, 14 Apr 2025 20:59:33 -0500

    Thanks, Dirk

    |
    |
    | Relevant part (hopefully):
    | > archiver : '/usr/lib/jvm/default-java/bin/jar'
    | > compiler : '/usr/lib/jvm/default-java/bin/javac'
    | > header prep.: ''
    | > cpp flags : ''
    | > java libs : ''
    | > configure: error: One or more Java configuration variables are not set.
    | > Make sure R is configured with full Java support (including JDK). Run
    | > R CMD javareconf
    | > as root to add Java support to R.
    | >
    | > If you don't have root privileges, run
    | > R CMD javareconf -e
    | > to set all Java-related variables and then install rJava.
    | >
    | > ERROR: configuration failed for package ‘rJava’
    | > * removing ‘/build/reproducible-path/rjava-1.0-11/debian/r-cran-rjava/usr/lib/R/site-library/rJava’
    | > dh_auto_install: error: R CMD INSTALL -l /build/reproducible-path/rjava-1.0-11/debian/r-cran-rjava/usr/lib/R/site-library --clean . "--built-timestamp='Fri, 26 Jan 2024 11:10:09 -0600'" returned exit code 1
    |
    |
    | The full build log is available from:
    | http://qa-logs.debian.net/2025/04/16/rjava_1.0-11-1_testing-armel.log
    |
    | All bugs filed during this archive rebuild are listed at:
    | https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250416;users=lucas@debian.org
    | or:
    | https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250416&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
    |
    | A list of current common problems and possible solutions is available at
    | http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
    |
    | If you reassign this bug to another package, please mark it as 'affects'-ing | this package. See https://www.debian.org/Bugs/server-control#affects
    |
    | If you fail to reproduce this, please provide a build log and diff it with mine
    | so that we can identify if something relevant changed in the meantime.

    --
    dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dirk Eddelbuettel@21:1/5 to Lucas Nussbaum on Wed Apr 16 22:40:01 2025
    On 16 April 2025 at 22:13, Lucas Nussbaum wrote:
    | On 16/04/25 at 14:51 -0500, Dirk Eddelbuettel wrote:
    | >
    | > On 16 April 2025 at 21:27, Lucas Nussbaum wrote:
    | > | Source: rjava
    | > | Version: 1.0-11-1
    | > | Severity: serious
    | > | Justification: FTBFS
    | > | Tags: trixie sid ftbfs
    | > | User: lucas@debian.org
    | > | Usertags: ftbfs-20250416 ftbfs-trixie
    | > |
    | > | Hi,
    | > |
    | > | During a rebuild of all packages in testing (trixie), your package failed | > | to build on armel.
    | >
    | > Can you tru 1.0-11-2, please? It has
    | >
    | > rjava (1.0-11-2) unstable; urgency=medium
    | >
    | > * debian/control: Add libzstd-dev to Build-Depends (Closes: #1103203)
    | > * debian/control: Set Build-Depends: to current R version
    | > * debian/control: Set Standards-Version: to current version
    | >
    | > -- Dirk Eddelbuettel <edd@debian.org> Mon, 14 Apr 2025 20:59:33 -0500 |
    | Same error with 1.0-11-2 in unstable. Build log attached.
    |
    | It also fails on the buildd: https://buildd.debian.org/status/fetch.php?pkg=rjava&arch=armel&ver=1.0-11-2&stamp=1744803351&raw=0

    Yikes. That is weird. rJava is an old and stable package, R itself was just released and I don't think there were any changes for these odder
    architectures (ie armel, mipsel64).

    We already skip java-for-R on a few platforms. R itself has

    default-jdk [!arm !hppa !kfreebsd-any !hurd-any] | \
    openjdk-10-jdk [!arm !hppa !kfreebsd-any !hurd-any]

    and I may have to expand that.

    Dirk

    | Lucas
    | x[DELETED ATTACHMENT rjava.log, plain text]

    --
    dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Dirk Eddelbuettel@21:1/5 to Dirk Eddelbuettel on Thu Apr 17 17:50:01 2025
    On 17 April 2025 at 09:33, Dirk Eddelbuettel wrote:
    |
    | On 17 April 2025 at 15:43, Lucas Nussbaum wrote:
    | | On 17/04/25 at 08:27 -0500, Dirk Eddelbuettel wrote:
    | | > Coincidentally got a patch via the BTS to fix how R (ie r-base-core)
    | | > configures Java on loong64, but this may help the others too. [1]
    | | >
    | | > The new r-base package is building. Is there a way to tickle rebuilds of | | > package r-cran-rjava that does not require a new upload? Else I just make
    | | > one, depending on the new r-base-core. This _may_ help us here too.
    | |
    | | Yes, you can request a giveback on
    | | https://buildd.debian.org/status/package.php?p=rjava
    |
    | TIL !!
    |
    | I go to that (or related) page for its logs all the time but did not know the | last column was an 'action button'. Nice.

    Hm, that got me 'BD-Uninstallable' for the two architectures I gave back.

    https://buildd.debian.org/status/package.php?p=rjava

    Dirk

    --
    dirk.eddelbuettel.com | @eddelbuettel | edd@debian.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)