<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>38564</bug_id>
          
          <creation_ts>2020-05-31 14:03:04 +0300</creation_ts>
          <short_desc>dpkg-architecture: command not found</short_desc>
          <delta_ts>2023-10-30 11:42:22 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libcups-devel</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Anton Farygin">rider</assigned_to>
          <cc>george</cc>
    
    <cc>lav</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>190423</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2020-05-31 14:03:04 +0300</bug_when>
    <thetext>Прошу убрать и починить код завершения:

$ /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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>190424</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2020-05-31 14:05:44 +0300</bug_when>
    <thetext>Насчёт кода завершения снимаю претензии. Это следствие показа usage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>194257</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2020-11-16 17:48:30 +0300</bug_when>
    <thetext>Не верю, что это код из апстрима, и предполагаю, что это приехали патчи из 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235951</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-10-30 11:42:22 +0300</bug_when>
    <thetext>cups-2.4.7-alt2 -&gt; sisyphus:

 Mon Oct 30 2023 Anton Farygin &lt;rider@altlinux.ru&gt; 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)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>