Support for the ARM 64 bit CPU architecture (aarch64) was introduced in autoconf 2.69. libtpms appears to use an earlier version of autoconf, preventing its being built. This can be fixed in of three ways (In order of preference): 1. Work with upstream to migrate the package to autoconf 2.69. 2. Rerun autoconf or autoreconf in %prep or %build prior to running configure. 3. Apply the patch at http://ausil.fedorapeople.org/aarch64/libtpms/libtpms-aarch64.patch which updates config.guess and config.sub to recognize aarch64.
Dennis, I am just trying to figure out how ARM is being built. I have done a couple of builds now with the latest package of libtpms in the repository: http://arm.koji.fedoraproject.org/koji/tasks?owner=stefanberger&state=all Building for f18 worked (arm5tel and armv7hl) Building for f19 worked (armv7hl) Building for rawhide failed due to this error here: DEBUG util.py:314: Executing command: ['/usr/bin/yum', '--installroot', '/var/lib/mock/f20-build-398255-258113/root/', 'groupinstall', 'build'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} DEBUG util.py:264: Error: Package: ca-certificates-2012.87-11.fc20.noarch (build) DEBUG util.py:264: Requires: p11-kit >= 0.17.3 DEBUG util.py:264: Available: p11-kit-0.16.4-1.fc19.armv7hl (build) DEBUG util.py:264: p11-kit = 0.16.4-1.fc19 DEBUG util.py:264: You could try using --skip-broken to work around the problem DEBUG util.py:264: You could try running: rpm -Va --nofiles --nodigest DEBUG util.py:264: Error: Package: ca-certificates-2012.87-11.fc20.noarch (build) DEBUG util.py:264: Requires: p11-kit-trust >= 0.17.3 DEBUG util.py:264: Available: p11-kit-trust-0.16.4-1.fc19.armv7hl (build) DEBUG util.py:264: p11-kit-trust = 0.16.4-1.fc19 DEBUG util.py:264: Error: Package: ca-certificates-2012.87-11.fc20.noarch (build) DEBUG util.py:264: Requires: p11-kit >= 0.17.3 DEBUG util.py:264: Installing: p11-kit-0.16.4-1.fc19.armv7hl (build) DEBUG util.py:264: p11-kit = 0.16.4-1.fc19 DEBUG util.py:354: Child return code was: 1 Similar problems with f20 target. I doubt I can do anything about this. If there is something else I should try at this point, please let me know. I will need to update the code for ARM64, though. What is the 64bit equivalent of __arm__ ? __arm64__ or __aarch64__ ? Regards, Stefan
--arch armhfp seems to be the necessary addition to the arm-koji command. I'll take it from here... arm-kojo build f19 --arch armhfp --scratch ~/rpmbuild/SRPMS/libtpms-0.5.1-17.fc16.src.rpm Stefan
libtpms-0.5.2 now uses the correct(ed) check for __aarch64__ and a scratch build of libtpms-0.5.2 has shown that it can be built on aarch64. http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=2463833 Closing this bug now.