Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 297204

Summary: >=app-pda/coldsync-3.0_pre4 installs Perl modules into site-dir (should go in vendor-dir)
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo PDA project <pda>
Status: RESOLVED FIXED    
Severity: normal CC: perl
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 280728    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-16 18:01:42 UTC
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.8/ColdSync.pm
/usr/lib/perl5/site_perl/5.8.8/ColdSync
/usr/lib/perl5/site_perl/5.8.8/ColdSync/PDB.pm
/usr/lib/perl5/site_perl/5.8.8/ColdSync/SPC
/usr/lib/perl5/site_perl/5.8.8/ColdSync/SPC/VFS.pm
/usr/lib/perl5/site_perl/5.8.8/ColdSync/SPC/ExpSlot.pm
/usr/lib/perl5/site_perl/5.8.8/ColdSync/SPC.pm
/usr/lib/perl5/site_perl/5.8.8/i686-linux
/usr/lib/perl5/site_perl/5.8.8/i686-linux/auto
/usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/ColdSync
/usr/lib/perl5/site_perl/5.8.8/i686-linux/auto/ColdSync/.packlist
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2011-03-09 18:48:07 UTC
Please ask, if you want help to fix the installation path.

If the sitedir problem isn't fixed when we add perl-5.14, we will mask the package.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-03-29 02:54:42 UTC
(In reply to comment #1)
> Please ask, if you want help to fix the installation path.
> 
> If the sitedir problem isn't fixed when we add perl-5.14, we will mask the
> package.

Just do it (fix the package I mean).  PDA is really understaffed.
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2011-03-29 06:19:43 UTC
(In reply to comment #2)
> Just do it (fix the package I mean).  PDA is really understaffed.

I would have committed the following to the ebuilds, ...

| sed -i -e '/INSTALLDIRS/ s/site/vendor/' perl/ColdSync/Makefile.PL || die

...which works for coldsync-3* but coldsync-2* prints some errors, does install no perl modules and no files to 'bin/'. Either it's broken or it doesn't work on amd64.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-03-31 05:54:54 UTC
I've fixed all known issues for 2.2.5-r1.   

I haven't touched 3.0_pre4 yet, but I will look at it today too.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-04-09 13:46:31 UTC
Fixed for 3.0_pre4 also, used perl-module.eclass again and skipped the package's own crappy way of calling it