Bug 38564 - dpkg-architecture: command not found
Summary: dpkg-architecture: command not found
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libcups-devel (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 enhancement
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-31 14:03 MSK by Andrey Cherepanov
Modified: 2023-10-30 11:42 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Cherepanov 2020-05-31 14:03:04 MSK
Прошу убрать и починить код завершения:

$ /usr/bin/cups-config
/usr/bin/cups-config: line 20: dpkg-architecture: command not found
/usr/bin/cups-config: line 47: dpkg-architecture: command not found
Usage: cups-config --api-version
       cups-config --build
       cups-config --cflags
       cups-config --datadir
       cups-config --help
       cups-config --ldflags
       cups-config [--image] [--static] --libs
       cups-config --serverbin
       cups-config --serverroot
       cups-config --version
$ echo $?
1
Comment 1 Andrey Cherepanov 2020-05-31 14:05:44 MSK
Насчёт кода завершения снимаю претензии. Это следствие показа usage.
Comment 2 Vitaly Lipatov 2020-11-16 17:48:30 MSK
Не верю, что это код из апстрима, и предполагаю, что это приехали патчи из Debian:

$ grep dpkg /usr/bin/cups-config
libdir=${prefix}/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH)
if test $libdir != /usr/lib -a $libdir != /usr/lib32 -a $libdir != /usr/lib64 -a $libdir != /usr/lib/$(dpkg-architecture -qDEB_HOST_MULTIARCH); then
Comment 3 Repository Robot 2023-10-30 11:42:22 MSK
cups-2.4.7-alt2 -> sisyphus:

 Mon Oct 30 2023 Anton Farygin <rider@altlinux.ru> 2.4.7-alt2
 - add hotfix from Alexander Pevzner for Pantum driverless printing (closes: #48114)
 - removed Ubuntu-0012-Debian-Use-dpkg-architecture-in-cups-config-to-make-.patch (closes: #38564)