Skip Menu |

This queue is for tickets about the Parse-RPM-Spec CPAN distribution.

Report information
The Basics
Id: 67464
Status: resolved
Priority: 0/
Queue: Parse-RPM-Spec

People
Owner: DAVECROSS [...] cpan.org
Requestors: mcepl [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Parse::RPM::Spec doesn't install to ~/.cpan/
Date: Thu, 14 Apr 2011 16:58:50 +0200
To: Dave Cross <dave [...] mag-sol.com>
From: Matěj Cepl <mcepl [...] redhat.com>
Run of cpan Parse::RPM::Spec ends with: Running Build install Prepending %BUILDDIR%/Parse-RPM-Spec-0.08-DocHNG/blib/arch %BUILDDIR%/Parse-RPM-Spec-0.08-DocHNG/blib/lib %BUILDDIR%/Module-Build-0.3800-1mqKUv/blib/arch %BUILDDIR%/Module-Build-0.3800-1mqKUv/blib/lib %BUILDDIR%/CPAN-Meta-2.110930-Y2Nm0h/blib/arch %BUILDDIR%/CPAN-Meta-2.110930-Y2Nm0h/blib/lib %BUILDDIR%/Version-Requirements-0.101020-hJnXc4/blib/arch %BUILDDIR%/Version-Requirements-0.101020-hJnXc4/blib/lib %BUILDDIR%/Test-Simple-0.98-nd8Yxx/blib/arch %BUILDDIR%/Test-Simple-0.98-nd8Yxx/blib/lib %BUILDDIR%/Parse-CPAN-Meta-1.4401-WjMfOb/blib/arch %BUILDDIR%/Parse-CPAN-Meta-1.4401-WjMfOb/blib/lib %BUILDDIR%/JSON-PP-2.27105-GT_oN6/blib/arch %BUILDDIR%/JSON-PP-2.27105-GT_oN6/blib/lib %BUILDDIR%/CPAN-Meta-YAML-0.003-OHer0W/blib/arch %BUILDDIR%/CPAN-Meta-YAML-0.003-OHer0W/blib/lib %BUILDDIR%/Module-Metadata-1.000004-8pfJOz/blib/arch %BUILDDIR%/Module-Metadata-1.000004-8pfJOz/blib/lib %BUILDDIR%/version-0.88-Y_z5dX/blib/arch %BUILDDIR%/version-0.88-Y_z5dX/blib/lib to PERL5LIB; %BUILDDIR%=/home/marketa/.cpan/build for 'install' Building Parse-RPM-Spec !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ERROR: Can't create '/usr/local/share/man/man3' Do not have write permissions on '/usr/local/share/man/man3' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! at /home/marketa/.cpan/build/Module-Build-0.3800-1mqKUv/blib/lib/Module/Build/Base.pm line 3569 DAVECROSS/Parse-RPM-Spec-0.08.tar.gz ./Build install -- NOT OK ---- You may have to su to root to install the package (Or you may want to run something like o conf make_install_make_command 'sudo make' to raise your permissions.marketa@maceska:~/rpmbuild$ rchi SPECS/prosody.spec marketa@maceska:~/rpmbuild$ rchi SPECS/prosody.spec Can't locate Parse/RPM/Spec.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /home/marketa/.bin/rchi line 5. BEGIN failed--compilation aborted at /home/marketa/.bin/rchi line 5. Couldn't the installation script just skip over the files it cannot install due to not being a root? Matěj -- http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC Q: Is vi an easy editor to learn, is it intuitive? A: Yes, some of us think so. But most people think that we are crazy. -- vi FAQ
Download smime.p7s
application/pkcs7-signature 5.8k

Message body not shown because it is not plain text.

On Thu Apr 14 11:12:42 2011, mcepl@redhat.com wrote: Show quoted text
> Run of cpan Parse::RPM::Spec ends with:
[ snip ] Show quoted text
> Couldn't the installation script just skip over the files it cannot > install due to not being a root?
Hi Matěj, I'm slightly confused by this. Parse::RPM::Spec doesn't do anything unusual during the installation process. It just uses the standard CPAN tools, so it should work exactly the same way as any other CPAN module. A few things to consider: * Is your CPAN toolchain up to date? * Have you changed the configuration of cpan? * Have you tried the same installation using cpanplus or cpanminus? * Do other CPAN modules install without problems? Let me know the answers to those questions and I'll do what I can to help. Cheers, Dave...
Subject: Re: [rt.cpan.org #67464] Parse::RPM::Spec doesn't install to ~/.cpan/
Date: Thu, 14 Apr 2011 18:29:39 +0200
To: bug-Parse-RPM-Spec [...] rt.cpan.org
From: Matěj Cepl <mcepl [...] redhat.com>
Dne 14.4.2011 17:33, DAVECROSS via RT napsal(a): Show quoted text
> I'm slightly confused by this. Parse::RPM::Spec doesn't do anything > unusual during the installation process. It just uses the standard CPAN > tools, so it should work exactly the same way as any other CPAN module. > > A few things to consider: > > * Is your CPAN toolchain up to date?
Fedora 15, bradford:~# rpm -q perl perl-CPAN perl-5.12.3-156.fc15.x86_64 perl-CPAN-1.9402-156.fc15.noarch Show quoted text
> * Have you changed the configuration of cpan?
No, I did rm -rf ~/.cpan cpan 'Parse::RPM::Spec' Show quoted text
> * Have you tried the same installation using cpanplus or cpanminus?
No, I don't have them per default installed (I am not a great Perl guru). Show quoted text
> * Do other CPAN modules install without problems?
Yes. The problem seems to be in the last step of the installation when it tries to install manpages into /usr/local/share/man3, where (obviously) normal user doesn't have an access. Wouldn't it be possible somehow to soft-fail, so if normal user installs the module in ~/.cpan he would just didn't have manpages (oh well, perldoc still works)? Matěj -- http://www.ceplovi.cz/matej/, Jabber: mcepl<at>ceplovi.cz GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC "Goodbye," said the fox. "And now here is my secret, a very simple secret: It is only with the heart that one can see rightly; what is essential is invisible to the eye." -- Antoine de Saint-Exupery
Download smime.p7s
application/pkcs7-signature 5.8k

Message body not shown because it is not plain text.

Hi, I'm reviewing all of my outstanding tickets before CPAN RT closes down early next year. It's been nine years since you raised this issue and I assume you've long moved on to other things. I can see no evidence of any of the CPAN Testers having similar problems with this module (see http://matrix.cpantesters.org/?dist=Parse-RPM-Spec) so I suspect it was some weird environmental glitch on your system at the time. On that basis, I'm going to close this ticket. If you think it's something that you'd like me to investigate further, then please open a new ticket at https://github.com/davorg/parse-rpm-spec/issues. Cheers, Dave...