Bug 1564666 - d/rules: Hardcoded x86-64-linux-gnu in install path
Summary: d/rules: Hardcoded x86-64-linux-gnu in install path
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: packaging
Version: 3.13
Hardware: aarch64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-06 20:19 UTC by Alexandru Avadanii
Modified: 2018-04-09 11:46 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-09 11:46:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)
[PATCH] d/rules: Fix hardcoded x86-64-linux-gnu reference (1.27 KB, application/mbox)
2018-04-06 20:19 UTC, Alexandru Avadanii
no flags Details

Description Alexandru Avadanii 2018-04-06 20:19:24 UTC
Created attachment 1418338 [details]
[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.

Comment 1 Kaleb KEITHLEY 2018-04-09 11:46:07 UTC
I respun all the ubuntu packages on Launchpad. I will be rebuilding the Debian arm64 packages over the next few days.


Note You need to log in before you can comment on or make changes to this bug.