Package: translate-shell
Version: 0.9.7.1-1
Severity: minor

With default settings, trans(1) appears to assume hexdump is installed.
Please add a Recommends or Depends (whichever is appropriate).

(Also, it should probably treat this as an error, and exit non-zero.)

Minimal failing recipe:

    bash5$ mmdebstrap bookworm /dev/null --components=main,contrib 
--include=translate-shell --customize-hook='chroot $1 trans la:zh "HOMO HOMINI 
LUPUS EST"'
    I: automatically chosen mode: unshare
    I: chroot architecture amd64 is equal to the host's architecture
    I: finding correct signed-by value...
    done
    I: automatically chosen format: null
    I: using /tmp/mmdebstrap.fG_WK1dcFL as tempdir
    I: running apt-get update...
    done
    I: downloading packages with apt...
    done
    I: extracting archives...
    done
    I: installing essential packages...
    done
    I: installing remaining packages inside the chroot...
    done
    done
    I: running --customize-hook in shell: sh -c 'chroot $1 trans la:zh "HOMO 
HOMINI LUPUS EST"' exec /tmp/mmdebstrap.fG_WK1dcFL
    sh: 1: hexdump: not found

    I: cleaning package lists and apt cache...
    done
    done
    I: removing tempdir /tmp/mmdebstrap.fG_WK1dcFL...
    I: success in 32.6198 seconds

Minimal working recipe:

    bash5$ mmdebstrap bookworm /dev/null --components=main,contrib 
--include=translate-shell --customize-hook='chroot $1 trans la:zh "HOMO HOMINI 
LUPUS EST"' --include=bsdextrautils
    I: automatically chosen mode: unshare
    I: chroot architecture amd64 is equal to the host's architecture
    I: finding correct signed-by value...
    done
    I: automatically chosen format: null
    I: using /tmp/mmdebstrap.xj6706N7Sk as tempdir
    I: running apt-get update...
    done
    I: downloading packages with apt...
    done
    I: extracting archives...
    done
    I: installing essential packages...
    done
    I: installing remaining packages inside the chroot...
    done
    done
    I: running --customize-hook in shell: sh -c 'chroot $1 trans la:zh "HOMO 
HOMINI LUPUS EST"' exec /tmp/mmdebstrap.xj6706N7Sk
    HOMO HOMINI LUPUS EST

    男人对于男人来说就是狼
    (Nánrén duìyú nánrén lái shuō jiùshì láng)

    Translations of HOMO HOMINI LUPUS EST
    [ Latina -> 简体中文 ]

    HOMO HOMINI LUPUS EST
        男人对于男人来说就是狼, 一个人对于一个人来说就是一头狼
    I: cleaning package lists and apt cache...
    done
    done
    I: removing tempdir /tmp/mmdebstrap.xj6706N7Sk...
    I: success in 36.0941 seconds

Also affects sid:

    bash5$ mmdebstrap sid /dev/null --components=main,contrib 
--include=translate-shell --customize-hook='chroot $1 trans la:zh "HOMO HOMINI 
LUPUS EST"'
    I: automatically chosen mode: unshare
    I: chroot architecture amd64 is equal to the host's architecture
    I: finding correct signed-by value...
    done
    I: automatically chosen format: null
    I: using /tmp/mmdebstrap.RDVdCh5fad as tempdir
    I: running apt-get update...
    done
    I: downloading packages with apt...
    done
    I: extracting archives...
    done
    I: installing essential packages...
    done
    I: installing remaining packages inside the chroot...
    done
    done
    I: running --customize-hook in shell: sh -c 'chroot $1 trans la:zh "HOMO 
HOMINI LUPUS EST"' exec /tmp/mmdebstrap.RDVdCh5fad
    sh: 1: hexdump: not found

    I: cleaning package lists and apt cache...
    done
    done
    I: removing tempdir /tmp/mmdebstrap.RDVdCh5fad...
    I: success in 29.9009 seconds




-- System Information:
Debian Release: 12.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-12-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages translate-shell depends on:
ii  gawk            1:5.2.1-2
ii  libfribidi-bin  1.0.8-2.1

Versions of packages translate-shell recommends:
ii  aspell    0.60.8-4+b1
ii  curl      7.88.1-10+deb12u2
ii  hunspell  1.7.1-1
ii  less      590-2
ii  rlwrap    0.46.1-1

Versions of packages translate-shell suggests:
ii  mpg123  1.31.2-1
ii  mpv     0.35.1-4

-- no debconf information

Reply via email to