Summary: | app-portage/g-cpan-0.16.4-r1 fails with "Insufficient permissions!" as root | ||
---|---|---|---|
Product: | Portage Development | Reporter: | William Throwe <wtt6> |
Component: | Tools | Assignee: | Portage Tools Team <tools-portage> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | rose |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
William Throwe
2013-04-13 22:26:57 UTC
Looks like this was due to a missing /etc/make.globals symlink. I have the same issue, 'g-cpan -u' fails with: ... Tk-TIFF-0.11/t/test-none.tif ---- Unsatisfied dependencies detected during ---- ---- SREZIC/Tk-TIFF-0.11.tar.gz ---- Devel::CheckLib [build_requires] Ignoring dependencies on modules Devel::CheckLib SREZIC/Tk-TIFF-0.11.tar.gz [configure_requires] -- NOT OK Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/CPAN.pm line 185. root@impala:/root(11)# qlist -Iv g-cpan app-portage/g-cpan-0.16.4-r1 root@impala:/root(12)# ll /etc/make.globals /bin/ls: cannot access /etc/make.globals: No such file or directory What is /etc/make.globals? I don't have it on any system. (In reply to comment #2) > What is /etc/make.globals? I don't have it on any system. It's a symlink to /usr/share/portage/config/make.globals . I suspect its use is discouraged these days since almost everything works fine without it, but a few things (like g-cpan) still use it. I thought, that the files under /usr/share/portage are source automtically. What should I doo, create this link manually? Any side effects are to expected? (In reply to comment #4) > I thought, that the files under /usr/share/portage are source automtically. > What should I doo, create this link manually? Any side effects are to > expected? You may want to create it manually, at least until bug 432992 is fixed. *** Bug 471076 has been marked as a duplicate of this bug. *** But for Bug 471076 it does not help to create the symlink: Tk-TIFF-0.11/t/tk-tiff.t Tk-TIFF-0.11/t/test-none.tif ---- Unsatisfied dependencies detected during ---- ---- SREZIC/Tk-TIFF-0.11.tar.gz ---- Devel::CheckLib [build_requires] Ignoring dependencies on modules Devel::CheckLib SREZIC/Tk-TIFF-0.11.tar.gz [configure_requires] -- NOT OK Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/CPAN.pm line 185. [1]+ Done compare_conf_files root@leopard:/root(3)# ll /etc/make.globals lrwxrwxrwx 1 root root 38 May 23 18:56 /etc/make.globals -> /usr/share/portage/config/make.globals Strange! 'g-cpan -u' fails with: root@leopard:/usr/src(33)# g-cpan -u * OVERLAY: /var/lib/layman/science/perl-gcpan * Couldn't open folder /var/lib/layman/science/perl-gcpan: No such file or directory ... * OVERLAY: /var/lib/cpan/perl-gcpan * OVERLAY: /var/lib/g-octave/perl-gcpan * Couldn't open folder /var/lib/g-octave/perl-gcpan: No such file or directory -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Thu, 23 May 2013 15:53:02 GMT |CPAN: Digest::SHA loaded ok (v5.82) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for /tmp/.cpan/sources/authors/id/S/SC/SCHWIGON/Class-MethodMaker-2.18.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) Class-MethodMaker-2.18/ ... Cv-0.28/tools/testdist.pl Can't locate Test/Exception.pm in @INC (@INC contains: lib inc /root/Txt/Perl /etc/perl /usr/local/lib64/perl5/5.16.3/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.16.3 /usr/lib64/perl5/vendor_perl/5.16.3/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.16.3 /usr/local/lib64/perl5 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.16.3/x86_64-linux-thread-multi /usr/lib64/perl5/5.16.3 .) at (eval 13) line 1. BEGIN failed--compilation aborted at (eval 13) line 1. Checking if your kit is complete... Looks good MakeMaker FATAL: prerequisites not found. Test::Exception not installed Test::Number::Delta not installed Please install these modules first and rerun 'perl Makefile.PL'. ... * Cv already up to date /Checksum for /tmp/.cpan/sources/authors/id/S/SR/SREZIC/Tk-TIFF-0.11.tar.gz ok Tk-TIFF-0.11/ ... Tk-TIFF-0.11/t/test-none.tif ---- Unsatisfied dependencies detected during ---- ---- SREZIC/Tk-TIFF-0.11.tar.gz ---- Devel::CheckLib [build_requires] Ignoring dependencies on modules Devel::CheckLib SREZIC/Tk-TIFF-0.11.tar.gz [configure_requires] -- NOT OK Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/CPAN.pm line 185. The following 'g-cpan -i Tk-TIFF' works: root@leopard:/usr/src(34)# g-cpan -i Tk-TIFF -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Thu, 23 May 2013 15:53:02 GMT * Ebuild already exists for Tk-TIFF (perl-gcpan/Tk-TIFF) Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) perl-gcpan/Tk-TIFF-0.10 from x-cpan * Tk-TIFF-0.10.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... ... >>> Installing (1 of 1) perl-gcpan/Tk-TIFF-0.10 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. The next 'g-cpan -u Tk-TIFF' fails again: root@leopard:/usr/src(35)# g-cpan -u Tk-TIFF -CPAN: Storable loaded ok (v2.39) Reading '/tmp/.cpan/Metadata' Database was generated on Thu, 23 May 2013 15:53:02 GMT |CPAN: Digest::SHA loaded ok (v5.82) CPAN: Compress::Zlib loaded ok (v2.06) Checksum for /tmp/.cpan/sources/authors/id/S/SR/SREZIC/Tk-TIFF-0.11.tar.gz ok CPAN: Archive::Tar loaded ok (v1.90) Tk-TIFF-0.11/ Tk-TIFF-0.11/t/ Tk-TIFF-0.11/imgTIFF.c Tk-TIFF-0.11/Changes Tk-TIFF-0.11/MANIFEST Tk-TIFF-0.11/TIFF.xs Tk-TIFF-0.11/TIFF.pm Tk-TIFF-0.11/Makefile.PL Tk-TIFF-0.11/README Tk-TIFF-0.11/META.yml Tk-TIFF-0.11/META.json Tk-TIFF-0.11/t/test-packbits.tif Tk-TIFF-0.11/t/test-2channel.tif Tk-TIFF-0.11/t/test-lzw.tif Tk-TIFF-0.11/t/test-float.tif Tk-TIFF-0.11/t/tk-tiff.t Tk-TIFF-0.11/t/test-none.tif CPAN: File::Temp loaded ok (v0.22) CPAN: Parse::CPAN::Meta loaded ok (v1.4404) CPAN: CPAN::Meta loaded ok (v2.120921) CPAN: Module::CoreList loaded ok (v2.84) ---- Unsatisfied dependencies detected during ---- ---- SREZIC/Tk-TIFF-0.11.tar.gz ---- Devel::CheckLib [build_requires] Ignoring dependencies on modules Devel::CheckLib SREZIC/Tk-TIFF-0.11.tar.gz [configure_requires] -- NOT OK Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.16.3/Gentoo/CPAN.pm line 185. Any news? (In reply to Juergen Rose from comment #9) > Any news? Almost one year later I still have the same issue. Do we not have any possibility to fix g-cpan? (In reply to Juergen Rose from comment #10) > (In reply to Juergen Rose from comment #9) > > Any news? > > Almost one year later I still have the same issue. Do we not have any > possibility to fix g-cpan? And now the same error with g-cpan-0.16.5. 'g-cpan -i Math-GSL' fails with: ... Math-GSL-0.32/xt Math-GSL-0.32/xt/01-portability-files.t CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4409) CPAN: CPAN::Meta loaded ok (v2.132510) CPAN: Module::CoreList loaded ok (v3.03) Use of uninitialized value in pattern match (m//) at /usr/lib64/perl5/5.18.2/CPAN/Distribution.pm line 2685. ---- Unsatisfied dependencies detected during ---- ---- AMBS/Math/Math-GSL-0.32.tar.gz ---- PkgConfig [build_requires] Ignoring dependencies on modules PkgConfig AMBS/Math/Math-GSL-0.32.tar.gz [configure_requires] -- NOT OK Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.18.2/Gentoo/CPAN.pm line 185. (In reply to Juergen Rose from comment #11) > (In reply to Juergen Rose from comment #10) > > (In reply to Juergen Rose from comment #9) > > > Any news? > > > > Almost one year later I still have the same issue. Do we not have any > > possibility to fix g-cpan? > > And now the same error with g-cpan-0.16.5. 'g-cpan -i Math-GSL' fails with: > > ... > Math-GSL-0.32/xt > Math-GSL-0.32/xt/01-portability-files.t > CPAN: File::Temp loaded ok (v0.2304) > CPAN: Parse::CPAN::Meta loaded ok (v1.4409) > CPAN: CPAN::Meta loaded ok (v2.132510) > CPAN: Module::CoreList loaded ok (v3.03) > Use of uninitialized value in pattern match (m//) at > /usr/lib64/perl5/5.18.2/CPAN/Distribution.pm line 2685. > ---- Unsatisfied dependencies detected during ---- > ---- AMBS/Math/Math-GSL-0.32.tar.gz ---- > PkgConfig [build_requires] > Ignoring dependencies on modules PkgConfig > AMBS/Math/Math-GSL-0.32.tar.gz > [configure_requires] -- NOT OK > Insufficient permissions! at > /usr/lib64/perl5/vendor_perl/5.18.2/Gentoo/CPAN.pm line 185. And the symlink is set: root@caiman:/var/lib/cpan/perl-gcpan(98)# ll /etc/make.globals lrwxrwxrwx 1 root root 38 Jun 19 2013 /etc/make.globals -> /usr/share/portage/config/make.globals Please reopen this bug. And the same with Tk-TIFF: root@caiman:/var/lib/cpan/perl-gcpan(100)# g-cpan -i Tk-TIFF Use of uninitialized value $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. Use of uninitialized value $_[1] in read at /usr/lib64/perl5/5.18.2/x86_64-linux-thread-multi/IO/Handle.pm line 463. ... CPAN: Compress::Zlib loaded ok (v2.06) Checksum for /tmp/.cpan/sources/authors/id/S/SR/SREZIC/Tk-TIFF-0.11.tar.gz ok CPAN: Archive::Tar loaded ok (v1.92) Tk-TIFF-0.11/ Tk-TIFF-0.11/t/ Tk-TIFF-0.11/imgTIFF.c Tk-TIFF-0.11/Changes Tk-TIFF-0.11/MANIFEST Tk-TIFF-0.11/TIFF.xs Tk-TIFF-0.11/TIFF.pm Tk-TIFF-0.11/Makefile.PL Tk-TIFF-0.11/README Tk-TIFF-0.11/META.yml Tk-TIFF-0.11/META.json Tk-TIFF-0.11/t/test-packbits.tif Tk-TIFF-0.11/t/test-2channel.tif Tk-TIFF-0.11/t/test-lzw.tif Tk-TIFF-0.11/t/test-float.tif Tk-TIFF-0.11/t/tk-tiff.t Tk-TIFF-0.11/t/test-none.tif CPAN: File::Temp loaded ok (v0.2304) CPAN: Parse::CPAN::Meta loaded ok (v1.4409) CPAN: CPAN::Meta loaded ok (v2.132510) CPAN: Module::CoreList loaded ok (v3.03) ---- Unsatisfied dependencies detected during ---- ---- SREZIC/Tk-TIFF-0.11.tar.gz ---- Devel::CheckLib [build_requires] Ignoring dependencies on modules Devel::CheckLib SREZIC/Tk-TIFF-0.11.tar.gz [configure_requires] -- NOT OK Insufficient permissions! at /usr/lib64/perl5/vendor_perl/5.18.2/Gentoo/CPAN.pm line 185. |