Re: %{python3} no defined in epel-7-aarch64?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04. 01. 21 18:38, José Abílio Matos wrote:
I have used copr to build the first alpha release of lyx-2.4:

https://copr.fedorainfracloud.org/coprs/jamatos/lyx-devel/build/1858028/ <https://copr.fedorainfracloud.org/coprs/jamatos/lyx-devel/build/1858028/>


For EPEL7 it build for x86_64 and it fails for aarch64, due to %{python3} not being defined.



The spec file has BR: python3-devel.


In the install stage I have this:


%py_byte_compile %{python3} %{buildroot}%{_datadir}/%{name}/lyx2lyx



This fails in epel-7-aarch64...


Is this known?

Yes. The macro was added to EPEL 7 only after aarch64 was discontinued there:

https://lists.fedoraproject.org/archives/list/epel-announce@xxxxxxxxxxxxxxxxxxxxxxx/thread/YVLZGTBBW2M3GMXHLIA2QMKENBEGPEJY/

No easy way to solve this except to stop building for aarch64 on EPEL 7. You could use the %__python3 macro instead to workaround this particular problem, but you will most likely hit another one later.


I wonder whether Copr should disable EPEL 7 aarch64 chroots or at least put a big red sign next to them.

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux