Python Build Error/ First time trying to build

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Python Build Error/ First time trying to build

Brian Shreve
I was hoping to get some advice of how to fix this.  This is my first time ever doing anything like this and I am new to programming, so bear with me.
Here is the error I am getting:

The error occurred while processing the following file:
      c:/Users/bshre/mozilla-source/mozilla-central/testing/web-platform/moz.build
  The error was triggered on line 9 of this file:
      ('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
  An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
 The error as reported by Python is:
      ['ValueError: No JSON object could be decoded\n']
  *** Fix above errors and then restart with\
                 "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
  c:/Users/bshre/mozilla-source/mozilla-central/client.mk:379: recipe for target 'configure' failed
  mozmake.EXE[2]: *** [configure] Error 1
  c:/Users/bshre/mozilla-source/mozilla-central/client.mk:396: recipe for target 'c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile' failed
  mozmake.EXE[1]: *** [c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile] Error 2
  client.mk:170: recipe for target 'build' failed
  mozmake.EXE: *** [build] Error 2
  0 compiler warnings present.

I made no config changes, just used the default.  I have already fixed one error, but really can't find much info on this one. Someone please help!!!!
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Python Build Error/ First time trying to build

L. David Baron
In addition to describing the error you're seeing, it may also help
if you describe what you did that led to that error (such as what
instructions you followed or what commands you used).

-David

On Friday 2017-07-21 17:16 -0700, Brian Shreve wrote:

> I was hoping to get some advice of how to fix this.  This is my first time ever doing anything like this and I am new to programming, so bear with me.
> Here is the error I am getting:
>
> The error occurred while processing the following file:
>       c:/Users/bshre/mozilla-source/mozilla-central/testing/web-platform/moz.build
>   The error was triggered on line 9 of this file:
>       ('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
>   An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
>  The error as reported by Python is:
>       ['ValueError: No JSON object could be decoded\n']
>   *** Fix above errors and then restart with\
>                  "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
>   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:379: recipe for target 'configure' failed
>   mozmake.EXE[2]: *** [configure] Error 1
>   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:396: recipe for target 'c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile' failed
>   mozmake.EXE[1]: *** [c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile] Error 2
>   client.mk:170: recipe for target 'build' failed
>   mozmake.EXE: *** [build] Error 2
>   0 compiler warnings present.
>
> I made no config changes, just used the default.  I have already fixed one error, but really can't find much info on this one. Someone please help!!!!
--
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds

signature.asc (817 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Python Build Error/ First time trying to build

Brian Shreve
In reply to this post by Brian Shreve
Thanks for responding. I am doing this on a Surface Pro, Windows 10 Pro, 64 bit.
I already had Visual Studio 2015 update 3, so I used this, and downloaded the Cumulative Service Release.  I then downloaded Rust and the Mozilla/Build Package. I the opened the start-shell-msvc2015.bat.  Added the line PATH=$PATH:~/.cargo/bin to my bash profile. I then made the dir with mkdir mozilla-source
then went to dir.
cd mozilla-source. After this I ran: hg clone https://hg.mozilla.org/mozilla-central to clone the repository.  I had a couple issues but got that done.
Once that finished I went to the mozilla-central dir and ran mach build.  I first received an error(rust PATH was wrong) that I fixed.  Then I ran mach build again and received this error.  I hope this helps.  
On Friday, July 21, 2017 at 8:46:47 PM UTC-4, L. David Baron wrote:

> In addition to describing the error you're seeing, it may also help
> if you describe what you did that led to that error (such as what
> instructions you followed or what commands you used).
>
> -David
>
> On Friday 2017-07-21 17:16 -0700, Brian Shreve wrote:
> > I was hoping to get some advice of how to fix this.  This is my first time ever doing anything like this and I am new to programming, so bear with me.
> > Here is the error I am getting:
> >
> > The error occurred while processing the following file:
> >       c:/Users/bshre/mozilla-source/mozilla-central/testing/web-platform/moz.build
> >   The error was triggered on line 9 of this file:
> >       ('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
> >   An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
> >  The error as reported by Python is:
> >       ['ValueError: No JSON object could be decoded\n']
> >   *** Fix above errors and then restart with\
> >                  "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
> >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:379: recipe for target 'configure' failed
> >   mozmake.EXE[2]: *** [configure] Error 1
> >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:396: recipe for target 'c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile' failed
> >   mozmake.EXE[1]: *** [c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile] Error 2
> >   client.mk:170: recipe for target 'build' failed
> >   mozmake.EXE: *** [build] Error 2
> >   0 compiler warnings present.
> >
> > I made no config changes, just used the default.  I have already fixed one error, but really can't find much info on this one. Someone please help!!!!
>
> --
> 𝄞   L. David Baron                         http://dbaron.org/   𝄂
> 𝄢   Mozilla                          https://www.mozilla.org/   𝄂
>              Before I built a wall I'd ask to know
>              What I was walling in or walling out,
>              And to whom I was like to give offense.
>                - Robert Frost, Mending Wall (1914)

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Python Build Error/ First time trying to build

Gregory Szorc-3
That error shouldn't occur if the repository and your checkout is in a good state. Maybe do an `hg pull` and `hg up` and try again. And verify `hg status` says no files are missing.

On Fri, Jul 21, 2017 at 6:46 PM, Brian Shreve <[hidden email]> wrote:
Thanks for responding. I am doing this on a Surface Pro, Windows 10 Pro, 64 bit.
I already had Visual Studio 2015 update 3, so I used this, and downloaded the Cumulative Service Release.  I then downloaded Rust and the Mozilla/Build Package. I the opened the start-shell-msvc2015.bat.  Added the line PATH=$PATH:~/.cargo/bin to my bash profile. I then made the dir with mkdir mozilla-source
then went to dir.
cd mozilla-source. After this I ran: hg clone https://hg.mozilla.org/mozilla-central to clone the repository.  I had a couple issues but got that done.
Once that finished I went to the mozilla-central dir and ran mach build.  I first received an error(rust PATH was wrong) that I fixed.  Then I ran mach build again and received this error.  I hope this helps.
On Friday, July 21, 2017 at 8:46:47 PM UTC-4, L. David Baron wrote:
> In addition to describing the error you're seeing, it may also help
> if you describe what you did that led to that error (such as what
> instructions you followed or what commands you used).
>
> -David
>
> On Friday 2017-07-21 17:16 -0700, Brian Shreve wrote:
> > I was hoping to get some advice of how to fix this.  This is my first time ever doing anything like this and I am new to programming, so bear with me.
> > Here is the error I am getting:
> >
> > The error occurred while processing the following file:
> >       c:/Users/bshre/mozilla-source/mozilla-central/testing/web-platform/moz.build
> >   The error was triggered on line 9 of this file:
> >       ('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
> >   An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
> >  The error as reported by Python is:
> >       ['ValueError: No JSON object could be decoded\n']
> >   *** Fix above errors and then restart with\
> >                  "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
> >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:379: recipe for target 'configure' failed
> >   mozmake.EXE[2]: *** [configure] Error 1
> >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:396: recipe for target 'c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile' failed
> >   mozmake.EXE[1]: *** [c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile] Error 2
> >   client.mk:170: recipe for target 'build' failed
> >   mozmake.EXE: *** [build] Error 2
> >   0 compiler warnings present.
> >
> > I made no config changes, just used the default.  I have already fixed one error, but really can't find much info on this one. Someone please help!!!!
>
> --
> 𝄞   L. David Baron                         http://dbaron.org/   𝄂
> 𝄢   Mozilla                          https://www.mozilla.org/   𝄂
>              Before I built a wall I'd ask to know
>              What I was walling in or walling out,
>              And to whom I was like to give offense.
>                - Robert Frost, Mending Wall (1914)

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Python Build Error/ First time trying to build

Brian Shreve
In reply to this post by Brian Shreve
Ok, it is building right now.  It got past the part where I was receiving the error.  We will see if it finishes. When I did hg pull, it updated some files it looks like.  I just cloned this respository yesterday, can you explain why it still needed to do that? Thank you so much for your help.  I am sure I will be back, since I am new at this.
On Friday, July 21, 2017 at 11:49:44 PM UTC-4, Gregory Szorc wrote:

> That error shouldn't occur if the repository and your checkout is in a good state. Maybe do an `hg pull` and `hg up` and try again. And verify `hg status` says no files are missing.
>
>
>
> On Fri, Jul 21, 2017 at 6:46 PM, Brian Shreve <[hidden email]> wrote:
> Thanks for responding. I am doing this on a Surface Pro, Windows 10 Pro, 64 bit.
>
> I already had Visual Studio 2015 update 3, so I used this, and downloaded the Cumulative Service Release.  I then downloaded Rust and the Mozilla/Build Package. I the opened the start-shell-msvc2015.bat.  Added the line PATH=$PATH:~/.cargo/bin to my bash profile. I then made the dir with mkdir mozilla-source
>
> then went to dir.
>
> cd mozilla-source. After this I ran: hg clone https://hg.mozilla.org/mozilla-central to clone the repository.  I had a couple issues but got that done.
>
> Once that finished I went to the mozilla-central dir and ran mach build.  I first received an error(rust PATH was wrong) that I fixed.  Then I ran mach build again and received this error.  I hope this helps.
>
> On Friday, July 21, 2017 at 8:46:47 PM UTC-4, L. David Baron wrote:
>
> > In addition to describing the error you're seeing, it may also help
>
> > if you describe what you did that led to that error (such as what
>
> > instructions you followed or what commands you used).
>
> >
>
> > -David
>
> >
>
> > On Friday 2017-07-21 17:16 -0700, Brian Shreve wrote:
>
> > > I was hoping to get some advice of how to fix this.  This is my first time ever doing anything like this and I am new to programming, so bear with me.
>
> > > Here is the error I am getting:
>
> > >
>
> > > The error occurred while processing the following file:
>
> > >       c:/Users/bshre/mozilla-source/mozilla-central/testing/web-platform/moz.build
>
> > >   The error was triggered on line 9 of this file:
>
> > >       ('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
>
> > >   An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
>
> > >  The error as reported by Python is:
>
> > >       ['ValueError: No JSON object could be decoded\n']
>
> > >   *** Fix above errors and then restart with\
>
> > >                  "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
>
> > >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:379: recipe for target 'configure' failed
>
> > >   mozmake.EXE[2]: *** [configure] Error 1
>
> > >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:396: recipe for target 'c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile' failed
>
> > >   mozmake.EXE[1]: *** [c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile] Error 2
>
> > >   client.mk:170: recipe for target 'build' failed
>
> > >   mozmake.EXE: *** [build] Error 2
>
> > >   0 compiler warnings present.
>
> > >
>
> > > I made no config changes, just used the default.  I have already fixed one error, but really can't find much info on this one. Someone please help!!!!
>
> >
>
> > --
>
> > 𝄞   L. David Baron                         http://dbaron.org/   𝄂
>
> > 𝄢   Mozilla                          https://www.mozilla.org/   𝄂
>
> >              Before I built a wall I'd ask to know
>
> >              What I was walling in or walling out,
>
> >              And to whom I was like to give offense.
>
> >                - Robert Frost, Mending Wall (1914)
>
>
>
>
>
> _______________________________________________
>
> dev-builds mailing list
>
> [hidden email]
>
> https://lists.mozilla.org/listinfo/dev-builds

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Python Build Error/ First time trying to build

Gregory Szorc-3
There are typically a few hundred commits to Firefox every day. Chances are an `hg pull` + `hg update` will pick up something new every time you do it.

On Sat, Jul 22, 2017 at 6:59 AM, Brian Shreve <[hidden email]> wrote:
Ok, it is building right now.  It got past the part where I was receiving the error.  We will see if it finishes. When I did hg pull, it updated some files it looks like.  I just cloned this respository yesterday, can you explain why it still needed to do that? Thank you so much for your help.  I am sure I will be back, since I am new at this.
On Friday, July 21, 2017 at 11:49:44 PM UTC-4, Gregory Szorc wrote:
> That error shouldn't occur if the repository and your checkout is in a good state. Maybe do an `hg pull` and `hg up` and try again. And verify `hg status` says no files are missing.
>
>
>
> On Fri, Jul 21, 2017 at 6:46 PM, Brian Shreve <[hidden email]> wrote:
> Thanks for responding. I am doing this on a Surface Pro, Windows 10 Pro, 64 bit.
>
> I already had Visual Studio 2015 update 3, so I used this, and downloaded the Cumulative Service Release.  I then downloaded Rust and the Mozilla/Build Package. I the opened the start-shell-msvc2015.bat.  Added the line PATH=$PATH:~/.cargo/bin to my bash profile. I then made the dir with mkdir mozilla-source
>
> then went to dir.
>
> cd mozilla-source. After this I ran: hg clone https://hg.mozilla.org/mozilla-central to clone the repository.  I had a couple issues but got that done.
>
> Once that finished I went to the mozilla-central dir and ran mach build.  I first received an error(rust PATH was wrong) that I fixed.  Then I ran mach build again and received this error.  I hope this helps.
>
> On Friday, July 21, 2017 at 8:46:47 PM UTC-4, L. David Baron wrote:
>
> > In addition to describing the error you're seeing, it may also help
>
> > if you describe what you did that led to that error (such as what
>
> > instructions you followed or what commands you used).
>
> >
>
> > -David
>
> >
>
> > On Friday 2017-07-21 17:16 -0700, Brian Shreve wrote:
>
> > > I was hoping to get some advice of how to fix this.  This is my first time ever doing anything like this and I am new to programming, so bear with me.
>
> > > Here is the error I am getting:
>
> > >
>
> > > The error occurred while processing the following file:
>
> > >       c:/Users/bshre/mozilla-source/mozilla-central/testing/web-platform/moz.build
>
> > >   The error was triggered on line 9 of this file:
>
> > >       ('mozilla/meta/MANIFEST.json', 'mozilla/tests/')
>
> > >   An error was encountered as part of executing the file itself. The error appears to be the fault of the script.
>
> > >  The error as reported by Python is:
>
> > >       ['ValueError: No JSON object could be decoded\n']
>
> > >   *** Fix above errors and then restart with\
>
> > >                  "c:/mozilla-build/mozmake/mozmake.EXE -f client.mk build"
>
> > >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:379: recipe for target 'configure' failed
>
> > >   mozmake.EXE[2]: *** [configure] Error 1
>
> > >   c:/Users/bshre/mozilla-source/mozilla-central/client.mk:396: recipe for target 'c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile' failed
>
> > >   mozmake.EXE[1]: *** [c:/Users/bshre/mozilla-source/mozilla-central/obj-i686-pc-mingw32/Makefile] Error 2
>
> > >   client.mk:170: recipe for target 'build' failed
>
> > >   mozmake.EXE: *** [build] Error 2
>
> > >   0 compiler warnings present.
>
> > >
>
> > > I made no config changes, just used the default.  I have already fixed one error, but really can't find much info on this one. Someone please help!!!!
>
> >
>
> > --
>
> > 𝄞   L. David Baron                         http://dbaron.org/   𝄂
>
> > 𝄢   Mozilla                          https://www.mozilla.org/   𝄂
>
> >              Before I built a wall I'd ask to know
>
> >              What I was walling in or walling out,
>
> >              And to whom I was like to give offense.
>
> >                - Robert Frost, Mending Wall (1914)
>
>
>
>
>
> _______________________________________________
>
> dev-builds mailing list
>
> [hidden email]
>
> https://lists.mozilla.org/listinfo/dev-builds

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds