From: Alex Vong <alexvong1995@gmail.com>
To: Ricardo Wurmus <rekado@elephly.net>
Cc: alexvong1995@gmail.com, 30671@debbugs.gnu.org
Subject: bug#30671: youtube-viewer fails to start in environment
Date: Fri, 02 Mar 2018 22:02:44 +0800 [thread overview]
Message-ID: <87sh9ik22j.fsf@gmail.com> (raw)
In-Reply-To: <871sh2ljuh.fsf@gmail.com> (Alex Vong's message of "Fri, 02 Mar 2018 20:53:26 +0800")
[-- Attachment #1: Type: text/plain, Size: 12980 bytes --]
I've just sent the patch to <https://debbugs.gnu.org/30677>.
Alex Vong <alexvong1995@gmail.com> 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 <rekado@elephly.net> 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2018-03-02 14:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 20:05 bug#30671: youtube-viewer fails to start in environment Ricardo Wurmus
2018-03-02 12:53 ` Alex Vong
2018-03-02 14:02 ` Alex Vong [this message]
2018-09-05 13:36 ` Alex Vong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sh9ik22j.fsf@gmail.com \
--to=alexvong1995@gmail.com \
--cc=30671@debbugs.gnu.org \
--cc=rekado@elephly.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.