[Bugs] [Bug 1564666] New: d/rules: Hardcoded x86-64-linux-gnu in install path

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 6 20:19:24 UTC 2018


https://bugzilla.redhat.com/show_bug.cgi?id=1564666

            Bug ID: 1564666
           Summary: d/rules: Hardcoded x86-64-linux-gnu in install path
           Product: GlusterFS
           Version: 3.13
         Component: packaging
          Severity: medium
          Assignee: bugs at gluster.org
          Reporter: Alexandru.Avadanii at enea.com
                CC: bugs at gluster.org



Created attachment 1418338
  --> https://bugzilla.redhat.com/attachment.cgi?id=1418338&action=edit
[PATCH] d/rules: Fix hardcoded x86-64-linux-gnu reference

Description of problem:
d/rules currently hardcodes the install path for x86-64, ignoring system arch:
/usr/lib/x86_64-linux-gnu/glusterfs/mount-shared-storage.sh

Version-Release number of selected component (if applicable):
3.13.2-ubuntu1~xenial2 (but applies to all packages I checked, e.g. 3.12 too)

How reproducible:
always

Steps to Reproduce:
1. apt install glusterfs-server # on an AArch64 (or any non-x86) machine
2. dpkg -L glusterfs-server | grep mount-shared-storage

Actual results:
/usr/lib/x86_64-linux-gnu/glusterfs/mount-shared-storage.sh

Expected results:
/usr/lib/aarch64-linux-gnu/glusterfs/mount-shared-storage.sh

Additional info:
Attached PoC fixup patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list