• Bug#1106434: openttd-openmsx: FTBFS: Files /usr/share/common-licenses/G

    From Santiago Vila@21:1/5 to All on Sat May 24 18:50:02 2025
    Package: src:openttd-openmsx
    Version: 0.4.2-1
    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
    debian/rules override_dh_auto_clean
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    # Don't use dh_auto_clean. It thinks any target is valid because
    # it generates output (dependency analysis) before erroring out.
    make distclean
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    [CLEAN NML]
    [CLEAN LNG]
    [CLEAN GRF]
    [CLEAN DOC]
    [CLEAN BUNDLE]
    [CLEAN BUNDLE SRC]
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_clean
    debian/rules binary
    dh binary
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
    debian/rules override_dh_auto_build
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make "INSTALL_DIR=debian/openttd-openmsx/usr/share/games/openttd/baseset" "DIR_NAME=openmsx" "UNIX2DOS=" "_V="
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    [Generating] openmsx.obm
    scripts/translations.sh | sed 's/{TITLE}/OpenMSX 0.4.2/' >> openmsx.obm
    cat src/themes.list | scripts/playlist.py >> openmsx.obm
    cat src/themes.list | scripts/sanitize_list.py | scripts/md5list.py >> openmsx.obm
    cat src/themes.list | scripts/sanitize_list.py | scripts/namelist.py >> openmsx.obm
    [Done] Basemusic successfully generated.

    [DOC] docs/readme.txt
    cat docs/readme.ptxt \
    | sed -e "s/{{GRF_TITLE}}/OpenMSX 0.4.2/" \
    | sed -e "s/{{GRF_ID}}//" \
    | sed -e "s/{{REPO_REVISION}}/7974/" \
    | sed -e "s/{{FILENAME}}//" \
    docs/readme.txt
    [ -z "" ] || docs/readme.txt
    [DOC] docs/license.txt
    cat docs/license.ptxt \
    | sed -e "s/{{GRF_TITLE}}/OpenMSX 0.4.2/" \
    | sed -e "s/{{GRF_ID}}//" \
    | sed -e "s/{{REPO_REVISION}}/7974/" \
    | sed -e "s/{{FILENAME}}//" \
    docs/license.txt
    [ -z "" ] || docs/license.txt
    [DOC] docs/changelog.txt
    cat docs/changelog.ptxt \
    | sed -e "s/{{GRF_TITLE}}/OpenMSX 0.4.2/" \
    | sed -e "s/{{GRF_ID}}//" \
    | sed -e "s/{{REPO_REVISION}}/7974/" \
    | sed -e "s/{{FILENAME}}//" \
    docs/changelog.txt
    [ -z "" ] || docs/changelog.txt
    [BUNDLE] openmsx
    if [ -e openmsx ]; then rm -rf openmsx; fi
    mkdir openmsx
    for i in openmsx.obm docs/readme.txt docs/license.txt docs/changelog.txt src/tttheme2.mid src/keep_on_rolling.mid src/ttsong_iv_imuh3.mid src/modern_motion.mid src/busy_schedule.mid src/the_fast_route.mid src/ttsong_iii_imuh3.mid src/train_filled_with_
    cash.mid src/flying_scotsman.mid src/chuggachugga.mid src/the_hobo_redfarn.mid src/ultimate_run.mid src/midnight_snow_run.mid src/run_for_your_life.mid src/coconut_run2.mid src/harp_harmony.mid src/mighty_giant_run.mid src/wood_whistles.mid src/linns_
    basket.mid src/relax_song.mid src/chemistry_lab.mid src/boogi_marabi_redfarn.mid src/5432gone_redfarn.mid src/moo_redfarn.mid src/say_what_redfarn.mid src/be_sharp_bw_redfarn.mid src/careless_perc_redfarn.mid src/mosey_along_redfarn.mid src/slow_neasy_
    redfarn.mid src/city_blues_redfarn.mid src/no_work_song_redfarn.mid; do cp -rf $i openmsx; done
    [BUNDLE TAR] openmsx.tar
    /usr/bin/tar -cf openmsx.tar openmsx
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    debian/rules override_dh_auto_test
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    # There is no meaningful test suite, but `make test` generates
    # output, so override with a nop.
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    create-stamp debian/debhelper-build-stamp
    dh_prep
    debian/rules override_dh_auto_install
    make[1]: Entering directory '/<<PKGBUILDDIR>>'
    make install "INSTALL_DIR=debian/openttd-openmsx/usr/share/games/openttd/baseset" "DIR_NAME=openmsx" "UNIX2DOS=" "_V="
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    [BUNDLE] openmsx
    if [ -e openmsx ]; then rm -rf openmsx; fi
    mkdir openmsx
    for i in openmsx.obm docs/readme.txt docs/license.txt docs/changelog.txt src/tttheme2.mid src/keep_on_rolling.mid src/ttsong_iv_imuh3.mid src/modern_motion.mid src/busy_schedule.mid src/the_fast_route.mid src/ttsong_iii_imuh3.mid src/train_filled_with_
    cash.mid src/flying_scotsman.mid src/chuggachugga.mid src/the_hobo_redfarn.mid src/ultimate_run.mid src/midnight_snow_run.mid src/run_for_your_life.mid src/coconut_run2.mid src/harp_harmony.mid src/mighty_giant_run.mid src/wood_whistles.mid src/linns_
    basket.mid src/relax_song.mid src/chemistry_lab.mid src/boogi_marabi_redfarn.mid src/5432gone_redfarn.mid src/moo_redfarn.mid src/say_what_redfarn.mid src/be_sharp_bw_redfarn.mid src/careless_perc_redfarn.mid src/mosey_along_redfarn.mid src/slow_neasy_
    redfarn.mid src/city_blues_redfarn.mid src/no_work_song_redfarn.mid; do cp -rf $i openmsx; done
    [BUNDLE TAR] openmsx.tar
    /usr/bin/tar -cf openmsx.tar openmsx
    [INSTALL] to debian/openttd-openmsx/usr/share/games/openttd/baseset
    install -d debian/openttd-openmsx/usr/share/games/openttd/baseset/openmsx install -m644 openmsx/* debian/openttd-openmsx/usr/share/games/openttd/baseset/openmsx
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    # In the datadir, replace the readme and changelog with symlinks
    # to /usr/share/doc to save space.
    dh_link /usr/share/doc/openttd-openmsx/readme.txt usr/share/games/openttd/baseset/openmsx/readme.txt
    dh_link /usr/share/doc/openttd-openmsx/changelog usr/share/games/openttd/baseset/openmsx/changelog.txt
    # Verify that the license.txt that was installed is equal to the
    # GPL-2 common license and then just link to that one instead
    diff -q /usr/share/common-licenses/GPL-2 debian/openttd-openmsx/usr/share/games/openttd/baseset/openmsx/license.txt
    Files /usr/share/common-licenses/GPL-2 and debian/openttd-openmsx/usr/share/games/openttd/baseset/openmsx/license.txt differ
    make[1]: *** [debian/rules:46: override_dh_auto_install] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:5: 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/202505/

    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:openttd-openmsx, so that this is still visible in the BTS web page for this package.

    NOTE: Please make the package build not to fail when any of the licenses
    in base-files changes a little bit.

    In Bug #1106308 I gave some ideas to fix this.

    Thanks.

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

    Your message dated Sun, 25 May 2025 19:06:07 +0000
    with message-id <[email protected]>
    and subject line Bug#1106434: fixed in openttd-openmsx 0.4.2-2
    has caused the Debian Bug report #1106434,
    regarding openttd-openmsx: FTBFS: Files /usr/share/common-licenses/GPL-2 and debian/openttd-openmsx/usr/share/games/openttd/baseset/openmsx/license.txt differ
    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 [email protected]
    immediately.)


    --
    1106434: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1106434
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 24 May 2025 16:40:09 +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=-120.3 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,USER_IN_DKIM_WELCOMELIST,
    USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 118; hammy, 150; neutral, 189; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--sk:dh_auto, 0.000-+--H*F:U*sanvila Return-path: <[email protected]>
    Received: from mitropoulos.debian.org ([2001:648:2ffc:de