Re: forcing BuildArch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Thanks, but my rpmrc looks identical to that too. ~/.rpmrc doesn't seem to help either. Here's the top of rpm --showrc on each machine, the first being our original Solaris 9 rpm 4.1 machine and the second the upgraded Solaris 9 rpm 4.4.9 box:

ARCHITECTURE AND OS:
build arch            : sparc64
compatible build archs: sun4u noarch
build os              : solaris2.9
compatible build os's : solaris2.9
install arch          : sun4u
install os            : solaris2.9
compatible archs      : sun4u sparc64 sparcv9 sparc noarch
compatible os's       : solaris2.9

ARCHITECTURE AND OS:
build arch            : sun4u
compatible build archs: sun4u
build os              : solaris2.9
compatible build os's : solaris2.9
install arch          : sun4u
install os            : solaris2.9
compatible archs      : sun4u
compatible os's       : solaris2.9
optflags              : -O2

You can see why its building every package as sun4u, yet there's no obvious reason for it. The macros file looks more or less identical, and so does the rpmrc file.... but something has to be differen't on the new machine. I'm stumped... Tim any thoughts?

-Dave

Jos Vos wrote:
On Sat, Sep 29, 2007 at 04:20:40PM -0400, David Halik wrote:

Is there a "proper" way to force BuildArch other than in each spec file?

Does this work: create a $HOME/.rpmrc file with as literal contents:

buildarchtranslate: sun4u: sparc64

B.t.w., the rpmrc files that came with my rpm 4.4 package already
contains this line, so I'm not sure why you encounter this problem.



--
================================
David Halik
Student Programmer
OSS/NBCS - OIT Rutgers
dhalik@xxxxxxxxxxxxxxx
================================
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux