• Bug#1102775: ruby-psych: FTBFS: error: incompatible types: StreamReader

    From Santiago Vila@21:1/5 to All on Sat Apr 12 18:30:02 2025
    Package: src:ruby-psych
    Version: 5.0.2-3
    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=ruby --with ruby,javahelper
    dh_auto_clean -O--buildsystem=ruby
    dh_ruby --clean
    dh_autoreconf_clean -O--buildsystem=ruby
    jh_clean -O--buildsystem=ruby
    Duplicate specification "u=s" for option "u"
    dh_clean -O--buildsystem=ruby
    debian/rules binary
    dh binary --buildsystem=ruby --with ruby,javahelper
    dh_update_autotools_config -O--buildsystem=ruby
    dh_autoreconf -O--buildsystem=ruby
    dh_auto_configure -O--buildsystem=ruby
    dh_ruby --configure
    jh_linkjars -O--buildsystem=ruby
    Duplicate specification "u=s" for option "u"
    dh_auto_build -O--buildsystem=ruby
    dh_ruby --build
    debian/rules override_jh_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    jh_build --javacopts='-source 8 -target 8 -encoding UTF-8' --javadoc-opts='-source 8 -encoding UTF-8'
    jh_build: warning: Java machine does not support --release 7, using --release 8 warning: [options] bootstrap class path not set in conjunction with -source 8 warning: [options] source value 8 is obsolete and will be removed in a future release
    warning: [options] target value 8 is obsolete and will be removed in a future release
    warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    ./ext/java/org/jruby/ext/psych/PsychParser.java:207: error: incompatible types: StreamReader cannot be converted to Scanner
    parser = new ParserImpl(readerFor(context, yaml));
    ^
    Note: ./ext/java/org/jruby/ext/psych/PsychLibrary.java uses or overrides a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.
    Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    1 error
    4 warnings
    jh_build: error: find ./ext/java/ -name '*.java' -and -type f -print0 | xargs -s 512000 -0 /usr/lib/jvm/default-java/bin/javac -g -cp /usr/share/jruby/lib/jruby.jar:/usr/share/java/jruby.jar:/usr/share/java/jcodings.jar:/usr/share/java/snakeyaml.jar:/usr/
    share/jruby/lib/snakeyaml.jar:debian/_jh_build.psych -d debian/_jh_build.psych -source 8 -target 8 -encoding UTF-8 returned exit code 123
    make[1]: *** [debian/rules:26: override_jh_build] Error 255
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:11: binary] Error 2
    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:ruby-psych, 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 Santiago Vila@21:1/5 to All on Sat Apr 26 20:20:02 2025
    I also can't reproduce it today. Most probably some build-dependency got fixed.

    I'll do a debbisect to see if I can put the bug where it belongs.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Sat Apr 26 20:50:01 2025
    reassign 1102775 libyaml-snake-java
    severity 1102775 serious
    affects 1102775 src:ruby-psych
    found 1102775 2.0+ds-1
    close 1102775 2.0+ds+really1.33-1
    thanks

    This is the output from debbisect:

    bisection finished successfully
    last bad timestamp: 20250416T084123Z
    first good timestamp: 20250416T143525Z
    the following packages differ between the last bad and first good timestamp:
    libasm-java 9.7.1-1 -> 9.8-1
    libyaml-snake-java 2.0+ds-1 -> 2.0+ds+really1.33-1

    Among those two, I think it was libyaml-snake-java, because
    it broke quite a number of packages, and the version number
    tell us that they reverted:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102761

    (But I'm not doing a merge just in case I'm mistaken...)

    Thanks.

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