• Bug#1102764: jackson-dataformat-yaml: FTBFS: Could not resolve dependen

    From Santiago Vila@21:1/5 to All on Sat Apr 12 18:30:01 2025
    Package: src:jackson-dataformat-yaml
    Version: 2.8.11-4
    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 --with javahelper
    dh_auto_clean
    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 -plibjackson2-dataformat-yaml
    jh_clean
    Duplicate specification "u=s" for option "u"
    dh_clean
    debian/rules binary
    dh binary --with javahelper
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
    mh_patchpoms -plibjackson2-dataformat-yaml --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
    jh_linkjars
    dh_auto_build
    /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] Looking for compatible RELEASE version of plugin org.apache.felix:maven-bundle-plugin
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:bundle:2.8.11
    [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.fasterxml:oss-parent:debian, /<<PKGBUILDDIR>>/debian/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 226, column 12
    [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ com.fasterxml:oss-parent:debian, /<<PKGBUILDDIR>>/debian/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 199, column 12
    [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ com.fasterxml:oss-parent:debian, /<<PKGBUILDDIR>>/debian/maven-repo/com/fasterxml/oss-parent/debian/oss-parent-debian.pom, line 221, column 12
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO]
    [INFO] ------< com.fasterxml.jackson.dataformat:jackson-dataformat-yaml >------ [INFO] Building Jackson-dataformat-YAML 2.8.11
    [INFO] from pom.xml
    [INFO] -------------------------------[ bundle ]------------------------------- [INFO] Looking for compatible RELEASE version of plugin org.codehaus.mojo:build-helper-maven-plugin
    [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-jar-plugin
    [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-resources-plugin
    [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-install-plugin
    [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-deploy-plugin
    [INFO] Looking for compatible RELEASE version of plugin org.apache.maven.plugins:maven-shade-plugin
    [WARNING] The POM for org.yaml:snakeyaml:jar:1.x is missing, no dependency information available
    [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.623 s
    [INFO] Finished at: 2025-04-12T12:58:51Z
    [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project jackson-dataformat-yaml: Could not resolve dependencies for project com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:bundle:2.8.11
    [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
    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:4: 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:jackson-dataformat-yaml, 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)