• Bug#1066794: git: FTBFS: tests failed

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:20:02 2024
    Source: git
    Version: 1:2.43.0-1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    expecting success of 9500.119 'unborn HEAD: "summary" page (with "heads" subview)': {
    git checkout orphan_branch ||
    git checkout --orphan orphan_branch
    } &&
    test_when_finished "git checkout main" &&
    gitweb_run "p=.git;a=summary"
    error: pathspec 'orphan_branch' did not match any file(s) known to git Switched to a new branch 'orphan_branch'
    Switched to branch 'main'
    ok 119 - unborn HEAD: "summary" page (with "heads" subview)

    # failed 11 among 119 test(s)
    1..119
    make[4]: *** [Makefile:66: t9500-gitweb-standalone-no-errors.sh] Error 1


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/git_2.43.0-1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to All on Tue Mar 19 18:40:01 2024
    Not sure which tests actually failed (it's really hard to understand the output) but also I cannot reproduce this locally in sbuild, with -j1 or
    -j4 and with or without --no-arch-any.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX5yygtFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh 5YAP/Am08Riw5tN+9O8uCReDNVJGuspzyvclRi4SKmwYpecvvnEQ+twAseFZG0xr xMGeFCVFtKqEjSxewWO5fYhyLz3wOsMqIP8dl84JRmoTyP4QNRRpiYUDr5OiWiz5 eefVnY1JbS2AF2Ley4w017EnDMAX1L20SKNEBJX3EQWObKH3ZCkKO8jTTeWV5V/7 zP446g59C3C1BHTv99hPN0I/z5HYQfQ7MDO7y5g8r8glCrNVrXj+anlYS5/ZlpF+ GAns4w+93gaLrxV/x2MLhD66EMkENE/rcjYUXgNXCRfmzTZwJrLxYDAXS1QMpyT0 ISiNkZgwIsoUuRJneOR4T1OW98biswiL5zEWkfiICgbTa+r6x8soBUWqaoSBo0Wb +XPXLPV1HMmZU8fELT5v60Isea+udIwyW+Ie3sEuspY+PFUXWGJgs6HGDUQB2W4g pgknz0Uje1w9sGaxPYECYL5o9i6oe7+nRcHeLyXp3i0EFiAVoRgp67Yy36BDH8Qh X9HYSDNMEETbGfea979Cc0LCTThv3ZNKDSu3QzUIBwnNph5jnLBjUjSQmRZcF4m7 c96/aqK9rrhSaSr3bL0j4wYVJEmfGjiZpsd2slrcAjCiD56EKwOQP4hdhawkYDvZ qbyqStKrXkDeWfBUp8d29bptZH4Lo4J/lBknaerRdf9W4Fak
    =yZMx
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael Hudson-Doyle@21:1/5 to All on Wed Mar 20 03:20:01 2024
    It's hard to see from the log but the failures that are causing issues are
    the "path_info" gitweb tests such as

    expecting success of 9500.70 'path_info: project': gitweb_run "" "/.git"
    not ok 70 - path_info: project
    # gitweb_run "" "/.git"

    It's *impossible* to see from the log afaict but the reason this fails is because something has caused gitweb.perl to emit warnings like

    [Wed Mar 20 02:04:51 2024] gitweb.perl: Use of uninitialized value $my_url
    in substitution (s///) at /build/git-VGz7d1/git-2.43.0/gitweb/gitweb.perl
    line 70.

    This might be because of a new version of libcgi-pm-perl, but downgrading
    that package does not make every failure go, leaving warnings like

    [Wed Mar 20 02:07:53 2024] gitweb.perl: Use of uninitialized value $base in open at /build/git-VGz7d1/git-2.43.0/gitweb/gitweb.perl line 2886.

    Which still cause a failure. Has perl itself changed in behaviour here?

    <div dir="ltr">It&#39;s hard to see from the log but the failures that are causing issues are the &quot;path_info&quot; gitweb tests such as<div><br></div><div>expecting success of 9500.70 &#39;path_info: project&#39;: gitweb_run &quot;&quot; &quot;/.git&
    quot;<br>not ok 70 - path_info: project<br># gitweb_run &quot;&quot; &quot;/.git&quot;<br></div><div><br></div><div>It&#39;s *impossible* to see from the log afaict but the reason this fails is because something has caused gitweb.perl to emit warnings
    like</div><div><br></div><div>[Wed Mar 20 02:04:51 2024] gitweb.perl: Use of uninitialized value $my_url in substitution (s///) at /build/git-VGz7d1/git-2.43.0/gitweb/gitweb.perl line 70.<br></div><div><br></div><div>This might be because of a new
    version of libcgi-pm-perl, but downgrading that package does not make every failure go, leaving warnings like</div><div><br></div><div>[Wed Mar 20 02:07:53 2024] gitweb.perl: Use of uninitialized value $base in open at /build/git-VGz7d1/git-2.43.0/
    gitweb/gitweb.perl line 2886.<br></div><div><br></div><div>Which still cause a failure. Has perl itself changed in behaviour here?</div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Michael Hudson-Doyle on Wed Mar 20 18:50:01 2024
    On Wed, Mar 20, 2024 at 03:08:58PM +1300, Michael Hudson-Doyle wrote:
    It's hard to see from the log but the failures that are causing issues are the "path_info" gitweb tests such as

    expecting success of 9500.70 'path_info: project': gitweb_run "" "/.git"
    not ok 70 - path_info: project
    # gitweb_run "" "/.git"

    It's *impossible* to see from the log afaict but the reason this fails is because something has caused gitweb.perl to emit warnings like

    [Wed Mar 20 02:04:51 2024] gitweb.perl: Use of uninitialized value $my_url
    in substitution (s///) at /build/git-VGz7d1/git-2.43.0/gitweb/gitweb.perl line 70.
    Do you mean you can reproduce this build failure? How?

    This might be because of a new version of libcgi-pm-perl
    That's indeed one difference between logs, it's 4.62-1 in the last buildd
    log but 4.63-1 in my test builds.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX7IDctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh aYQP/R+tPusu/5xZTAQD76fY89RNZy6giUrJ8K6SNLfUPmbcoImcyi7A1IN9ZgBm RnwXtrUzYRrKpnyV+BeAZkpcgwM9jOVDtVROr4dOjsR/U+uba38V8mGy1Bx8JAYt gCSS2ZH4Fi5Yu0WwGteDv72uh5ZJlu5Vxk/RXgiyYO99jRSmwHXmQaQxqU9hmOCy CI+h4yNykE4MBg4z/1aw33hLCLQG5kIygGJXjPsLS5M2xSBNKb5ZhLDP0hcl/jri FGsBttsUtpjkNG35lbf8uQIusGgYEWGIXjL5gqzUW1boEvZ7Rnlbe+dKV/LaXzpM BYvRFy20Ou6KFexL9/wzd+bJTYJzXVpXPl0x/wd+dYvSPHNMXGVjYlc79RAdh0yg SqU9CfcNSWm/q969iCwiJlm8HsbgZ2UbKUpSJ36NWbl/u5UiPbne4Qtxy+480Y1M THY47SCQ49vK+9GJ6FdkvpRYwPfTd3UIlbVQvWrUaXMLuOB4VELjzAGl/SdjZURf KqstgtvSIBdMWltZrZMvoDIfHrOX0ec8zrS1EMacsIra07jGvo24FNXgo93E4DPJ nggE88+W2mAwvcvLHUeqKntikfJodVRTVr3N+FvVkQ4hK/H0VU1jrGII9tdNF5Am 9LXfeVBncH3doCTqASrOr957jgG0UG0AHlhhU8G6lD/uzsuS
    =lua2
    -----END PGP SIGNATURE-----

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