• Bug#1064088: gutenprint: FTBFS in unstable

    From Steve Langasek@21:1/5 to All on Sat Feb 17 04:10:01 2024
    Source: gutenprint
    Version: 5.3.4.20220624T01008808d602-1
    Severity: serious
    User: ubuntu-devel@lists.ubuntu.com
    Usertags: origin-ubuntu noble

    Dear maintainers,

    gutenprint now fails to build from source in unstable. Initially, it fails
    to build because debian/libgutenprintui2-2.symbols expects symbols to be present that are not part of this library's API but only a result of using
    yacc internally. Marking these symbols optional gets past this issue:

    (optional)yy_create_buffer@Base 5.3.0~pre1
    (optional)yy_delete_buffer@Base 5.3.0~pre1
    (optional)yy_flex_debug@Base 5.3.0~pre1
    (optional)yy_flush_buffer@Base 5.3.0~pre1
    (optional)yy_scan_buffer@Base 5.3.0~pre1
    (optional)yy_scan_bytes@Base 5.3.0~pre1
    (optional)yy_scan_string@Base 5.3.0~pre1
    (optional)yy_switch_to_buffer@Base 5.3.0~pre1
    (optional)yyalloc@Base 5.3.0~pre1
    (optional)yychar@Base 5.3.0~pre1
    (optional)yydebug@Base 5.3.1
    [...]

    But then the package fails because dh_missing complains about files
    installed into debian/tmp not being included in any package:

    [...]
    make[1]: Leaving directory '/tmp/time-t/gutenprint-5.3.4.20220624T01008808d602'
    dh_missing
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/a2128.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/a2128.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c1723.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c1723.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c193.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c193.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c1974.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c1974.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c199.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c199.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c38.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c38.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c463.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c463.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/c47.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/c47.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/f14.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/f14.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/index.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/index.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x1675.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x1675.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x1740.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x1740.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x2159.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x2159.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x270.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x270.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x66.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x66.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x78.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x78.html")
    dh_missing: warning: usr/share/gutenprint/doc/reference-html/x961.html exists in debian/tmp but is not installed to anywhere (related file: "doc/developer/reference-html/x961.html")

    While detecting missing files, dh_missing noted some files with a similar name to those
    that were missing. This error /might/ be resolved by replacing references to the
    missing files with the similarly named ones that dh_missing found - assuming the content
    is identical.

    As an example, you might want to replace:
    * doc/developer/reference-html/a2128.html
    with:
    * usr/share/gutenprint/doc/reference-html/a2128.html
    in a file in debian/ or as argument to one of the dh_* tools called from debian/rules.
    (Note it is possible the paths are not used verbatim but instead directories
    containing or globs matching them are used instead)

    Alternatively, add the missing file to debian/not-installed if it cannot and should not
    be used.

    The following debhelper tools have reported what they installed (with files per package)
    * dh_install: escputil (2), gimp-gutenprint (3), gutenprint-doc (2), gutenprint-locales (1), libgutenprint-common (1), libgutenprint-dev (3), libgutenprint-doc (19), libgutenprint9 (3), libgutenprintui2-2 (2), libgutenprintui2-dev (3), printer-driver-
    gutenprint (8)
    * dh_installdocs: escputil (0), gimp-gutenprint (1), gutenprint-doc (0), gutenprint-locales (0), libgutenprint-common (0), libgutenprint-dev (2), libgutenprint-doc (0), libgutenprint9 (1), libgutenprintui2-2 (0), libgutenprintui2-dev (0), printer-
    driver-gutenprint (2)
    * dh_installman: escputil (0), gimp-gutenprint (0), gutenprint-doc (0), gutenprint-locales (0), libgutenprint-common (0), libgutenprint-dev (0), libgutenprint-doc (0), libgutenprint9 (0), libgutenprintui2-2 (0), libgutenprintui2-dev (0), printer-driver-
    gutenprint (0)
    If the missing files are installed by another tool, please file a bug against it.
    When filing the report, if the tool is not part of debhelper itself, please reference the
    "Logging helpers and dh_missing" section from the "PROGRAMMING" guide for debhelper (10.6.3+).
    (in the debhelper package: /usr/share/doc/debhelper/PROGRAMMING.md.gz)
    Be sure to test with dpkg-buildpackage -A/-B as the results may vary when only a subset is built
    If the omission is intentional or no other helper can take care of this consider adding the
    paths to debian/not-installed.
    dh_missing: error: missing files, aborting
    make: *** [debian/rules:6: binary] Error 255

    This is probably fixable by changing debian/libgutenprint-doc.install to reference the files under debian/tmp by their full path instead of using the paths in the source tree.

    --
    Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slangasek@ubuntu.com vorlon@debian.org

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

    iQIzBAABCgAdFiEErEg/aN5yj0PyIC/KVo0w8yGyEz0FAmXQIsEACgkQVo0w8yGy Ez2AShAAucIylGTyKjCxMyxL6y0FbFE2yFlJKAx7pfCuBxgLXahMpqaJRiyIFo/1 MnMfKt/OfbuTCwJU7Eqf2Oy0rqPBM1XwJPFa3scboXhUadqFrFwh+H0VB9I6F1YF zyeWk3sjVN4cvvqrvTfiSa2PYG1uRigEmuAR0OO+aQA9L/Lx+/bczIKdqtpT3Ola KbGUqnit293uxA7xW6dWXcIOIVavBIPY2o0c9lc7705zl/V5LIj/0jU0vy6S283D 5tmBgtNMwcEWW1X8PaZmKISC+C1ojLflouOJcOjxvlHHqAQj3eZLvpfLw/IjpPQW V7j//Lh9nEZCfyrZC6WWd5GnM622yIKWLWmDer3PsM1Wjx8do3YKsysBfMmvNhjx DhRRJDmKSrlqtLuav48ZGk/bJq1AOq9F78l95VIHriOIyaJE919I528jQdAChUwA yN3aMD4Dwlvr2Pil9R8CxIheiYCW6Lk4Jj9prtthpubdoou+MXDcAxbedjcLGtqi XW12dFRBRA2KW9i81YqtUoY3X2uVavgSB1P/qdrOXQAAWrEygGcDqBCoRKaI2ON0 KcB1thKiJBzuwUU1Eo2h