[Bug 416570] [NEW] checkinstall does not respect pkgarch option

Joe jgd-launchpad at metajoe.com
Thu Aug 20 17:48:31 UTC 2009


Public bug reported:

Binary package hint: checkinstall

Description:    Ubuntu 8.04.3 LTS
Release:        8.04
checkinstall        1.6.1-5ubuntu1

It is always set to the output of "dpkg-architecture -qDEB_HOST_ARCH".
This diff corrects it:

--- /usr/bin/checkinstall       2007-11-18 08:24:30.000000000 -0600
+++ ./checkinstall      2009-08-20 12:43:42.000000000 -0500
@@ -1156,16 +1156,17 @@
 if ! [ "$ARCHITECTURE" ]; then
    ARCHITECTURE=`uname -m`
    echo $ARCHITECTURE | grep -e "i[3456]86" &> /dev/null
    [ $? -eq 0 ] && ARCHITECTURE=i386  # Arch will be "i386" for any of
-fi                                    # i386, i486, i586 or i686.
+                                      # i386, i486, i586 or i686.
                                       # You can change this with "--arch"
 
    # Fix the PowerPC & Amd64 architecture description if we're on Debian
    
    if [ "$CK_DEBIAN" = "1" ] ; then
       ARCHITECTURE=`dpkg-architecture -qDEB_HOST_ARCH`
    fi
+fi
 
 if [ -f "$SPEC_PATH" ]; then 
    SUMMARY=`getparameter "^[Ss]ummary"`
    NAME=`getparameter "^[Nn]ame"`

** Affects: checkinstall (Ubuntu)
     Importance: Undecided
         Status: New

-- 
checkinstall does not respect pkgarch option
https://bugs.launchpad.net/bugs/416570
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list