Skip Menu |

This queue is for tickets about the Firefox-Marionette CPAN distribution.

Report information
The Basics
Id: 131304
Status: resolved
Priority: 0/
Queue: Firefox-Marionette

People
Owner: Nobody in particular
Requestors: thomas.rappo [...] bluewin.ch
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.90



Subject: failed to install Firefox::Marionette
Date: Mon, 30 Dec 2019 21:34:53 +0100
To: bug-Firefox-Marionette [...] rt.cpan.org
From: Thomas Rappo <thomas.rappo [...] bluewin.ch>
Hello I tried to install Firefox-Marionette-0.89 on Ubuntu 18.04.03 LTS, but it failed. I used the command 'sudo cpanm Firefox::Marionette' Summary of my perl5 (revision 5 version 26 subversion 1) See build.log attached. Recently, I  installed and used Firefox-Marionette on a Windows 10 with Strawberry Perl and it worked just fine! Thomas

Message body is not shown because sender requested not to inline it.

On Tue Dec 31 07:37:08 2019, thomas.rappo@bluewin.ch wrote: Show quoted text
> Hello > > I tried to install Firefox-Marionette-0.89 on Ubuntu 18.04.03 LTS, but > it failed. > I used the command 'sudo cpanm Firefox::Marionette' > Summary of my perl5 (revision 5 version 26 subversion 1) > > See build.log attached. > > Recently, I  installed and used Firefox-Marionette on a Windows 10 with > Strawberry Perl and it worked just fine! > > Thomas > >
Just successfully ran 'sudo cpanm Firefox::Marionette' on a fresh Ubuntu 18.04.03, my build log didn't have all the snap/permission denied references in it. Anything else you can provide?
After i ssh'd to my brand new test vm, i installed the following packages libconfig-ini-perl cpanminus libjson-perl make firefox libcrypt-urandom-perl libfile-homedir-perl and then ran the following commands; tester@tester:~$ sudo cpanm Firefox::Marionette --> Working on Firefox::Marionette Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz ... OK Configuring Firefox-Marionette-0.89 ... N/A ! Configure failed for Firefox-Marionette-0.89. See /home/tester/.cpanm/work/1577755463.11524/build.log for details. tester@tester:~$ cat /home/tester/.cpanm/work/1577755463.11524/build.log cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi Work directory is /home/tester/.cpanm/work/1577755463.11524 You have make /usr/bin/make You have LWP 6.31 You have /bin/tar: tar (GNU tar) 1.29 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Firefox::Marionette () on cpanmetadb ... --> Working on Firefox::Marionette Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz -> OK Unpacking Firefox-Marionette-0.89.tar.gz Entering Firefox-Marionette-0.89 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Firefox-Marionette-0.89 Running Makefile.PL Running Firefox as root in a regular user's session is not supported. ($HOME is /home/tester which is owned by tester.) Mozilla Firefox cannot be discovered in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /usr/share/applications/firefox.desktop:[Desktop Entry] /usr/share/applications/firefox.desktop:Exec=firefox %u /usr/share/applications/firefox.desktop:[Desktop Action new-window] /usr/share/applications/firefox.desktop:Exec=firefox -new-window /usr/share/applications/firefox.desktop:[Desktop Action new-private-window] /usr/share/applications/firefox.desktop:Exec=firefox -private-window -> N/A -> FAIL Configure failed for Firefox-Marionette-0.89. See /home/tester/.cpanm/work/1577755463.11524/build.log for details. which seemed to be caused by the HOME environment variable. Therefore, to eliminate that weirdness; tester@tester:~$ unset HOME and then tester@tester:/home/tester$ sudo cpanm Firefox::Marionette --> Working on Firefox::Marionette Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz ... OK Configuring Firefox-Marionette-0.89 ... OK Building and testing Firefox-Marionette-0.89 ... OK Successfully installed Firefox-Marionette-0.89 1 distribution installed tester@tester:/home/tester$
Subject: Re: [rt.cpan.org #131304] failed to install Firefox::Marionette
Date: Thu, 2 Jan 2020 21:38:19 +0100
To: bug-Firefox-Marionette [...] rt.cpan.org
From: Thomas Rappo <thomas.rappo [...] bluewin.ch>
Hallo David I tied again on an new installation of Ubuntu 18.04.3 but I didn't get the same result as you did. sudo apt-get install cpanminus make sudo cpanm Firefox::Marionette unset HOME sudo cpanm Firefox::Marionette --> see build.log below cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi Work directory is /root/.cpanm/work/1577995308.4931 You have make /usr/bin/make You have LWP 6.31 You have /bin/tar: tar (GNU tar) 1.29 Copyright © 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl.html> Dies ist freie Software: Sie dürfen sie ändern und weiter verbreiten. Es gibt KEINERLEI GARANTIE, so weit das Gesetz es erlaubt. Geschrieben von John Gilmore und Jay Fenlason. You have /usr/bin/unzip Searching Firefox::Marionette () on cpanmetadb ... --> Working on Firefox::Marionette Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz -> OK Unpacking Firefox-Marionette-0.89.tar.gz Entering Firefox-Marionette-0.89 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Firefox-Marionette-0.89 Running Makefile.PL Running Firefox as root in a regular user's session is not supported.  ($XAUTHORITY is /run/user/1000/gdm/Xauthority which is owned by thomas.) Mozilla Firefox cannot be discovered in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin /usr/share/applications/firefox.desktop:[Desktop Entry] /usr/share/applications/firefox.desktop:Exec=firefox %u /usr/share/applications/firefox.desktop:[Desktop Action new-window] /usr/share/applications/firefox.desktop:Exec=firefox -new-window /usr/share/applications/firefox.desktop:[Desktop Action new-private-window] /usr/share/applications/firefox.desktop:Exec=firefox -private-window -> N/A -> FAIL Configure failed for Firefox-Marionette-0.89. See /root/.cpanm/work/1577995308.4931/build.log for details. Am 31.12.2019 um 03:07 schrieb David Dick via RT: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=131304 > > > After i ssh'd to my brand new test vm, i installed the following packages > > libconfig-ini-perl cpanminus libjson-perl make firefox libcrypt-urandom-perl libfile-homedir-perl > > and then ran the following commands; > > tester@tester:~$ sudo cpanm Firefox::Marionette > --> Working on Firefox::Marionette > Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz ... OK > Configuring Firefox-Marionette-0.89 ... N/A > ! Configure failed for Firefox-Marionette-0.89. See /home/tester/.cpanm/work/1577755463.11524/build.log for details. > tester@tester:~$ cat /home/tester/.cpanm/work/1577755463.11524/build.log > cpanm (App::cpanminus) 1.7043 on perl 5.026001 built for x86_64-linux-gnu-thread-multi > Work directory is /home/tester/.cpanm/work/1577755463.11524 > You have make /usr/bin/make > You have LWP 6.31 > You have /bin/tar: tar (GNU tar) 1.29 > Copyright (C) 2015 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. > > Written by John Gilmore and Jay Fenlason. > You have /usr/bin/unzip > Searching Firefox::Marionette () on cpanmetadb ... > --> Working on Firefox::Marionette > Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz > -> OK > Unpacking Firefox-Marionette-0.89.tar.gz > Entering Firefox-Marionette-0.89 > Checking configure dependencies from META.json > Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) > Configuring Firefox-Marionette-0.89 > Running Makefile.PL > Running Firefox as root in a regular user's session is not supported. ($HOME is /home/tester which is owned by tester.) > Mozilla Firefox cannot be discovered in /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin > /usr/share/applications/firefox.desktop:[Desktop Entry] > /usr/share/applications/firefox.desktop:Exec=firefox %u > /usr/share/applications/firefox.desktop:[Desktop Action new-window] > /usr/share/applications/firefox.desktop:Exec=firefox -new-window > /usr/share/applications/firefox.desktop:[Desktop Action new-private-window] > /usr/share/applications/firefox.desktop:Exec=firefox -private-window > -> N/A > -> FAIL Configure failed for Firefox-Marionette-0.89. See /home/tester/.cpanm/work/1577755463.11524/build.log for details. > > > which seemed to be caused by the HOME environment variable. Therefore, to eliminate that weirdness; > > > tester@tester:~$ unset HOME > > and then > > > tester@tester:/home/tester$ sudo cpanm Firefox::Marionette > --> Working on Firefox::Marionette > Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.89.tar.gz ... OK > Configuring Firefox-Marionette-0.89 ... OK > Building and testing Firefox-Marionette-0.89 ... OK > Successfully installed Firefox-Marionette-0.89 > 1 distribution installed > tester@tester:/home/tester$
On Fri Jan 03 07:38:42 2020, thomas.rappo@bluewin.ch wrote: Show quoted text
> Hallo David > I tied again on an new installation of Ubuntu 18.04.3 but I didn't > get > the same result as you did.
it looks like i've replicated your results. I've added a fix of removing the HOME variable during the 'perl Makefile.PL' and inside the t/01-marionette.t test. Can you retry your installation?
Subject: Re: [rt.cpan.org #131304] failed to install Firefox::Marionette
Date: Sat, 18 Jan 2020 22:32:39 +0100
To: bug-Firefox-Marionette [...] rt.cpan.org
From: Thomas Rappo <thomas.rappo [...] bluewin.ch>
Hello David It works! That's the output: cpanm --sudo Firefox::Marionette --> Working on Firefox::Marionette Fetching http://www.cpan.org/authors/id/D/DD/DDICK/Firefox-Marionette-0.90.tar.gz ... OK Configuring Firefox-Marionette-0.90 ... OK Building and testing Firefox-Marionette-0.90 ... OK Successfully installed Firefox-Marionette-0.90 1 distribution installed corresponding build.log is attached Thank you very much! Cool stuff you created, very helpful to me! Thomas Am 18.01.20 um 10:06 schrieb David Dick via RT: Show quoted text
> <URL:https://rt.cpan.org/Ticket/Display.html?id=131304 > > > On Fri Jan 03 07:38:42 2020,thomas.rappo@bluewin.ch wrote:
>> Hallo David >> I tied again on an new installation of Ubuntu 18.04.3 but I didn't >> get >> the same result as you did.
> it looks like i've replicated your results. I've added a fix of removing the HOME variable during the 'perl Makefile.PL' and inside the t/01-marionette.t test. > > Can you retry your installation?

Message body is not shown because sender requested not to inline it.