From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: Mozilla help needed - 0ad, or: how to pass the version to mozjs-38? Date: Sun, 22 Jan 2017 11:04:42 +0000 Message-ID: <8737gbwe2d.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20161230180450.23500-1-ng0@libertad.pw> <87fukw6yda.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <878tqo2i52.fsf@gmail.com> <874m1bkjen.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87fukb1jrd.fsf@elephly.net> <8760l7wepm.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVFvu-0006SQ-Eb for guix-devel@gnu.org; Sun, 22 Jan 2017 06:03:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVFvr-0005yS-BU for guix-devel@gnu.org; Sun, 22 Jan 2017 06:03:38 -0500 Received: from perdizione.investici.org ([2001:41d0:2:33d0::19]:58268) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVFvr-0005yF-5P for guix-devel@gnu.org; Sun, 22 Jan 2017 06:03:35 -0500 In-Reply-To: <8760l7wepm.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ricardo Wurmus Cc: guix-devel@gnu.org ng0 writes: > Ricardo Wurmus writes: > >> ng0 writes: >> >>> Maxim Cournoyer writes: >>> >>>> Hi ng0! >>>> >>>> Have you tried defining MOZJS_MAJOR_VERSION or MOZJS_MINOR_VERSION? >>>> These are the first errors. Fixing those might make the picture a bi= t prettier? >>> >>> It's not about pretty, it's about this being a terrible piece of >>> unstable, not 100% released software which is public available >>> and being bundled by some applications (for example 0ad) and you >>> either accept the bundle or unbundle it. >> >> You haven=E2=80=99t yet answered Maxim=E2=80=99s question. The error = you showed in your >> previous email is likely because these values are undefined. Do you g= et >> different errors when these values are defined? > > Okay, note to self: Do not assume that everyone can read between > the lines. That was a bad reply I gave to a question. > To answer: yes, I have tried to set this and other reasonable envs > (see > https://pagure.io/guix-dev/c/07c579fd3e7e0621ef0f323b6130c74fe5a09f62?b= ranch=3Dgames%2F0ad > ) and it had no effect.=20 > >> Are these values set by the build system at some point? (Just grep th= e >> sources to see where these values are used.) > > The values are used, but they are not changed/applied during the > build. > There's a Makefile, but everyone else (distros) is just skipping > that. I did so too, but I haven't documented the reason(s) for > myself. I will try running autotools and use this Makefile, to > document at least what it does. This is why I did it: ng0@wasp ~/r/mozjs-38.0.0> cat INSTALL Full build documentation for SpiderMonkey is hosted on MDN: https://developer.mozilla.org/en-US/docs/SpiderMonkey/Build_Documentati= on Note that the libraries produced by the build system include symbols, causing the binaries to be extremely large. It is highly suggested that `strip` be run over the binaries before deploying them. Building with default options may be performed as follows: cd js/src ./configure make