Tony Reix created AMBARI-8641:
---------------------------------
Summary: Unuseful architecture constraints for packaging
Key: AMBARI-8641
URL: https://issues.apache.org/jira/browse/AMBARI-8641
Project: Ambari
Issue Type: Bug
Environment: Ubuntu / PPC64LE
Reporter: Tony Reix
Priority: Critical
Files:
pom.xml
ambari-shell/ambari-python-shell/pom.xml
ambari-server/pom.xml
ambari-client/python-client/pom.xml
ambari-agent/pom.xml
contain lines like:
<deb.architecture>amd64</deb.architecture>
<needarch>amd64</needarch>
When creating a Ambari package with command:
mvn -B package jdeb:jdeb -Pnode-local -DnewVersion=${AMBARI_VERSION}
-DskipTests -Dpython.ver="python > 2.6" -Preplaceurl -l mvn.package.res
on my Ubuntu / PPC64LE machine, it creates Debian packaging data that require
amd64 to be the Debian architecture of the machine where to install the package.
And, thus, the package cannot be installed on my Ubuntu/PPC64LE machine.
Example: file "control" of file control.tar.gz of package
ambari-agent_1.6.1-1.deb contains the line:
Architecture: amd64
Ambari seems to be the only one Hadoop package to have such constraints in
pom.xml files for building the package.
However, Ambari looks to me to be "noarch", since it is pure Java code.
So, I think these "amd64" architecture values do not fit all cases (like my
PPC64LE machine) and - moreover - they seem useless.
So, I suggest to remove them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)