On 01/19/2013 11:21 AM, Sean Omalley wrote:
I'm having the same issue along with the build was looking for armv6 repo in the build requires even though the armv5 versions were installed.
I just symlinked
/usr/lib/rpm/platform/armv6l-linux to /usr/lib/rpm/platform/armv5tel-linux
It isn't the "proper" fix, but it will give you the correct flags.
I was told if you put:
[mock@raspi ~]$ cat .rpmmacros
%_host armv5tel-redhat-linux-gnu
%_host_cpu armv5te
that would work (and it may my errors were elsewhere) I ended up setting up mock though.
I don't have a RPi to try this on, but can you just use:
rpmbuild -ba --target=armv5tel <SRPM>
d.marlin
========
----- Original Message -----
From: Antonio <anto.trande@xxxxxxxxx>
To: Development discussions related to Fedora <devel@xxxxxxxxxxxxxxxxxxxxxxx>; arm@xxxxxxxxxxxxxxxxxxxxxxx
Cc:
Sent: Saturday, January 19, 2013 11:07 AM
Subject: rpmbuild on Fedora 17 ARM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all.
If I try to build a rpm on Fedora 17 ARM (installed on a RaspberryPi
Model B) from a src.rpm fc18, rpmbuild compiles a binary file
'.rpfr.armv6l' .
But almost all RPMs from repositories are 'armv5tel'.
Why ?
Does a specific command exist in these cases ?
Or would I edit the .spec file specifically for an ARM ?
Thanks
- --
Antonio Trande
"Fedora Ambassador"
"Fedora italian translation group"
"Blogger"
mail: mailto:sagitter@xxxxxxxxxxxxxxxxx
Homepage: http://www.fedora-os.org
Sip Address : sip:sagitter AT ekiga.net
Jabber :sagitter AT jabber.org
GPG Key: D400D6C4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJQ+sTLAAoJED2vIvfUANbEufgP/Ryj22bp2DB4maBvpjynuZKC
U98Oeetgwetq4r6TX0SFpP3blGY20VkLSDKGHYG7Z3yWNHCQNxdnky+Qs/DYFAiO
2U4FWlt6ckHeRY8G4rdrRWkbW9XBU8Slgngg1jjG+8bCW6FP4Fl/g5pvuScZVt8R
UGQikdPM8aJVu8IfHve+s2Lqwe09QBpVzK7bhGcDmggrLkydt0Q48NMaFbByiqrA
Sn1U0wHwrMZb0XO0VVaeiR4UtxpT+NYAjSN0tAxswQN2a8/qtaLnVYTE+AwdKXTb
wsPyw/z0k+4QEvjMGDbH9MiR/6I5bSFt34Da5+zt0TRquMcJk+yxogWAdKDh/XwD
FdxSmoEy7n2o/ZsDMbAEb4Jl1jMFnVxRykM9gnS+J/yi4nkdO0GsUYxiMtv7u5ge
GNc3BuxQ5yLAlqzFjo9XLCcyDYGJBb4/VYZpfOqyo4pf/YSIKZrMsQPPpFLh3KTt
LuCo8GeofMjp+LAYMG0zCSXgpPYvoPgI8bqAooaVcJehFa1NQ4OZjhyWWN1hXJ3Y
uKoUzg72OllKPQlLl1AnsSjcFd4Ti35UOveOIln5Dj8Vbfu5IAaapjdOFTTkxg8J
DgHJYDxGun1lPJHDJ/j5nYrMwOzbwWWl8A0RBmgS2p4nY3lcLfoS5CNPXxEHwyrz
0uVIyF69dmY17EeR4oum
=In1y
-----END PGP SIGNATURE-----
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm
_______________________________________________
arm mailing list
arm@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/arm