• Bug#1063020: linux: documentation build failure: Sphinx parallel build

    From Salvatore Bonaccorso@21:1/5 to All on Sun Feb 4 14:20:01 2024
    Source: linux
    Version: 6.6.15-1
    Severity: serious
    Justification: FTBFS
    X-Debbugs-Cc: carnil@debian.org

    The build for arch:all package FTBFS due to a problem in the
    documentation build:

    [2Kreading sources... [ 98%] userspace-api/media/v4l/vidioc-g-frequency .. virt/kvm/devices/vfio
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/translations/zh_TW/dev-tools/index.rst:21: WARNING: toctree contains reference to nonexisting document 'translations/zh_TW/dev-tools/sparse'
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/driver-api/usb/usb:164: ./drivers/usb/core/message.c:968: WARNING: Duplicate C declaration, also defined at driver-api/usb/gadget:793.
    Declaration is '.. c:function:: int usb_string (struct usb_device *dev, int index, char *buf, size_t size)'.
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/driver-api/usb/usb.rst:968: WARNING: Duplicate C declaration, also defined at driver-api/usb/gadget:793.
    Declaration is '.. c:struct:: usb_string'. /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/driver-api/miscellaneous:47: ./drivers/pwm/core.c:548: WARNING: Duplicate C declaration, also defined at driver-api/miscellaneous:240.
    Declaration is '.. c:function:: int pwm_capture (struct pwm_device *pwm, struct pwm_capture *result, unsigned long timeout)'.
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/driver-api/80211/cfg80211:48: ./include/net/cfg80211.h:7273: WARNING: Duplicate C declaration, also defined at driver-api/80211/cfg80211:7234.
    Declaration is '.. c:function:: void cfg80211_rx_assoc_resp (struct net_device *dev, struct cfg80211_rx_assoc_resp *data)'.
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/driver-api/80211/mac80211:109: ./include/net/mac80211.h:5169: WARNING: Duplicate C declaration, also defined at driver-api/80211/mac80211:1116.
    Declaration is '.. c:function:: void ieee80211_tx_status (struct ieee80211_hw *hw, struct sk_buff *skb)'.
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/gpu/drm-kms:360: ./drivers/gpu/drm/drm_fourcc.c:336: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:38.
    Declaration is '.. c:function:: const struct drm_format_info * drm_format_info (u32 format)'.
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/gpu/drm-kms:459: ./drivers/gpu/drm/drm_modeset_lock.c:392: WARNING: Duplicate C declaration, also defined at gpu/drm-kms:49.
    Declaration is '.. c:function:: int drm_modeset_lock (struct drm_modeset_lock *lock, struct drm_modeset_acquire_ctx *ctx)'.
    /<<PKGBUILDDIR>>/debian/build/build-doc/Documentation/gpu/drm-uapi:357: ./drivers/gpu/drm/drm_ioctl.c:928: WARNING: Duplicate C declaration, also defined at gpu/drm-uapi:70.
    Declaration is '.. c:function:: bool drm_ioctl_flags (unsigned int nr, unsigned int *flags)'.

    Sphinx parallel build error:
    UnboundLocalError: cannot access local variable 'fname' where it is not associated with a value
    make[5]: *** [Documentation/Makefile:148: xmldocs] Error 2
    make[4]: *** [/<<PKGBUILDDIR>>/debian/build/build-doc/Makefile:1722: xmldocs] Error 2
    make[3]: *** [Makefile:246: __sub-make] Error 2
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/debian/build/build-doc'
    make[2]: *** [debian/rules.real:209: debian/stamps/build-doc] Error 2
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    make[1]: *** [debian/rules.gen:1955: build-indep_doc] Error 2
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:66: build-indep] Error 2
    dpkg-buildpackage: error: debian/rules binary-indep subprocess returned exit status 2

    Trying to look into it ASAP.

    Regards,
    Salvatore

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Feb 4 22:20:01 2024
    This is a multi-part message in MIME format...

    Your message dated Sun, 04 Feb 2024 21:11:38 +0000
    with message-id <E1rWjm6-006fml-GE@fasolo.debian.org>
    and subject line Bug#1063020: fixed in linux 6.6.15-2
    has caused the Debian Bug report #1063020,
    regarding linux: documentation build failure: Sphinx parallel build error: UnboundLocalError: cannot access local variable 'fname' where it is not associated with a value
    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.)


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

    Received: (at submit) by bugs.debian.org; 4 Feb 2024 13:08:46 +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=-8.9 required=4.0 tests=BAYES_00,FOURLA,FROMDEVELOPER,
    KHOP_HELO_FCRDNS,RDNS_DYNAMIC,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE,XMAILER_REPORTBUG autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 43; hammy, 150; neutral, 107; spammy,
    0. spammytokens: hammytokens:0.000-+--H*F:U*carnil,
    0.000-+--X-Debbugs-Cc, 0.000-+--XDebbugsCc, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR
    Return-path: <carnil@debian.org>
    Received: from c-82-192-242-114.customer.ggaweb.ch ([82.192.242.114]:57672 helo=eldamar.lan)
    by buxtehude.debian.org with esmtp (Exim 4.94.2)
    (envelope-from <carnil@d