On Tue, 31 Oct 2017 16:18:12 +0000
Ken Moffat <[email protected]> wrote:

> From: Gunner Hooper <[email protected]>
> To: Ken Moffat <[email protected]>
> Subject: Re: [blfs-support] TypeError: %d format: a number is required, not 
> float when building
>       Firefox 52.4.1esr
> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 
> Thunderbird/52.4.0
> X-Clacks-Overhead: GNU Terry Pratchett
> 
> I got this error after building Firefox 51.0.1:
>.
>.
> make[3]: *** [/root/sources/firefox-51.0.1/config/recurse.mk:33: compile]
> Error 2


Isn't there supposed to be a more specific error that happened prior to
to this one?

> When I build Firefox 52.4.1 with all of the updated Python files in
> toolkit/components/telemetry, I get this error:
> 
> /root/sources/firefox-52.4.1esr/toolkit/components/telemetry/moz.build
> 
> The error was triggered on line 105 of this file:
> 
>     PYTHON_UNITTEST_MANIFESTS += [
> 
> The underlying problem is an attempt to read a reserved UPPERCASE variable
> that does not exist.


Yeah, it isn't looking good. That said, the variable is defined in

python/mozbuild/mozbuild/frontend/context.py

http://webcache.googleusercontent.com/search?q=cache:zbmnx_GkZbMJ:https://dxr.mozilla.org/mozilla-central/rev/74566d5345f4cab06c5683d4b620124104801e65/python/mozbuild/mozbuild/frontend/context.py%2B%22A11Y_MANIFESTS%22+%22FIREFOX_UI_FUNCTIONAL_MANIFESTS%22&hl=en&gbv=1&ct=clnk

   'PYTHON_UNITTEST_MANIFESTS': (ManifestparserManifestList, list,
        """List of manifest files defining python unit tests.
        """),


just before 'XPI_NAME' is defined. And as before, it is a long
shot to try to add the definition above to context.py and hope
it is just otherwise ignored.


About how long into the build does 51.0.1 error? And about
how long into the stock 52.4 build do you get the TypeError
error?


   Cheers,

   Mike

-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to