Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259639 - net-im/psi fails to make install translations
Summary: net-im/psi fails to make install translations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Peter Weller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 20:48 UTC by Non_E
Modified: 2009-02-21 13:16 UTC (History)
2 users (show)

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 Non_E 2009-02-19 20:48:46 UTC
Package net-im/psi tries to install non-existent translations.


Reproducible: Always

Steps to Reproduce:
1.paludis -i net-im/psi::gentoo
2.
3.

Actual Results:  
cp -f ../iconsets/system/default/logo_48.png /var/tmp/paludis/net-im-psi-0.12.1/image//usr/share/icons/hicolor/48x48/apps/psi.png
make[1]: Leaving directory `/var/tmp/paludis/net-im-psi-0.12.1/work/psi-0.12.1/src'
install: cannot stat `psi_en.qm': No such file or directory
/usr/libexec/paludis/utils/doins: doins returned error 2

!!! ERROR in net-im/psi-0.12.1:
!!! In src_install at line 4012
!!! (no message provided)

!!! Call stack:
!!!    * src_install (/var/tmp/paludis/net-im-psi-0.12.1/temp/loadsaveenv:4012)
!!!    * ebuild_f_install (/usr/libexec/paludis/0/src_install.bash:46)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:482)
!!!    * main (/usr/libexec/paludis/ebuild.bash:498)


Suspected culprit:
        # install translations
        cd "${WORKDIR}/${PN}-langs"
        insinto /usr/share/${PN}/
        for LNG in ${LINGUAS}; do
                doins ${PN}_${LNG/ur_PK/ur_pk}.qm || die
        done

Psi supports translations for LANGS (ebuild variable) not LINGUAS (paludis/emerge variable).


My LINGUAS variable contains "en cs"
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2009-02-21 13:16:12 UTC
Interesting, this looks like different behavior of paludis. In portage it works. Ok, I've modified a bit code to make it workable with paludis too (I hope). Fixed.