From owner-freebsd-gecko@FreeBSD.ORG Thu Jul 14 14:46:58 2011 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C23321065672; Thu, 14 Jul 2011 14:46:58 +0000 (UTC) (envelope-from inyaoo@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 257A98FC1C; Thu, 14 Jul 2011 14:46:57 +0000 (UTC) Received: by fxe6 with SMTP id 6so853610fxe.17 for ; Thu, 14 Jul 2011 07:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=xx0nEymT9+bCMjOfWBxnu/f4kKifttjgf07JVBA3JW8=; b=eB5ZThk+CcVE/bPhyT6r//GG4zbvM3/0cTInU0+NEgmecwisa5OaOS3SauTduppOJz XW2SGYJ2h0DC8SENA5qMZ0pYEObl5FVnnb1IVrwrwCwy06Zkw9k/tdGGzPODFq54XTWI FsNxZlCrKEOn4IDz/AR2smReViu28YxvWSv4g= Received: by 10.223.13.10 with SMTP id z10mr3576998faz.69.1310654816798; Thu, 14 Jul 2011 07:46:56 -0700 (PDT) Received: from localhost (spftor3.privacyfoundation.ch [62.220.135.129]) by mx.google.com with ESMTPS id w11sm165984faj.14.2011.07.14.07.46.53 (version=SSLv3 cipher=OTHER); Thu, 14 Jul 2011 07:46:55 -0700 (PDT) From: Pan Tsu To: Florian Smeets References: <201107111015.p6BAFobk084287@trillian.chruetertee.ch> <86sjqapo66.fsf@gmail.com> <4E1E2212.2080700@FreeBSD.org> Date: Thu, 14 Jul 2011 18:46:42 +0400 In-Reply-To: <4E1E2212.2080700@FreeBSD.org> (Florian Smeets's message of "Thu, 14 Jul 2011 00:54:10 +0200") Message-ID: <86y6009ay5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-gecko@FreeBSD.org Subject: Re: [SVN-Commit] r588 - branches/experimental/www/firefox-aurora/files X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2011 14:46:58 -0000 Florian Smeets writes: > On 13.07.11 10:42, Pan Tsu wrote: >> svn-freebsd-gecko@chruetertee.ch writes: >> >>> Author: flo >>> Date: Mon Jul 11 10:15:50 2011 >>> New Revision: 588 >>> >>> Log: >>> readd patch to the correct file >>> >>> Submitted by: Pan Tsu >>> >>> Note, firefox-aurora is still completeley broken >> >> Broken? Does it crash? Even when built WITH_DEBUG= ? >> I for one get crashes on Minefield with non-debug builds after >> >> https://bugzilla.mozilla.org/show_bug.cgi?id=552864 >> > > Yep, that seems to be the culprit. It cannot find xpcom without > LD_LIBRARY_PATH being set, when i set it firefox crashes with sigsegv. Erm, it's a bsd.gecko.mk fault that you need to set LD_LIBRARY_PATH. Look at the contents of FAKEDIR just after it's populated. So, to not break the link(s) smth like ports/148475 needs to applied, see below. %% Index: Mk/bsd.gecko.mk =================================================================== RCS file: /a/.cvsup/ports/Mk/bsd.gecko.mk,v retrieving revision 1.30 diff -u -p -r1.30 bsd.gecko.mk --- Mk/bsd.gecko.mk 30 Jun 2011 18:19:47 -0000 1.30 +++ Mk/bsd.gecko.mk 14 Jul 2011 14:40:06 -0000 @@ -845,11 +852,10 @@ gecko-pre-install: .endfor @${REINPLACE_CMD} -e 's|${MOZILLA}-bin|${MOZILLA:S/${MOZILLA_SUFX}//}|; \ s|$${progbase}-bin|${MOZILLA:S/${MOZILLA_SUFX}//}-bin|' \ - ${FAKEDIR}/bin/${MOZILLA_EXEC_NAME}* + -i '' $$(${REALPATH} ${FAKEDIR}/bin/${MOZILLA_EXEC_NAME}*) .endif @${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g' \ - ${FAKEDIR}/bin/${MOZILLA_EXEC_NAME}* - ${RM} -f ${FAKEDIR}/bin/*.bak + -i '' $$(${REALPATH} ${FAKEDIR}/bin/${MOZILLA_EXEC_NAME}*) .endif gecko-create-plist: @@ -890,10 +896,9 @@ gecko-do-install: .for dir in ${MOZILLA_PLIST_DIRS} .if !exists(${PREFIX}/${dir}) ${MKDIR} ${PREFIX}/${dir} - ${CHMOD} 755 ${PREFIX}/${dir} .endif - cd ${FAKEDIR}/${dir} && ${FIND} . | \ - ${CPIO} -pdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/${dir} + ${TAR} cf - -C${FAKEDIR}/${dir} -s'|${FAKEDIR}|${PREFIX}|s' . | \ + ${TAR} xof - -C${PREFIX}/${dir} .endfor .for pcfile in ${MOZ_PKGCONFIG_FILES} ${INSTALL_DATA} ${FAKEDIR}/libdata/pkgconfig/${pcfile}.pc \ %%