INFO: mock.py version 2.0 starting (python version = 3.8.2)... Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled … Installed size: 278 M Downloading Packages: 407 kB/s | 57 kB 00:00 (149/151): perl-overloading-0.02-451.fc33.noarch.rpm 174 kB/s | 24 kB 00:00 (150/151): perl-vars-1.05-451.fc33.noarch.rpm 172 kB/s | 24 kB 00:00 (151/151): perl-libs-5.30.1-451.fc33.x86_64.rpm 2.4 MB/s | 2.0 MB 00:00 … /usr/bin/perl: bad interpreter: No such file or directory
If your package needs the perl interpreter to build, it should BuildRequires: perl-interpreter https://fedoraproject.org/wiki/Packaging:Perl#Build_Dependencies
The package explicitly installs a bunch of perl packages. What use are those without an interpreter?
Perl modules can be used with an embedded perl via libperl.so and so don't need /usr/bin/perl. Existing packages should have been fixed to support this arrangement as part of: https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules That was a change for Fedora 27. Is this a new package you're working on?
No, that‘s a package that builds in F32, built in F33 a few days ago, but does not build today in F33 without a perl-interpreter BuildRequires
It'll have started failing to build as a result of this change: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org/thread/UWJBPOBKLN6JD74AKQKZDOUO2DGUFL4H/ The fix is to BR: perl-interpreter as per the guidelines.
This is an expected behavior. If your spec file executes /usr/bin/perl, build-require perl-interpreter RPM package. Please follow the packaging guidelines.