[opensuse-buildservice] SLES11 SP3 x86_64 not considered as x86_64?
I noticed a strange behaviour. https://build.opensuse.org/package/view_file/devel:languages:haskell/ghc-rpm... ===== install -p -D -m 0644 ghc-rpm-macros.ghc-srpm %{buildroot}/%{macros_dir}/macros.ghc-srpm # this is why this package is now arch-dependent: # turn off shared libs and dynamic linking on secondary archs %ifnarch %{ix86} x86_64 cat >> %{buildroot}%{macros_dir}/macros.ghc <<EOF ==== The package check, if it is built on x86_64 or i586 with %ifnarch. If not, it want to run cat. For openSuSE, everything is working as expected (cat is not running). https://build.opensuse.org/build/devel:languages:haskell/openSUSE_13.1/x86_6... ==== [ 34s] + install -p -D -m 0644 ghc-rpm-macros.ghc-srpm /home/abuild/rpmbuild/BUILDROOT/ghc-rpm-macros-1.2.7-28.1.x86_64//etc/rpm/macros.ghc-srpm [ 34s] + /usr/lib/rpm/brp-compress ==== On SLES11 SP3 x86_64, cat is started, although it is x86_64: https://build.opensuse.org/build/devel:languages:haskell/SLE_11_SP3/x86_64/g... ==== [ 54s] + install -p -D -m 0644 ghc-rpm-macros.ghc-srpm /var/tmp/ghc-rpm-macros-1.2.7-build//etc/rpm/macros.ghc-srpm [ 54s] + cat [ 54s] + /usr/lib/rpm/brp-lib64-linux ==== I even tried "%ifnarch %{ix86} x86_64" in a spec in a SLES11 SP3 x86_64 chroot - and it works as expected. So I'm really puzzled, why SLES on OBS is different. Regards, Martin -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Dinar Valeev
-
Jan Engelhardt
-
Martin Koegler