[opensuse-packaging] why is python-antlr noarch on SLES
Hello All, I'm updating the packaging for Java:packages/antlr on SLES and it's failing because its coming back as a noarch package, however 'BuildArch: noarch' is not set in the main package or python component of the package. I'm truly at a lose as to what's causing this, can anyone shed some light? %package -n python-%{name} Summary: ANother Tool for Language Recognition (python runtime) Group: Development/Tools/Other Requires: antlr %py_requires https://build.opensuse.org/package/show/home:deadpoint:branches:Java:package... https://build.opensuse.org/package/live_build_log/home:deadpoint:branches:Ja... [ 155s] antlr-devel: "/usr/lib64/libantlr.a" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/__init__.py" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/__init__.pyc" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/antlr.py" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/antlr.pyc" is not allowed in a noarch package. -- Later, Darin -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue 29 Apr 2014 04:31:40 PM CDT, Darin Perusich wrote:
Hello All,
I'm updating the packaging for Java:packages/antlr on SLES and it's failing because its coming back as a noarch package, however 'BuildArch: noarch' is not set in the main package or python component of the package.
I'm truly at a lose as to what's causing this, can anyone shed some light?
%package -n python-%{name} Summary: ANother Tool for Language Recognition (python runtime) Group: Development/Tools/Other Requires: antlr %py_requires
https://build.opensuse.org/package/show/home:deadpoint:branches:Java:package...
https://build.opensuse.org/package/live_build_log/home:deadpoint:branches:Ja...
[ 155s] antlr-devel: "/usr/lib64/libantlr.a" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/__init__.py" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/__init__.pyc" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/antlr.py" is not allowed in a noarch package. [ 156s] python-antlr: "/usr/lib64/python2.6/site-packages/antlr/antlr.pyc" is not allowed in a noarch package.
-- Later, Darin Hi See http://en.opensuse.org/openSUSE:Packaging_Python and the section (and macros) titled 'Compatibility with older distributions'.
-- Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890) openSUSE 13.1 (Bottle) (x86_64) GNOME 3.10.1 Kernel 3.11.10-7-desktop up 5 days 18:38, 3 users, load average: 0.10, 0.10, 0.08 CPU Intel® B840@1.9GHz | GPU Intel® Sandybridge Mobile -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tuesday 2014-04-29 22:31, Darin Perusich wrote:
Hello All,
I'm updating the packaging for Java:packages/antlr on SLES and it's failing because its coming back as a noarch package, however 'BuildArch: noarch' is not set in the main package or python component of the package.
If BuildArch:noarch is set in a subpackage, then: under old rpm (such as in SLE11), this causes all packaged to be noarch. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Tue, 29 Apr 2014 22:44:53 +0200 (CEST) Jan Engelhardt <jengelh@inai.de> wrote:
On Tuesday 2014-04-29 22:31, Darin Perusich wrote:
Hello All,
I'm updating the packaging for Java:packages/antlr on SLES and it's failing because its coming back as a noarch package, however 'BuildArch: noarch' is not set in the main package or python component of the package.
If BuildArch:noarch is set in a subpackage, then:
under old rpm (such as in SLE11), this causes all packaged to be noarch.
I think this bug/design problem is still present. A few weeks ago I had the same problem with openSUSE 13.1. The workaround for me was that I leave the main package as i586/x86_64 I you want I can reproduce this. Kind Regards, Philipp -- Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler@b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
On Tue, Apr 29, 2014 at 4:44 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Tuesday 2014-04-29 22:31, Darin Perusich wrote:
Hello All,
I'm updating the packaging for Java:packages/antlr on SLES and it's failing because its coming back as a noarch package, however 'BuildArch: noarch' is not set in the main package or python component of the package.
If BuildArch:noarch is set in a subpackage, then:
under old rpm (such as in SLE11), this causes all packaged to be noarch.
So would the proper "fix" be to force the buildarch for SLES in the main package? However this ignores the BuildArch tags for the subpackages and when set for only the python package it's ignored also and still built as noarch. %if 0%{?suse_version} == 1110 BuildArch: %{_arch} %endif -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wednesday 2014-04-30 15:55, Darin Perusich wrote:
On Tue, Apr 29, 2014 at 4:44 PM, Jan Engelhardt <jengelh@inai.de> wrote:
On Tuesday 2014-04-29 22:31, Darin Perusich wrote:
Hello All,
I'm updating the packaging for Java:packages/antlr on SLES and it's failing because its coming back as a noarch package, however 'BuildArch: noarch' is not set in the main package or python component of the package.
If BuildArch:noarch is set in a subpackage, then:
under old rpm (such as in SLE11), this causes all packaged to be noarch.
So would the proper "fix" be to force the buildarch for SLES in the main package? However this ignores the BuildArch tags for the subpackages and when set for only the python package it's ignored also and still built as noarch.
%if 0%{?suse_version} == 1110 BuildArch: %{_arch} %endif
%if 0%{?sles_version} > 0 && 0%{?_sles_version} <= 11 %else BuildArch: noarch %endif -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (4)
-
Darin Perusich
-
Jan Engelhardt
-
Malcolm
-
Philipp Seiler