Re: forcing BuildArch

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

 




On Sep 29, 2007, at 6:45 PM, David Halik wrote:


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?


The difference is likely compiled into lib/rpmrc.c translating uname(2).

Having gook compiled into rpm is one of many reasons why rpmrc
file handling has been removed.

In rpm-4.4.7+, the --target option can be used to set the arch, what
you see is what you get.

Meanwhile, try
    mkdir -p /etc/rpm
    echo "sparc64-sun-solaris2.9" > /etc/rpm/platform

73 de Jeff

_______________________________________________
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