[opensuse-arm] Help using rpmbuild manually (for AArch64)
Hi, I would like to have some help to use rpmbuild manually (for AArch64 bootstrap). I manually built rpmbuild (without python) for aarch64 but I get the following error when I use it to build rpm as rpm package: error: File %{lua:if posix.access(rpm.expand("/usr/src/packages"), "w") then print "/usr/src/packages" else print "/home/root/rpmbuild" end}/SOURCES/rpm-4.10.2.tar.bz2: No such file or directory I called this cmd: rpmbuild --target=aarch64-suse-linux rpm.spec For first build I disabled lua, so I rebuild it _with_ lua but still the same error. Is python mandatory? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 24 January 2013 09:55, Guillaume Gardet
Hi,
I would like to have some help to use rpmbuild manually (for AArch64 bootstrap).
I manually built rpmbuild (without python) for aarch64 but I get the following error when I use it to build rpm as rpm package: error: File %{lua:if posix.access(rpm.expand("/usr/src/packages"), "w") then print "/usr/src/packages" else print "/home/root/rpmbuild" end}/SOURCES/rpm-4.10.2.tar.bz2: No such file or directory
I called this cmd: rpmbuild --target=aarch64-suse-linux rpm.spec
For first build I disabled lua, so I rebuild it _with_ lua but still the same error. Is python mandatory?
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Guillaume, Are you following a similar process to what the Fedora folks are doing [0]? They are by far the most advanced in porting to the new arch. Having spoken briefly to them, they did not encounter any issues, but they should be updating their wiki shortly now that they have completed stage two. Regards, Andy 0-https://fedoraproject.org/wiki/Architectures/ARM/AArch64 -- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 28/01/2013 09:52, Andrew Wafaa a écrit :
On 24 January 2013 09:55, Guillaume Gardet
wrote: Hi,
I would like to have some help to use rpmbuild manually (for AArch64 bootstrap).
I manually built rpmbuild (without python) for aarch64 but I get the following error when I use it to build rpm as rpm package: error: File %{lua:if posix.access(rpm.expand("/usr/src/packages"), "w") then print "/usr/src/packages" else print "/home/root/rpmbuild" end}/SOURCES/rpm-4.10.2.tar.bz2: No such file or directory
I called this cmd: rpmbuild --target=aarch64-suse-linux rpm.spec
For first build I disabled lua, so I rebuild it _with_ lua but still the same error. Is python mandatory?
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi Guillaume,
Are you following a similar process to what the Fedora folks are doing [0]? They are by far the most advanced in porting to the new arch. Having spoken briefly to them, they did not encounter any issues, but they should be updating their wiki shortly now that they have completed stage two.
Hi, Yes, more or less. I am using the linaro rootfs to build little by little our RPMs from sources. I am currently building rpm package to have RPM tools. I used a workaround for this error. I defined manually the topdir var: rpmbuild --target=aarch64-suse-linux -bb --nodeps --define "_topdir /usr/src/packages" rpm.spec Regards, Guillaume
Regards,
Andy
0-https://fedoraproject.org/wiki/Architectures/ARM/AArch64
-- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (2)
-
Andrew Wafaa
-
Guillaume Gardet