Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40526 - silc-client does not save perl modules in correct directory
Summary: silc-client does not save perl modules in correct directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 40601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-05 14:04 UTC by Dennis
Modified: 2004-02-29 02:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis 2004-02-05 14:04:38 UTC
when I do a emerge silc-client i get at the very end of the install:
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/Irssi.so
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/Irssi.bs
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/.packlist
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/UI/
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/UI/UI.so
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/UI/UI.bs
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/UI/.packlist
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/TextUI/
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/TextUI/TextUI.so
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/TextUI/TextUI.bs
>>> /var/tmp/portage/silc-client-1.0.1/image/usr/lib/perl5/site_perl/5.8.2/i486-linux/auto/Irssi/TextUI/.packlist

so, as seen above the files are saved in the wrong directory

to fix the problem I changed the perl part of the ebuild to:
    if [ "`use perl`" ]
    then
        R1="s/installsitearch='//"
        R2="s/';//"
        perl_sitearch="`perl -V:installsitearch | sed -e ${R1} -e ${R2}`"
        myflags="${myflags} INSTALLPRIVLIB=/usr/lib"
        myflags="${myflags} INSTALLARCHLIB=${perl_sitearch}"
        myflags="${myflags} INSTALLSITELIB=${perl_sitearch}"
        myflags="${myflags} INSTALLSITEARCH=${perl_sitearch}"
    fi

and that fixed it

Reproducible: Always
Steps to Reproduce:
1. emerge silc-client
2.
3.

Actual Results:  
silc-client ebuild puts Irssi.so and friends into the wrong directory
Comment 1 SpanKY gentoo-dev 2004-02-06 06:56:07 UTC
*** Bug 40601 has been marked as a duplicate of this bug. ***
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-02-29 02:49:00 UTC
It appears that there was a bug submitted in parallel with this that addressed the same issue and resolved it (in exactly the same manner). Short of it is, the fix is in portage :)