Date: Thu, 14 Jul 2011 18:46:42 +0400 From: Pan Tsu <inyaoo@gmail.com> To: Florian Smeets <flo@FreeBSD.org> Cc: freebsd-gecko@FreeBSD.org Subject: Re: [SVN-Commit] r588 - branches/experimental/www/firefox-aurora/files Message-ID: <86y6009ay5.fsf@gmail.com> In-Reply-To: <4E1E2212.2080700@FreeBSD.org> (Florian Smeets's message of "Thu, 14 Jul 2011 00:54:10 %2B0200") References: <201107111015.p6BAFobk084287@trillian.chruetertee.ch> <86sjqapo66.fsf@gmail.com> <4E1E2212.2080700@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Florian Smeets <flo@FreeBSD.org> 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<inyaoo@gmail.com> >>> >>> 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 \ %%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86y6009ay5.fsf>