> Subject: rpmbuild > > Hello, > > Trying to build a rpm package from PDL-Graphics-ColorSpace-0.206.tar.gz > > rpmbuild -bb perl-PDL-Transform-Color.spec > I got an error message: > > > + cd PDL-Transform-Color-1.010 > + /usr/bin/make install > DESTDIR=/home/pdupre/rpmbuild/BUILD/perl-PDL-Transform-Color-1.010-build/BUILDROOT > 'INSTALL=/usr/bin/install -p' > Manifying 1 pod document > Installing > /home/pdupre/rpmbuild/BUILD/perl-PDL-Transform-Color-1.010-build/BUILDROOT/usr/share/perl5/vendor_perl/PDL/Transform/Color.pm > Installing > /home/pdupre/rpmbuild/BUILD/perl-PDL-Transform-Color-1.010-build/BUILDROOT/usr/share/man/man3/PDL::Transform::Color.3pm > Updating PDL documentation database... > Regexp modifiers "/d" and "/u" are mutually exclusive at -e line 1, at end of > line > Unknown regexp modifier "/r" at -e line 1, at end of line > Unknown regexp modifier "/e" at -e line 1, at end of line > syntax error at -e line 1, near "/." > Execution of -e aborted due to compilation errors. > make: *** [Makefile:914: install] Error 255 > error: Bad exit status from /var/tmp/rpm-tmp.cE5EyC (%install) > > RPM build errors: > Bad exit status from /var/tmp/rpm-tmp.cE5EyC (%install) > > > Some idea? > > Thank. > I wish to add that the same command on fedora 42 works fine Comparing the 2 Makefile generated by perl, I noted some differences, and particularly (the "<" is for that associated with fc42, ">" is associated with fc40)
< $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e '$$i=0; $$n=$$#ARGV; $$i++ until $$i > $$n or $$ARGV[$$i] eq q{--};' \ < -e 'die q{Failed to find -- in }.join(q{|},@ARGV) if $$i > $$n;' \ < -e '@parts=splice @ARGV,0,$$i+1;' \ < -e 'pop @parts; $$filter=join q{ }, map qq{"$$_"}, @parts;' \ < -e 'pm_to_blib({@ARGV}, '\''$(INST_LIB)/auto'\'', $$filter, '\''$(PERM_DIR)'\'')' -- $(PM_FILTER) -- \ --- > $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e 'pm_to_blib({@ARGV}, > '\''$(INST_LIB)/auto'\'', q[$(PM_FILTER)], '\''$(PERM_DIR)'\'')' -- \ -- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue