• Bug#1102765: jruby-maven-plugins: FTBFS: Could not resolve dependencies

    From Santiago Vila@21:1/5 to All on Sat Apr 12 18:30:03 2025
    Package: src:jruby-maven-plugins
    Version: 3.0.1-2
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    debian/rules clean
    dh clean --buildsystem=maven
    dh_auto_clean -O--buildsystem=maven
    bash -c "for dir in \$(find . -name target -type d); do if [ -f \$(echo \$dir | sed -e s/target\$/pom.xml/) ]; then rm -Rf \$dir; fi done"
    mh_unpatchpoms -plibjruby-maven-plugin-java
    dh_autoreconf_clean -O--buildsystem=maven
    dh_clean -O--buildsystem=maven
    debian/rules binary
    dh binary --buildsystem=maven
    dh_update_autotools_config -O--buildsystem=maven
    dh_autoreconf -O--buildsystem=maven
    dh_auto_configure -O--buildsystem=maven
    mh_patchpoms -plibjruby-maven-plugin-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
    dh_auto_build -O--buildsystem=maven
    /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<
    PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package -DskipTests -
    Dnotimestamp=true -Dlocale=en_US
    OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
    [INFO] Scanning for projects...
    [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order:
    [INFO]
    [INFO] JRuby Maven Mojos [pom] [INFO] Mojo Parent [pom] [INFO] Ruby Tools [jar] [INFO] JRuby Maven Mojo [maven-plugin] [INFO] Gem Maven Mojo [maven-plugin] [INFO]
    [INFO] ----------------< org.jruby.maven:jruby-maven-plugins >----------------- [INFO] Building JRuby Maven Mojos 3.0.1 [1/5] [INFO] from pom.xml
    [INFO] --------------------------------[ pom ]--------------------------------- [INFO]
    [INFO] --------------------< org.jruby.maven:parent-mojo >--------------------- [INFO] Building Mojo Parent 3.0.1 [2/5] [INFO] from parent-mojo/pom.xml
    [INFO] --------------------------------[ pom ]--------------------------------- [INFO]
    [INFO] --- plugin:3.10.2:helpmojo (default) @ parent-mojo ---
    [INFO] Unsupported packaging type pom, execution skipped
    [INFO]
    [INFO] >>> source:3.3.1:jar (default) > generate-sources @ parent-mojo >>> [INFO]
    [INFO] <<< source:3.3.1:jar (default) < generate-sources @ parent-mojo <<< [INFO]
    [INFO]
    [INFO] --- source:3.3.1:jar (default) @ parent-mojo ---
    [INFO]
    [INFO] ---------------------< org.jruby.maven:ruby-tools >--------------------- [INFO] Building Ruby Tools 3.0.1 [3/5] [INFO] from ruby-tools/pom.xml
    [INFO] --------------------------------[ jar ]--------------------------------- [WARNING] The POM for org.yaml:snakeyaml:jar:1.x is missing, no dependency information available
    [WARNING] The artifact org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 has been relocated to org.codehaus.plexus:plexus-component-annotations:jar:debian
    [WARNING] The artifact org.codehaus.plexus:plexus-container-default:jar:1.5.5 has been relocated to org.codehaus.plexus:plexus-container-default:jar:debian
    [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JRuby Maven Mojos 3.0.1:
    [INFO]
    [INFO] JRuby Maven Mojos .................................. SUCCESS [ 0.002 s] [INFO] Mojo Parent ........................................ SUCCESS [ 0.597 s] [INFO] Ruby Tools ......................................... FAILURE [ 0.070 s] [INFO] JRuby Maven Mojo ................................... SKIPPED
    [INFO] Gem Maven Mojo ..................................... SKIPPED
    [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.781 s
    [INFO] Finished at: 2025-04-12T12:48:08Z
    [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project ruby-tools: Could not resolve dependencies for project org.jruby.maven:ruby-tools:jar:3.0.1
    [ERROR] dependency: org.yaml:snakeyaml:jar:1.x (compile)
    [ERROR] Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.yaml:snakeyaml:jar:1.x has not been downloaded from it before.
    [ERROR] -> [Help 1]
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
    [ERROR]
    [ERROR] After correcting the problems, you can resume the build with the command
    [ERROR] mvn <args> -rf :ruby-tools
    dh_auto_build: error: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven -Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> -Dclassworlds.conf=/etc/maven/m2-debian.conf -
    Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode
    package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1 make: *** [debian/rules:6: binary] Error 25
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:jruby-maven-plugins, so that this is still visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 16 15:30:02 2025
    This is a multi-part message in MIME format...

    Your message dated Wed, 16 Apr 2025 13:21:28 +0000
    with message-id <E1u52hk-00DNAH-KL@fasolo.debian.org>
    and subject line Bug#1102761: fixed in snakeyaml 2.0+ds+really1.33-1
    has caused the Debian Bug report #1102761,
    regarding jruby-maven-plugins: FTBFS: Could not resolve dependencies for project org.jruby.maven:ruby-tools:jar:3.0.1
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1102761: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102761
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 12 Apr 2025 16:20:52 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.4 required=4.0 tests=ALL_TRUSTED,BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 317; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila Return-path: <sanvila@debian.org>
    Received: from muffat.debian.org ([2607:f8f0:614:1::1274:33]:49686)
    from C=NA,ST=NA,L