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: Fri, 06 Jan 2017 14:45:21 +0000 Message-ID: <87fukw6yda.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> References: <20161230180450.23500-1-ng0@libertad.pw> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59187) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPVlZ-0002Dh-68 for guix-devel@gnu.org; Fri, 06 Jan 2017 09:45:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPVlV-0002eq-8B for guix-devel@gnu.org; Fri, 06 Jan 2017 09:45:13 -0500 Received: from aibo.runbox.com ([91.220.196.211]:38549) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPVlU-0002aj-Tv for guix-devel@gnu.org; Fri, 06 Jan 2017 09:45:09 -0500 In-Reply-To: <20161230180450.23500-1-ng0@libertad.pw> 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: guix-devel@gnu.org Cc: iyzsong@gmail.com ng0 writes: > These 3 patches are also in the "games/0ad" branch here https://pagure.io/guix-dev > > No matter what I try, mozjs-38 ends up without a version in some parts and I need this to continue (finish) the 0ad package. > Any help is welcome. > Cc people which were involved in mozjs and/or icecat on Guix, maybe you can help me. Otherwise I'd have to ask upstream for help. > Linking mocks_real > ar -rcs ../../../binaries/system/libmocks_real.a obj/mocks_real_Release/mocks_real.o > ==== Building network (release) ==== > Creating obj/network_Release > mkdir -p obj/network_Release > precompiled.h > cp ../../../source/pch/network/precompiled.h obj/network_Release > g++ -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DUSING_PCH -I../../../source/pch/network -I../../../source -I/usr/X11R6/include/X11 -I/usr/X11R6/include -I/usr/local/include/X11 -I/usr/local/include -I/usr/include/X11 -std=c++0x -fvisibility=hidden `pkg-config js --cflags` -x c++-header -o "obj/network_Release/precompiled.h.gch" -c "../../../source/pch/network/precompiled.h" > NetStats.cpp > g++ -Iobj/network_Release -include obj/network_Release/precompiled.h -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DUSING_PCH -I../../../source/pch/network -I../../../source -I/usr/X11R6/include/X11 -I/usr/X11R6/include -I/usr/local/include/X11 -I/usr/local/include -I/usr/include/X11 -std=c++0x -fvisibility=hidden `pkg-config js --cflags` -MF obj/network_Release/NetStats.d -MT "obj/network_Release/NetStats.o" -o "obj/network_Release/NetStats.o" -c "../../../source/network/NetStats.cpp" > fsm.cpp > g++ -Iobj/network_Release -include obj/network_Release/precompiled.h -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DUSING_PCH -I../../../source/pch/network -I../../../source -I/usr/X11R6/include/X11 -I/usr/X11R6/include -I/usr/local/include/X11 -I/usr/local/include -I/usr/include/X11 -std=c++0x -fvisibility=hidden `pkg-config js --cflags` -MF obj/network_Release/fsm.d -MT "obj/network_Release/fsm.o" -o "obj/network_Release/fsm.o" -c "../../../source/network/fsm.cpp" > NetTurnManager.cpp > g++ -Iobj/network_Release -include obj/network_Release/precompiled.h -MMD -MP -DNDEBUG -DCONFIG_FINAL=1 -DLIB_STATIC_LINK -DUSING_PCH -I../../../source/pch/network -I../../../source -I/usr/X11R6/include/X11 -I/usr/X11R6/include -I/usr/local/include/X11 -I/usr/local/include -I/usr/include/X11 -std=c++0x -fvisibility=hidden `pkg-config js --cflags` -MF obj/network_Release/NetTurnManager.d -MT "obj/network_Release/NetTurnManager.o" -o "obj/network_Release/NetTurnManager.o" -c "../../../source/network/NetTurnManager.cpp" > In file included from ../../../source/scriptinterface/ScriptInterface.h:26:0, > from ../../../source/simulation2/helpers/SimulationCommand.h:21, > from ../../../source/network/NetTurnManager.h:21, > from ../../../source/network/NetTurnManager.cpp:20: > ../../../source/scriptinterface/ScriptTypes.h:74:25: error: operator '!=' has no left operand > #if MOZJS_MAJOR_VERSION != 38 > ^ > ../../../source/scriptinterface/ScriptTypes.h:82:25: error: operator '!=' has no left operand > #if MOZJS_MINOR_VERSION != 3 > ^ > In file included from /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24/include/signal.h:316:0, > from /gnu/store/y1g6991kxvdk4vxhsq07r5saww30v8dq-gcc-4.9.4/include/c++/csignal:42, > from ../../../source/lib/pch/pch_stdlib.h:37, > from ../../../source/lib/precompiled.h:103, > from ../../../source/pch/network/precompiled.h:19: > /gnu/store/9vn87bm1872c6b9w4lpqnm5ckx5h6gia-mozjs-38.2.1.rc0/include/mozjs-/jspubtd.h:459:74: warning: invalid access to non-static data member ‘js::PerThreadDataFriendFields::RuntimeDummy::mainThread’ of NULL object [-Winvalid-offsetof] > static const size_t RuntimeMainThreadOffset = offsetof(RuntimeDummy, mainThread); > ^ > /gnu/store/9vn87bm1872c6b9w4lpqnm5ckx5h6gia-mozjs-38.2.1.rc0/include/mozjs-/jspubtd.h:459:74: warning: (perhaps the ‘offsetof’ macro was used incorrectly) [-Winvalid-offsetof] > make[1]: *** [network.make:202: obj/network_Release/NetTurnManager.o] Error 1 > make: *** [Makefile:21: network] Error 2 > make: Leaving directory '/tmp/guix-build-0ad-0.0.21-alpha.drv-0/0ad-0.0.21-alpha/build/workspaces/gcc' > phase `build' failed after 8.8 seconds > builder for `/gnu/store/122kd4f8ygnhwzwki437kx2hrp2mj40q-0ad-0.0.21-alpha.drv' failed with exit code 1 > @ build-failed /gnu/store/122kd4f8ygnhwzwki437kx2hrp2mj40q-0ad-0.0.21-alpha.drv - 1 builder for `/gnu/store/122kd4f8ygnhwzwki437kx2hrp2mj40q-0ad-0.0.21-alpha.drv' failed with exit code 1 > guix build: error: build failed: build of `/gnu/store/122kd4f8ygnhwzwki437kx2hrp2mj40q-0ad-0.0.21-alpha.drv' failed > > -- ♥Ⓐ ng0 PGP keys and more: https://n0is.noblogs.org/ http://ng0.chaosnet.org