X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 4E717DC0070 for ; Wed, 17 Jul 2013 22:39:16 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 8242E20D68 for ; Wed, 17 Jul 2013 18:39:15 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Wed, 17 Jul 2013 18:39:15 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:subject:message-id :mime-version:content-type; s=smtpout; bh=uRO+eL1NtSjF+xl3ZwnOr8 BnUgk=; b=ldzpoc2MevBqL0kVnetmR4Cm1f9YfZfKub5e8MlOzz5pcoSFXOb8OH G2dRs62ol6oPb3YV9J1X5GHmwMLADSWSvVnHpI0HbKadHW0bvfZgXv9goa+7YzWJ Cnqwu7qUA8pbFC5pR06EwuB4nvk4eU4bHgV9+EBD0KXhrViKq1Sos= X-Sasl-enc: TEZ7g0HjJhqHuVXniyR5hfbhP7e9UTKUT/qGp3H4xRxP 1374100755 Received: from localhost (unknown [69.86.161.244]) by mail.messagingengine.com (Postfix) with ESMTPA id 4D76F6800C2 for ; Wed, 17 Jul 2013 18:39:15 -0400 (EDT) Date: Wed, 17 Jul 2013 18:39:14 -0400 From: Dubiousjim To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] can't build xulrunner-22.0 Message-ID: <20130717223914.GC2276@zen> Mail-Followup-To: alpine-devel@lists.alpinelinux.org X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) I'm trying to version bump xulrunner to 22.0. One of the patches from 21.0 fails to apply and needs this fix: diff --git a/main/xulrunner/ns_min.patch b/main/xulrunner/ns_min.patch index 826a18b..05a7c1b 100644 --- a/main/xulrunner/ns_min.patch +++ b/main/xulrunner/ns_min.patch @@ -4,8 +4,8 @@ rv = stream->Tell(&avail); NS_ENSURE_SUCCESS(rv, rv); -- int64_t newPos = streamPos + XPCOM_MIN(avail, std::abs(remaining)); -+ int64_t newPos = streamPos + XPCOM_MIN(avail, (int64_t)std::abs(remaining)); +- int64_t newPos = streamPos + XPCOM_MIN(avail, DeprecatedAbs(remaining)); ++ int64_t newPos = streamPos + XPCOM_MIN(avail, (int64_t)DeprecatedAbs(remaining)); rv = stream->Seek(NS_SEEK_END, -newPos); NS_ENSURE_SUCCESS(rv, rv); if indeed any such patch is still needed, which I haven't checked. Anyway, I assume the typecast the patch introduces does no harm. But xulrunner still fails to build, because at one point it's looking to include , which isn't anywhere on my machine: c++ -o stabs_reader.o -c -I../../../../../dist/stl_wrappers -I../../../../../dist/system_wrappers -include /home/repos/aports/main/xulrunner/src/mozilla-release/config/gcc_hidden.h -DMOZ_GLUE_IN_PROGRAM -DNO_NSPR_10_SUPPORT -I/home/repos/aports/main/xulrunner/src/mozilla-release/toolkit/crashreporter/google-breakpad/src/common/.. -I../../../../../dist/include -fPIC -Os -fomit-frame-pointer -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wcast-align -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DHAVE_A_OUT_H -DNDEBUG -DTRIMMED -g -Os -freorder-blocks -fomit-frame-pointer -Os -fomit-frame-pointer -DMOZILLA_CLIENT -include ../../../../../mozilla-config.h -MD -MF .deps/stabs_reader.o.pp /home/repos/aports/main/xulrunner/src/mozilla-release/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.cc /home/repos/aports/main/xulrunner/src/mozilla-release/toolkit/crashreporter/google-breakpad/src/common/stabs_reader.cc:37:18: fatal error: stab.h: No such file or directory #include ^ compilation terminated. make[6]: *** [stabs_reader.o] Error 1 There is one such file in the xulrunner/firefox sources, at: src/mozilla-release/toolkit/crashreporter/google-breakpad/src/common/android/include/stab.h but I'm not going to assume that this "android" file is also appropriate for my arch (x86) unless I get specific instructions saying so. Perhaps the fix is that we need to add some new makedepends to xulrunner, but I haven't yet figured out what it is. I'll keep looking into it, but thought I'd send this query to see if others might have better ideas than I do yet. -- Dubiousjim dubiousjim@gmail.com --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---