[opensuse-buildservice] ISA macro not recognized?
Hi all, It seems I can't build a package in OBS because it does not recognize the %{_isa} macro, which is supposed to translate to (x86-32) or (x86-64) (i think). Any way around this without hacking the project config? -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Saturday 2010-07-10 18:56, Robert Xu wrote:
Hi all,
It seems I can't build a package in OBS because it does not recognize the %{_isa} macro, which is supposed to translate to (x86-32) or (x86-64) (i think). Any way around this without hacking the project config?
Wuss? Where did you pick that up that there exists an %_isa? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, Jul 10, 2010 at 13:05, Jan Engelhardt
On Saturday 2010-07-10 18:56, Robert Xu wrote:
Hi all,
It seems I can't build a package in OBS because it does not recognize the %{_isa} macro, which is supposed to translate to (x86-32) or (x86-64) (i think). Any way around this without hacking the project config?
Wuss? Where did you pick that up that there exists an %_isa?
http://www.rpm.org/wiki/PackagerDocs/ArchDependencies I've used it before on spec files... (And for some reason, OBS accepted it once and now rejects it.) -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, 2010-07-10 at 13:11 -0400, Robert Xu wrote:
On Sat, Jul 10, 2010 at 13:05, Jan Engelhardt
wrote: On Saturday 2010-07-10 18:56, Robert Xu wrote:
Hi all,
It seems I can't build a package in OBS because it does not recognize the %{_isa} macro, which is supposed to translate to (x86-32) or (x86-64) (i think). Any way around this without hacking the project config?
Wuss? Where did you pick that up that there exists an %_isa?
Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6. Thanks, Peter -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6.
Catch up with the times then, openSUSE 11.2 has 4.7 and 11.3 has 4.8. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, Jul 10, 2010 at 13:49, Jan Engelhardt
Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6.
Catch up with the times then, openSUSE 11.2 has 4.7 and 11.3 has 4.8.
Yeah... 4.6 was a while back. Uh, so, any help? I know RPM can recognize these macros; but can OBS? When they are put in the Requires: or BuildRequires: field, OBS is totally confused. -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Saturday 2010-07-10 20:37, Robert Xu wrote:
On Sat, Jul 10, 2010 at 13:49, Jan Engelhardt
wrote: Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6.
Catch up with the times then, openSUSE 11.2 has 4.7 and 11.3 has 4.8.
Yeah... 4.6 was a while back. Uh, so, any help? I know RPM can recognize these macros; but can OBS? When they are put in the Requires: or BuildRequires: field, OBS is totally confused.
Why do you even need them? What is wrong with the automatic dependency tracking? -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, Jul 10, 2010 at 14:48, Jan Engelhardt
On Saturday 2010-07-10 20:37, Robert Xu wrote:
On Sat, Jul 10, 2010 at 13:49, Jan Engelhardt
wrote: Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6.
Catch up with the times then, openSUSE 11.2 has 4.7 and 11.3 has 4.8.
Yeah... 4.6 was a while back. Uh, so, any help? I know RPM can recognize these macros; but can OBS? When they are put in the Requires: or BuildRequires: field, OBS is totally confused.
Why do you even need them? What is wrong with the automatic dependency tracking?
Uh, I don't want a x86_64 package to link to 32-bit libraries by accident. Besides, it worked before; It'd be nice to have it work again. -- later, Robert Xu -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
2010/7/10 Robert Xu
On Sat, Jul 10, 2010 at 14:48, Jan Engelhardt
wrote: On Saturday 2010-07-10 20:37, Robert Xu wrote:
On Sat, Jul 10, 2010 at 13:49, Jan Engelhardt
wrote: Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6.
Catch up with the times then, openSUSE 11.2 has 4.7 and 11.3 has 4.8.
Yeah... 4.6 was a while back. Uh, so, any help? I know RPM can recognize these macros; but can OBS? When they are put in the Requires: or BuildRequires: field, OBS is totally confused.
Why do you even need them? What is wrong with the automatic dependency tracking?
Uh, I don't want a x86_64 package to link to 32-bit libraries by accident. Besides, it worked before; It'd be nice to have it work again.
I have not tested it in the OBS, so no idea about your problem. But a x86-64 binary will never trigger a 32-bit library as a dependency. See all the "(64bit)": $ rpm -qRf /bin/ls rpmlib(VersionedDependencies) <= 3.0.3-1 info coreutils-lang = 7.1 /bin/sh /bin/sh rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 libacl.so.1()(64bit) libacl.so.1(ACL_1.0)(64bit) libattr.so.1()(64bit) libattr.so.1(ATTR_1.1)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libcap.so.2()(64bit) libpam.so.0()(64bit) libpam.so.0(LIBPAM_1.0)(64bit) libpam_misc.so.0()(64bit) libpam_misc.so.0(LIBPAM_MISC_1.0)(64bit) librt.so.1()(64bit) librt.so.1(GLIBC_2.2.5)(64bit) libselinux.so.1()(64bit) rpmlib(PayloadIsLzma) <= 4.4.6-1 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Saturday 2010-07-10 20:54, Robert Xu wrote:
Uh, so, any help? I know RPM can recognize these macros; but can OBS? When they are put in the Requires: or BuildRequires: field, OBS is totally confused.
Why do you even need them? What is wrong with the automatic dependency tracking?
Uh, I don't want a x86_64 package to link to 32-bit libraries by accident.
So put any possible 32-bit files into their own sub-%package. Quite frankly, Require:ing foo = %_isa is not going to solve "accidental" linking (which should be fixed anyhow, see above). -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2010-07-10 21:34:22 +0200, Jan Engelhardt wrote:
Quite frankly, Require:ing foo = %_isa is not going to solve "accidental" linking (which should be fixed anyhow, see above).
I would wonder if such combination could be linked at all. and it would mostlikely die on startup anyway. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
* Robert Xu (robxu9@gmail.com) [20100710 20:55]:
Uh, I don't want a x86_64 package to link to 32-bit libraries by accident.
It can't happen as the linker would reject it so building the package would fail. Philipp -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sat, Jul 10, 2010 at 02:37:40PM -0400, Robert Xu wrote:
On Sat, Jul 10, 2010 at 13:49, Jan Engelhardt
wrote: Note that says it was added in rpm 4.6. I don't think anyone is shipping 4.6 yet; I know that no released version of openSUSE is shipping 4.6.
Catch up with the times then, openSUSE 11.2 has 4.7 and 11.3 has 4.8.
Yeah... 4.6 was a while back. Uh, so, any help? I know RPM can recognize these macros; but can OBS? When they are put in the Requires: or BuildRequires: field, OBS is totally confused.
As long as you don't use it in BuildRequires it should work. Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (7)
-
Cristian Morales Vega
-
Jan Engelhardt
-
Marcus Rueckert
-
Michael Schroeder
-
Peter Bowen
-
Philipp Thomas
-
Robert Xu