bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30671: youtube-viewer fails to start in environment


From: Alex Vong
Subject: bug#30671: youtube-viewer fails to start in environment
Date: Fri, 02 Mar 2018 22:02:44 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

I've just sent the patch to <https://debbugs.gnu.org/30677>.

Alex Vong <address@hidden> writes:

> Hello Ricardo,
>
> I think the issue here is that youtube-viewer (and gtk-youtube-viewer)
> need to load the youtube-viewer module, which is located at
>   (string-append (assoc-ref outputs "out") "/lib/")
>
> By examining the generated wrapper script, I see this path is not hard
> coded into the PERL5LIB env var. So youtube-viewer (and
> gtk-youtube-viewer) cannot find the required module when
> $HOME/.guix-profile/lib/perl5/... is not present.
>
> I will amend the wrap-program phase to fix this.
>
> Thanks for reporting this :)
>
> Ricardo Wurmus <address@hidden> writes:
>
>> This is what I did:
>>
>>   guix environment --ad-hoc youtube-viewer
>>   youtube-viewer
>>
>> This is what happened:
>>
>> Can't locate WWW/YoutubeViewer.pm in @INC (you may need to install
>> the WWW::YoutubeViewer module) (@INC contains:
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/site_perl/5.26.1
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/site_perl
>> /gnu/store/8wvzmp9hqrl7241fip6jcfyf33clb9jr-perl-module-build-0.4220/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/8wvzmp9hqrl7241fip6jcfyf33clb9jr-perl-module-build-0.4220/lib/perl5/site_perl/5.26.1
>> /gnu/store/8wvzmp9hqrl7241fip6jcfyf33clb9jr-perl-module-build-0.4220/lib/perl5/site_perl
>> /gnu/store/rh92v7f6mvypbmlf8101pyq9dwqjl8nw-perl-data-dump-1.22/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/rh92v7f6mvypbmlf8101pyq9dwqjl8nw-perl-data-dump-1.22/lib/perl5/site_perl/5.26.1
>> /gnu/store/rh92v7f6mvypbmlf8101pyq9dwqjl8nw-perl-data-dump-1.22/lib/perl5/site_perl
>> /gnu/store/940gbrbbd2xl4w6slkbkbgfp8z72irak-perl-file-sharedir-1.104/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/940gbrbbd2xl4w6slkbkbgfp8z72irak-perl-file-sharedir-1.104/lib/perl5/site_perl/5.26.1
>> /gnu/store/940gbrbbd2xl4w6slkbkbgfp8z72irak-perl-file-sharedir-1.104/lib/perl5/site_perl
>> /gnu/store/axqzyn76038z7yfsk62ydycv24jh3asq-perl-gtk2-1.24992/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/axqzyn76038z7yfsk62ydycv24jh3asq-perl-gtk2-1.24992/lib/perl5/site_perl/5.26.1
>> /gnu/store/axqzyn76038z7yfsk62ydycv24jh3asq-perl-gtk2-1.24992/lib/perl5/site_perl
>> /gnu/store/373z66x9xd81vlhkfw9g8g13580qamjg-perl-json-2.90/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/373z66x9xd81vlhkfw9g8g13580qamjg-perl-json-2.90/lib/perl5/site_perl/5.26.1
>> /gnu/store/373z66x9xd81vlhkfw9g8g13580qamjg-perl-json-2.90/lib/perl5/site_perl
>> /gnu/store/9jsqivdvnw3s6afms85f2yqcy1jjd7ak-perl-libwww-6.15/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/9jsqivdvnw3s6afms85f2yqcy1jjd7ak-perl-libwww-6.15/lib/perl5/site_perl/5.26.1
>> /gnu/store/9jsqivdvnw3s6afms85f2yqcy1jjd7ak-perl-libwww-6.15/lib/perl5/site_perl
>> /gnu/store/skhmkh5zhfx4sibrw1k7q3zyzn336cnj-perl-lwp-protocol-https-6.06/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/skhmkh5zhfx4sibrw1k7q3zyzn336cnj-perl-lwp-protocol-https-6.06/lib/perl5/site_perl/5.26.1
>> /gnu/store/skhmkh5zhfx4sibrw1k7q3zyzn336cnj-perl-lwp-protocol-https-6.06/lib/perl5/site_perl
>> /gnu/store/xalm2g33mcaxp5rnhy3f6mkil9ffym75-perl-mozilla-ca-20160104/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/xalm2g33mcaxp5rnhy3f6mkil9ffym75-perl-mozilla-ca-20160104/lib/perl5/site_perl/5.26.1
>> /gnu/store/xalm2g33mcaxp5rnhy3f6mkil9ffym75-perl-mozilla-ca-20160104/lib/perl5/site_perl
>> /gnu/store/0acdnj97n8a56inb9mhswx35mjnrh56z-perl-unicode-linebreak-2016.003/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/0acdnj97n8a56inb9mhswx35mjnrh56z-perl-unicode-linebreak-2016.003/lib/perl5/site_perl/5.26.1
>> /gnu/store/0acdnj97n8a56inb9mhswx35mjnrh56z-perl-unicode-linebreak-2016.003/lib/perl5/site_perl
>> /gnu/store/1cywv63hnhs6vqam42l8cdm1vmvhawa6-perl-cpan-meta-2.143240/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/1cywv63hnhs6vqam42l8cdm1vmvhawa6-perl-cpan-meta-2.143240/lib/perl5/site_perl/5.26.1
>> /gnu/store/1cywv63hnhs6vqam42l8cdm1vmvhawa6-perl-cpan-meta-2.143240/lib/perl5/site_perl
>> /gnu/store/r61yv5m52x2rhzrdb430xm5mri8kzgsz-perl-class-inspector-1.31/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/r61yv5m52x2rhzrdb430xm5mri8kzgsz-perl-class-inspector-1.31/lib/perl5/site_perl/5.26.1
>> /gnu/store/r61yv5m52x2rhzrdb430xm5mri8kzgsz-perl-class-inspector-1.31/lib/perl5/site_perl
>> /gnu/store/3h784hlwkcwpq1g7w00pyk4j87la163j-perl-pango-1.227/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/3h784hlwkcwpq1g7w00pyk4j87la163j-perl-pango-1.227/lib/perl5/site_perl/5.26.1
>> /gnu/store/3h784hlwkcwpq1g7w00pyk4j87la163j-perl-pango-1.227/lib/perl5/site_perl
>> /gnu/store/k2lqp93p41xx5xj08m3cc2q6qmizvvn1-perl-json-xs-3.01/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/k2lqp93p41xx5xj08m3cc2q6qmizvvn1-perl-json-xs-3.01/lib/perl5/site_perl/5.26.1
>> /gnu/store/k2lqp93p41xx5xj08m3cc2q6qmizvvn1-perl-json-xs-3.01/lib/perl5/site_perl
>> /gnu/store/7hws1qqb5rslrd0az98k5l5ykc5dlk16-perl-www-robotrules-6.02/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/7hws1qqb5rslrd0az98k5l5ykc5dlk16-perl-www-robotrules-6.02/lib/perl5/site_perl/5.26.1
>> /gnu/store/7hws1qqb5rslrd0az98k5l5ykc5dlk16-perl-www-robotrules-6.02/lib/perl5/site_perl
>> /gnu/store/m9qrl0ivbkq75ynkmd1xyascbrfb2jrq-perl-uri-1.71/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/m9qrl0ivbkq75ynkmd1xyascbrfb2jrq-perl-uri-1.71/lib/perl5/site_perl/5.26.1
>> /gnu/store/m9qrl0ivbkq75ynkmd1xyascbrfb2jrq-perl-uri-1.71/lib/perl5/site_perl
>> /gnu/store/vjm67sblbqzfmmydw7zdfhk3qxzhz5vz-perl-net-http-6.07/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/vjm67sblbqzfmmydw7zdfhk3qxzhz5vz-perl-net-http-6.07/lib/perl5/site_perl/5.26.1
>> /gnu/store/vjm67sblbqzfmmydw7zdfhk3qxzhz5vz-perl-net-http-6.07/lib/perl5/site_perl
>> /gnu/store/qgbwn0mgjfngp3bvqz21r93g814n7i1z-perl-http-negotiate-6.01/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/qgbwn0mgjfngp3bvqz21r93g814n7i1z-perl-http-negotiate-6.01/lib/perl5/site_perl/5.26.1
>> /gnu/store/qgbwn0mgjfngp3bvqz21r93g814n7i1z-perl-http-negotiate-6.01/lib/perl5/site_perl
>> /gnu/store/xqplk9ndq9c6v41sl8kz0z3wprj2xprb-perl-http-message-6.11/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/xqplk9ndq9c6v41sl8kz0z3wprj2xprb-perl-http-message-6.11/lib/perl5/site_perl/5.26.1
>> /gnu/store/xqplk9ndq9c6v41sl8kz0z3wprj2xprb-perl-http-message-6.11/lib/perl5/site_perl
>> /gnu/store/2ariqvbib8v0kxh9xz5lb8igq2yarjza-perl-http-date-6.02/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/2ariqvbib8v0kxh9xz5lb8igq2yarjza-perl-http-date-6.02/lib/perl5/site_perl/5.26.1
>> /gnu/store/2ariqvbib8v0kxh9xz5lb8igq2yarjza-perl-http-date-6.02/lib/perl5/site_perl
>> /gnu/store/3z8c9libq8xhkidwp589llq5if3xp49n-perl-http-daemon-6.01/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/3z8c9libq8xhkidwp589llq5if3xp49n-perl-http-daemon-6.01/lib/perl5/site_perl/5.26.1
>> /gnu/store/3z8c9libq8xhkidwp589llq5if3xp49n-perl-http-daemon-6.01/lib/perl5/site_perl
>> /gnu/store/sp8z8mnai8h800q2p2k1h5wvf9s21lfj-perl-http-cookies-6.04/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/sp8z8mnai8h800q2p2k1h5wvf9s21lfj-perl-http-cookies-6.04/lib/perl5/site_perl/5.26.1
>> /gnu/store/sp8z8mnai8h800q2p2k1h5wvf9s21lfj-perl-http-cookies-6.04/lib/perl5/site_perl
>> /gnu/store/rd2x931dqniz5117iyak7vy868zzbfk5-perl-html-parser-3.72/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/rd2x931dqniz5117iyak7vy868zzbfk5-perl-html-parser-3.72/lib/perl5/site_perl/5.26.1
>> /gnu/store/rd2x931dqniz5117iyak7vy868zzbfk5-perl-html-parser-3.72/lib/perl5/site_perl
>> /gnu/store/s0q9w42b0i2s45rkzip4y5w30b9bq27i-perl-file-listing-6.04/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/s0q9w42b0i2s45rkzip4y5w30b9bq27i-perl-file-listing-6.04/lib/perl5/site_perl/5.26.1
>> /gnu/store/s0q9w42b0i2s45rkzip4y5w30b9bq27i-perl-file-listing-6.04/lib/perl5/site_perl
>> /gnu/store/n031j2lnriqbw3l6qfzyhj0waq2gjavg-perl-encode-locale-1.05/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/n031j2lnriqbw3l6qfzyhj0waq2gjavg-perl-encode-locale-1.05/lib/perl5/site_perl/5.26.1
>> /gnu/store/n031j2lnriqbw3l6qfzyhj0waq2gjavg-perl-encode-locale-1.05/lib/perl5/site_perl
>> /gnu/store/l98jmj4gn4app7rhw7zh33mvvd4xbd6m-perl-io-socket-ssl-2.038/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/l98jmj4gn4app7rhw7zh33mvvd4xbd6m-perl-io-socket-ssl-2.038/lib/perl5/site_perl/5.26.1
>> /gnu/store/l98jmj4gn4app7rhw7zh33mvvd4xbd6m-perl-io-socket-ssl-2.038/lib/perl5/site_perl
>> /gnu/store/f1wizcyfcjk8v2b832bl5b09ghsmfd64-perl-mime-charset-1.012.2/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/f1wizcyfcjk8v2b832bl5b09ghsmfd64-perl-mime-charset-1.012.2/lib/perl5/site_perl/5.26.1
>> /gnu/store/f1wizcyfcjk8v2b832bl5b09ghsmfd64-perl-mime-charset-1.012.2/lib/perl5/site_perl
>> /gnu/store/7cf52b8a5i5a6s7cmny7xyd8qqk6njmh-perl-parse-cpan-meta-2.150010/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/7cf52b8a5i5a6s7cmny7xyd8qqk6njmh-perl-parse-cpan-meta-2.150010/lib/perl5/site_perl/5.26.1
>> /gnu/store/7cf52b8a5i5a6s7cmny7xyd8qqk6njmh-perl-parse-cpan-meta-2.150010/lib/perl5/site_perl
>> /gnu/store/99qlhcvl650m4cv15c347x01w5d08dh8-perl-cpan-meta-yaml-0.018/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/99qlhcvl650m4cv15c347x01w5d08dh8-perl-cpan-meta-yaml-0.018/lib/perl5/site_perl/5.26.1
>> /gnu/store/99qlhcvl650m4cv15c347x01w5d08dh8-perl-cpan-meta-yaml-0.018/lib/perl5/site_perl
>> /gnu/store/xswcxwb86xyfnpy45vh4wh3rxrnzq9am-perl-cpan-meta-requirements-2.140/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/xswcxwb86xyfnpy45vh4wh3rxrnzq9am-perl-cpan-meta-requirements-2.140/lib/perl5/site_perl/5.26.1
>> /gnu/store/xswcxwb86xyfnpy45vh4wh3rxrnzq9am-perl-cpan-meta-requirements-2.140/lib/perl5/site_perl
>> /gnu/store/6lx7cn1l9jhq1d3znb8mj66g2gflyrfc-perl-glib-1.326/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/6lx7cn1l9jhq1d3znb8mj66g2gflyrfc-perl-glib-1.326/lib/perl5/site_perl/5.26.1
>> /gnu/store/6lx7cn1l9jhq1d3znb8mj66g2gflyrfc-perl-glib-1.326/lib/perl5/site_perl
>> /gnu/store/wcg4c2y94gva82zi1fj3mam30b0562x5-perl-cairo-1.106/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/wcg4c2y94gva82zi1fj3mam30b0562x5-perl-cairo-1.106/lib/perl5/site_perl/5.26.1
>> /gnu/store/wcg4c2y94gva82zi1fj3mam30b0562x5-perl-cairo-1.106/lib/perl5/site_perl
>> /gnu/store/7b7p40wb7qgqig0xc6549kdfwl2wvn11-perl-types-serialiser-1.0/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/7b7p40wb7qgqig0xc6549kdfwl2wvn11-perl-types-serialiser-1.0/lib/perl5/site_perl/5.26.1
>> /gnu/store/7b7p40wb7qgqig0xc6549kdfwl2wvn11-perl-types-serialiser-1.0/lib/perl5/site_perl
>> /gnu/store/vcvkdl30zlin0xsqjvmf3hkn0c4qj1d2-perl-common-sense-3.74/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/vcvkdl30zlin0xsqjvmf3hkn0c4qj1d2-perl-common-sense-3.74/lib/perl5/site_perl/5.26.1
>> /gnu/store/vcvkdl30zlin0xsqjvmf3hkn0c4qj1d2-perl-common-sense-3.74/lib/perl5/site_perl
>> /gnu/store/qysggl74s7i35sawwppah1mhbsjxnprf-perl-lwp-mediatypes-6.02/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/qysggl74s7i35sawwppah1mhbsjxnprf-perl-lwp-mediatypes-6.02/lib/perl5/site_perl/5.26.1
>> /gnu/store/qysggl74s7i35sawwppah1mhbsjxnprf-perl-lwp-mediatypes-6.02/lib/perl5/site_perl
>> /gnu/store/lzqcxh09ll4za2zkfrc8r5zb4pb0w1zn-perl-io-html-1.00/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/lzqcxh09ll4za2zkfrc8r5zb4pb0w1zn-perl-io-html-1.00/lib/perl5/site_perl/5.26.1
>> /gnu/store/lzqcxh09ll4za2zkfrc8r5zb4pb0w1zn-perl-io-html-1.00/lib/perl5/site_perl
>> /gnu/store/21qfsxrbqd8jjc5z03awa43byx73jhrr-perl-net-ssleay-1.82/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/21qfsxrbqd8jjc5z03awa43byx73jhrr-perl-net-ssleay-1.82/lib/perl5/site_perl/5.26.1
>> /gnu/store/21qfsxrbqd8jjc5z03awa43byx73jhrr-perl-net-ssleay-1.82/lib/perl5/site_perl
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/site_perl/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/site_perl/5.26.1
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/5.26.1/x86_64-linux-thread-multi
>> /gnu/store/w96mglkim3p2ryb72flhzlsyv618fhk2-perl-5.26.1/lib/perl5/5.26.1)
>> at
>> /gnu/store/fkckkp74dm2angwad146ksxgvhs7xfn0-youtube-viewer-3.3.3/bin/.youtube-viewer-real
>> line 138.
>> BEGIN failed--compilation aborted at
>> /gnu/store/fkckkp74dm2angwad146ksxgvhs7xfn0-youtube-viewer-3.3.3/bin/.youtube-viewer-real
>> line 138.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]