make -C /usr/ports/www/libxul maintainer may have the answer.Thanks for the tip. But that didn't work.Turn off the GSTREAMER option, and www/libxul will build.
Traceback (most recent call last):
File "/usr/ports/www/libxul/work/mozilla-esr31/config/expandlibs_gen.py", line 43, in <module>
print >>outfile, generate(args)
File "/usr/ports/www/libxul/work/mozilla-esr31/config/expandlibs_gen.py", line 27, in generate
raise Exception("File not found: %s" % arg)
Exception: File not found: ../../js/xpconnect/src/libxpconnect_s.a
/usr/ports/www/libxul/work/mozilla-esr31/config/rules.mk:845: recipe for target 'libgklayout.a.desc' failed
gmake[5]: *** [libgklayout.a.desc] Error 1
gmake[5]: *** Deleting file 'libgklayout.a.desc'
gmake[5]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0/layout/build'
/usr/ports/www/libxul/work/mozilla-esr31/config/recurse.mk:95: recipe for target 'layout/build/libs' failed
gmake[4]: *** [layout/build/libs] Error 2
gmake[4]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0'
/usr/ports/www/libxul/work/mozilla-esr31/config/recurse.mk:39: recipe for target 'libs' failed
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0'
/usr/ports/www/libxul/work/mozilla-esr31/config/rules.mk:592: recipe for target 'default' failed
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/www/libxul
*** Error code 1
Stop.
make: stopped in /usr/ports/www/libxul
mozilla-esr24 branch was EOL'd recently as such it no longer receives
security fixes. Tracking it in ports brings little benefit over staying
with old ports snashpot and maybe *carefully* cherry-picking updates.
Here's a partial fix. TEST is broken during install since libxul-27.0.
Index: www/libxul/Makefile
===================================================================
--- www/libxul/Makefile (revision 1733)
+++ www/libxul/Makefile (revision 1737)
@@ -46,7 +46,6 @@ LDFLAGS+= -Wl,-rpath,${PREFIX}/lib/${MOZ_RPATH}
USE_LDCONFIG= ${PREFIX}/lib/${MOZILLA}
MOZ_OPTIONS?= --enable-application=xulrunner
-MOZ_EXTENSIONS= default,cookie,permissions
USE_GECKO= gecko
CPE_PRODUCT= firefox_esr
OBJDIR_BUILD= # in-tree build broken after bug 789837
@@ -56,8 +55,6 @@ MOZILLA_PLIST_DIRS= bin include lib share/idl libd
MOZ_PKGCONFIG_FILES= libxul-embedding libxul mozilla-js \
mozilla-plugin
-BROKEN= build error on js/xpconnect/src/libxpconnect_s.a.desc
-
.include "${.CURDIR}/../../www/firefox/Makefile.options"
.include <bsd.port.pre.mk>
@@ -90,6 +87,10 @@ RUN_DEPENDS+= alsa-lib>=1.0.27.2_1:${PORTSDIR}/aud
RUN_DEPENDS+= gstreamer1-libav>=1.2.4_1:${PORTSDIR}/multimedia/gstreamer1-libav
.endif
+.if ${PORT_OPTIONS:MTEST}
+BROKEN= stage-package fails with ValueError: no path specified
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/MOZPNG/s/=[0-9]*/=10511/' \
${WRKSRC}/configure.in
-------------------------------------------------
should beMOZILLA_PLIST_DIRS= bin include lib share/idl libd
MOZILLA_PLIST_DIRS= bin include lib share/idl libdata
should be@@ -90,6 +87,10 @@ RUN_DEPENDS+= alsa-lib>=1.0.27.2_1:${PORTSDIR}/aud
@@ -90,6 +87,10 @@ RUN_DEPENDS+= alsa-lib>=1.0.27.2_1:${PORTSDIR}/audio
So I was luckyThanks for the tip. But that didn't work.
Code:Traceback (most recent call last): File "/usr/ports/www/libxul/work/mozilla-esr31/config/expandlibs_gen.py", line 43, in <module> print >>outfile, generate(args) File "/usr/ports/www/libxul/work/mozilla-esr31/config/expandlibs_gen.py", line 27, in generate raise Exception("File not found: %s" % arg) Exception: File not found: ../../js/xpconnect/src/libxpconnect_s.a /usr/ports/www/libxul/work/mozilla-esr31/config/rules.mk:845: recipe for target 'libgklayout.a.desc' failed gmake[5]: *** [libgklayout.a.desc] Error 1 gmake[5]: *** Deleting file 'libgklayout.a.desc' gmake[5]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0/layout/build' /usr/ports/www/libxul/work/mozilla-esr31/config/recurse.mk:95: recipe for target 'layout/build/libs' failed gmake[4]: *** [layout/build/libs] Error 2 gmake[4]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0' /usr/ports/www/libxul/work/mozilla-esr31/config/recurse.mk:39: recipe for target 'libs' failed gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0' /usr/ports/www/libxul/work/mozilla-esr31/config/rules.mk:592: recipe for target 'default' failed gmake[2]: *** [default] Error 2 gmake[2]: Leaving directory '/usr/ports/www/libxul/work/mozilla-esr31/obj-x86_64-unknown-freebsd10.0' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/libxul *** Error code 1 Stop. make: stopped in /usr/ports/www/libxul
I've also sent an email to the maintainer but no response yet.
Same behavior here. What a waste of time of rebuilding it, with "normal" options.Well, it looks like it just got fixed. It's no longer marked broken![]()
Yes, it built for me. I'll mark this solved.Well, it looks like it just got fixed. It's no longer marked broken![]()