On 8 Jul 2025, at 09:36, Patrick Dupre <pdupre@xxxxxxx> wrote:
On 8 Jul 2025, at 09:07, Patrick Dupre <pdupre@xxxxxxx> wrote:
Thank Barry,
This what I get
+ cd PDL-Transform-Color-1.010_PD + /usr/bin/make install DESTDIR=/home/pdupre/rpmbuild/BUILD/perl-PDL-Transform-Color-1.010_PD-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Manifying 1 pod document Installing /home/pdupre/rpmbuild/BUILD/perl-PDL-Transform-Color-1.010_PD-build/BUILDROOT/usr/share/perl5/vendor_perl/PDL/Transform/Color.pm Installing /home/pdupre/rpmbuild/BUILD/perl-PDL-Transform-Color-1.010_PD-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:915: install] Error 255 error: Bad exit status from /var/tmp/rpm-tmp.w3c4NF (%install)
How can I have a more verbose output ?
Did you look at man make?
You said force echo each command.
The --debug=jobs and --no-silent look worth trying.
If that does not help then copy the make line and add --dry-run to the first copy. It will output all the commands it wants to run.
My understanding is that the The spec file does this properly (I can reproduce the output by running perl Makefile.PL)%buildperl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1%{make_build}and the problem is with%install%{make_install}
You should be able to add the extra options at the end of the %{make_install} I think. If not replace that line in the spec file with its expanded version (it was in the log output) and add the options where make wants them. %{_fixperms} $RPM_BUILD_ROOT/*
But I am lost, because I do not see which Makefile.PL could be executed. There is only one Makefile.PL
Would be in BUILDROOT/usr/share/perl5/vendor_perl/PDL/Transform/Color.pm ?
I'm not a perl person, and do not know the ins and outs of packaging it.
Barry
Barry
Subject: Re: rpmbuild
On 7 Jul 2025, at 20:44, Patrick Dupre via users <users@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
I guess that it is a perl issue between 5.40 and 5.38 How can I run perl Makefile.PL with a previous version ?
I recommend you debug so you know why the command fails then fix it. If its a make file then add make options to force it to echo each command it will run so you can see what to going wrong.
Barry
|
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-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/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue