Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322423 - dev-perl/Pango: emerging doesn't fail to install with damaged dev-perl/Cairo
Summary: dev-perl/Pango: emerging doesn't fail to install with damaged dev-perl/Cairo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 03:02 UTC by denysonique
Modified: 2010-06-17 15:57 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Pango-1.221-MakeFile.patch (Pango-1.221-MakeFile.patch,338 bytes, patch)
2010-06-05 15:51 UTC, David Abbott (RETIRED)
Details | Diff
Pango-1.221.ebuild.diff (Pango-1.221.ebuild.diff ,349 bytes, text/plain)
2010-06-17 14:39 UTC, David Abbott (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description denysonique 2010-06-02 03:02:43 UTC
When I had a damaged dev-perl/Cairo installation before. emerge dev-perl/Pango would 'install' without any errors when actually failing to install.
Emerge should fail.

Reproducible: Always

Steps to Reproduce:
1.cd /usr/lib/perl5/vendor_perl/5.10.1/i686-linux/
2.mv Cairo.pm Cairo.pm.old
3.emerge dev-perl/Pango

Actual Results:  
spontaneous i686-linux # emerge Pango
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) dev-perl/Pango-1.221
 * Pango-1.221.tar.gz RMD160 SHA1 SHA256 size ;-) ...                    [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  dev-perl/Pango-1.221
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking Pango-1.221.tar.gz to /var/tmp/portage/dev-perl/Pango-1.221/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Pango-1.221/work
>>> Preparing source in /var/tmp/portage/dev-perl/Pango-1.221/work/Pango-1.221 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Pango-1.221/work/Pango-1.221 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Pango-1.221/image/
Pre-requisites not found:
Can't locate Cairo.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.1/i686-linux /usr/lib/perl5/site_perl/5.10.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.10.1/i686-linux /usr/lib/perl5/vendor_perl/5.10.1 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.1/i686-linux /usr/lib/perl5/5.10.1 .) at (eval 17) line 1.
BEGIN failed--compilation aborted at (eval 17) line 1.

Please install them manually.
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Pango-1.221/work/Pango-1.221 ...
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Pango-1.221

>>> Install Pango-1.221 into /var/tmp/portage/dev-perl/Pango-1.221/image/ category dev-perl
>>> Completed installing Pango-1.221 into /var/tmp/portage/dev-perl/Pango-1.221/image/


>>> Installing (1 of 1) dev-perl/Pango-1.221
>>> Auto-cleaning packages...

Expected Results:  
emerged faild: Cairo.pm not found
Comment 1 David Abbott (RETIRED) gentoo-dev 2010-06-05 15:51:20 UTC
Created attachment 234205 [details, diff]
Pango-1.221-MakeFile.patch

mv Cairo.pm Cairo.pm.old

perl Makefile.PL
Pre-requisites not found:
Can't locate Cairo.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.10.1/x86_64-linux /usr/lib64/perl5/site_perl/5.10.1 /usr/lib64/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.10.1/x86_64-linux /usr/lib64/perl5/vendor_perl/5.10.1 /usr/lib64/perl5/vendor_perl /usr/lib64/perl5/5.10.1/x86_64-linux /usr/lib64/perl5/5.10.1 .) at (eval 17) line 1.
BEGIN failed--compilation aborted at (eval 17) line 1.

Please install them manually.

mv Cairo.pm.old Cairo.pm

perl Makefile.PL
Including generated API documentation...
Writing Makefile for Pango
Comment 2 David Abbott (RETIRED) gentoo-dev 2010-06-17 14:39:45 UTC
Created attachment 235721 [details]
Pango-1.221.ebuild.diff

This should work correctly, my last attempt was wrong. Some of the Makefile.PL that the authors are doing all have exit 0 with warnings to install the missing Perl modules.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2010-06-17 15:57:31 UTC
Fixed. Thanks