• Bug#1105278: choose-mirror: FTBFS with make --shuffle=reverse: ls: cann

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:00:03 2025
    XPost: linux.debian.bugs.dist

    Source: choose-mirror
    Version: 2.130
    Severity: minor
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-shuffle

    Hi,

    GNU Make now has a --shuffle option that simulates non-deterministic ordering of target prerequisites. See https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous work in Debian by Santiago Vila: https://people.debian.org/~sanvila/make-shuffle/

    This package fails to build with make --shuffle=reverse.
    This is likely to be caused by a missing dependency in
    debian/rules or an upstream Makefile.

    More information about this mass bug filing is available at https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

    Relevant part (hopefully):
    make[2]: Entering directory '/build/reproducible-path/choose-mirror-2.130' Makefile:79: update target 'debian/iso_3166.tab' due to: target does not exist
    isoquery -c | cut -f 1,4 | sort >debian/iso_3166.tab
    Makefile:51: update target 'Mirrors.masterlist' due to: force-try-update
    if [ "$ONLINE" != n ]; then \
    if wget -nv 'https://mirror-master.debian.org/status/Mirrors.masterlist' -O - > Mirrors.masterlist.new && \
    test -s Mirrors.masterlist.new; then \
    mv Mirrors.masterlist.new Mirrors.masterlist; \
    else \
    rm -f Mirrors.masterlist.new; \
    fi; \
    fi
    Makefile:91: update target 'debian/port_architecture' due to: target does not exist
    ./mirrorlist port_architecture Mirrors.masterlist debian/iso_3166.tab Makefile:88: update target 'debian/ftplist-countries' due to: target does not exist
    ./mirrorlist ftplist Mirrors.masterlist debian/iso_3166.tab
    Makefile:85: update target 'debian/httpslist-countries' due to: target does not exist
    ./mirrorlist httpslist Mirrors.masterlist debian/iso_3166.tab
    Makefile:82: update target 'debian/httplist-countries' due to: target does not exist
    ./mirrorlist httplist Mirrors.masterlist debian/iso_3166.tab
    Makefile:94: update target 'debian/choose-mirror-bin.templates' due to: target does not exist
    # Grab ISO codes from iso-codes package
    ./get-iso-codes
    # Build the templates
    ./mktemplates debian/choose-mirror-bin.templates-in debian/choose-mirror-bin.templates.http-in debian/choose-mirror-bin.templates.https-in debian/choose-mirror-bin.templates.ftp.base-in debian/choose-mirror-bin.templates.both-in
    Creating the list of countries for HTTP mirrors... Done.
    Creating the list of countries for HTTPS mirrors... Done.
    Creating the list of countries for FTP mirrors... Done.
    Insert the lists of choices into the templates file... Done.
    Include country names translations into the templates file:
    am... done
    ar... done
    ast... done
    be... done
    bg... done
    bn... done
    bo... done
    bs... done
    ca... done
    cs... done
    cy... done
    da... done
    de... done
    dz... done
    el... done
    eo... done
    es... done
    et... done
    eu... done
    fa... done
    fi... done
    fr... done
    ga... done
    gl... done
    gu... done
    he... done
    hi... done
    hr... done
    hu... done
    id... done
    is... done
    it... done
    ja... done
    ka... done
    kab... done
    kk... done
    km... done
    kn... done
    ko... done
    ku... done
    lo... done
    lt... done
    lv... done
    mk... done
    ml... done
    mr... done
    nb... done
    ne... done
    nl... done
    nn... done
    oc... done
    pa... done
    pl... done
    pt... done
    pt_BR... done
    ro... done
    ru... done
    se... done
    si... done
    sk... done
    sl... done
    sq... done
    sr... done
    sv... done
    ta... done
    te... done
    tg... done
    th... done
    tl... done
    tr... done
    ug... done
    uk... done
    vi... done
    zh_CN... done
    zh_TW... done
    Makefile:106: update target 'mirrors_ftp.h' due to: target does not exist
    if [ "$USE_FTP" ]; then ./mirrorlist ftp Mirrors.masterlist debian/iso_3166.tab; fi
    Makefile:103: update target 'mirrors_https.h' due to: target does not exist if [ "$USE_HTTPS" ]; then ./mirrorlist https Mirrors.masterlist debian/iso_3166.tab; fi
    Makefile:100: update target 'mirrors_http.h' due to: target does not exist
    if [ "$USE_HTTP" ]; then ./mirrorlist http Mirrors.masterlist debian/iso_3166.tab; fi
    <builtin>: update target 'choose-mirror.o' due to: target does not exist
    cc -Os -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/choose-mirror-2.130=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -D_GNU_SOURCE -DARCH_TEXT='"
    amd64"' -DWITH_HTTP -DWITH_HTTPS -DWITH_FTP_MANUAL -Os -fomit-frame-pointer -DSMALL -Wdate-time -D_FORTIFY_SOURCE=2 -c -o choose-mirror.o choose-mirror.c
    Makefile:111: update target 'choose-mirror' due to: target does not exist
    cc -o choose-mirror choose-mirror.o -ldebconfclient -ldebian-installer -Wl,-z,relro
    Makefile:114: update target 'strip' due to: target does not exist
    strip --remove-section=.comment --remove-section=.note choose-mirror Makefile:134: update target 'clean' due to: target does not exist
    rm -f choose-mirror choose-mirror.o *~ mirrors_*.h
    rm -f debian/templates-countries debian/httplist-countries debian/httpslist-countries debian/ftplist-countries
    rm -f demo demo.templates
    rm -rf debian/iso-codes/ debian/pobuild*/
    rm -f debian/iso_3166.tab
    rm -f debian/port_architecture
    Makefile:119: update target 'small' due to: target does not exist
    ls -l choose-mirror
    ls: cannot access 'choose-mirror': No such file or directory
    make[2]: *** [Makefile:119: small] Error 2 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/choose-mirror_2.130_unstable_reverse.log

    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

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