-----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@fedoraproject.org Homepage: http://www.fedora-os.org Sip Address : sip:sagitter AT ekiga.net Jabber :sagitter AT jabber.org GPG Key: D400D6C4
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.
----- Original Message -----
From: Antonio anto.trande@gmail.com To: Development discussions related to Fedora devel@lists.fedoraproject.org; arm@lists.fedoraproject.org Cc: Sent: Saturday, January 19, 2013 11:07 AM Subject: [fedora-arm] 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@fedoraproject.org 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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
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@gmail.com To: Development discussions related to Fedora devel@lists.fedoraproject.org; arm@lists.fedoraproject.org Cc: Sent: Saturday, January 19, 2013 11:07 AM Subject: [fedora-arm] 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@fedoraproject.org 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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
arm mailing list arm@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/arm
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Il 19/01/2013 18:29, David A. Marlin ha scritto:
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>
Hi.
Could this descend from an hypothetical defect of arm* support in DistTag (http://fedoraproject.org/wiki/Packaging:DistTag#.25.7Bdist.7D_in_the_Release...) ?
- -- Antonio Trande "Fedora Ambassador" "Fedora italian translation group" "Blogger"
mail: mailto:sagitter@fedoraproject.org Homepage: http://www.fedora-os.org Sip Address : sip:sagitter AT ekiga.net Jabber :sagitter AT jabber.org GPG Key: D400D6C4
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I don't have a RPi to try this on, but can you just use:
rpmbuild -ba --target=armv5tel <SRPM>
yum install moc-2.5.0-0.2.beta1.rpfr.arm5tel.rpm Loaded plugins: langpacks, presto, refresh-packagekit Examining moc-2.5.0-0.2.beta1.rpfr.arm5tel.rpm: moc-2.5.0-0.2.beta1.rpfr.arm5tel Cannot add package moc-2.5.0-0.2.beta1.rpfr.arm5tel.rpm to transaction. Not a compatible architecture: arm5tel Error: Nothing to do
It seems not accept arm5tel arch. ??
- -- Antonio Trande "Fedora Ambassador" "Fedora italian translation group" "Blogger"
mail: mailto:sagitter@fedoraproject.org Homepage: http://www.fedora-os.org Sip Address : sip:sagitter AT ekiga.net Jabber :sagitter AT jabber.org GPG Key: D400D6C4
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
yum install moc-2.5.0-0.2.beta1.rpfr.arm5tel.rpm Loaded plugins: langpacks, presto, refresh-packagekit Examining moc-2.5.0-0.2.beta1.rpfr.arm5tel.rpm: moc-2.5.0-0.2.beta1.rpfr.arm5tel Cannot add package moc-2.5.0-0.2.beta1.rpfr.arm5tel.rpm to transaction. Not a compatible architecture: arm5tel Error: Nothing to do
It seems not accept arm5tel arch. ??
It's a my error. Right arch is armv5tel.
- -- Antonio Trande "Fedora Ambassador" "Fedora italian translation group" "Blogger"
mail: mailto:sagitter@fedoraproject.org Homepage: http://www.fedora-os.org Sip Address : sip:sagitter AT ekiga.net Jabber :sagitter AT jabber.org GPG Key: D400D6C4