On Mon, Feb 15, 2010 at 3:33 PM, Andreas Schwab <schwab@redhat.com> wrote:
Zoltan Kota <z.kota@gmx.net> writes:

> And for recode.x86_64:
>
> http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/x86_64/recode-3.6-28.fc12.src.rpm/result/build.log
>
> checking host system type... Invalid configuration
> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
> checking build system type... Invalid configuration
> `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized

The included config.sub is older than 10 years.  Try running autoreconf.

exists redhat-rpm-config in mock env ?

rpmbuild -bc xxx.spec
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
`/usr/lib/rpm/redhat/config.sub' -> `./config/config.sub'

Andreas.

--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."