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 10:50:45 +0000 Message-ID: <8760l7wepm.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> 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]:33735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cVFiP-0004Bb-RM for guix-devel@gnu.org; Sun, 22 Jan 2017 05:49:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cVFiM-0001xa-Le for guix-devel@gnu.org; Sun, 22 Jan 2017 05:49:41 -0500 Received: from latitanza.investici.org ([82.94.249.234]:30308) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cVFiM-0001xT-FB for guix-devel@gnu.org; Sun, 22 Jan 2017 05:49:38 -0500 In-Reply-To: <87fukb1jrd.fsf@elephly.net> 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 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 bit= 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 y= ou showed in your > previous email is likely because these values are undefined. Do you ge= t > 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?bra= nch=3Dgames%2F0ad ) and it had no effect.=20 > Are these values set by the build system at some point? (Just grep the > 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. > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC > https://elephly.net > > --=20 =E2=99=A5=E2=92=B6 ng0 -- https://www.inventati.org/patternsinthechaos/