Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2014 13:59:27 GMT
From:      Jakub Lach <jakub_lach@mailplus.pl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188016: www/firefox does not (link) build with DEBUG on
Message-ID:  <201403271359.s2RDxRmY057679@cgiserv.freebsd.org>
Resent-Message-ID: <201403271400.s2RE00gi095958@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188016
>Category:       ports
>Synopsis:       www/firefox does not (link) build with DEBUG on
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 14:00:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Jakub Lach
>Release:        FreeBSD 10.0-STABLE #0 r263765 amd64
>Organization:
-
>Environment:
FreeBSD 10.0-STABLE #0 r263765 amd64
>Description:
/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/ipc/app/tmpBIeW1g.list:
    INPUT("MozillaRuntimeMain.o")

./../dist/bin/libxul.so: undefined reference to `gst_event_type_get_name'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
Executing: c++ -o xpcshell -Qunused-arguments -isystem/usr/local/include -DLIBICONV_PLUG -I/usr/local/include -Qunused-arguments -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wsign-compare -Wno-invalid-offsetof -Wno-c++0x-extensions -Wno-extended-offsetof -Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags -O2 -pipe -march=native -O3 -DLIBICONV_PLUG -fstack-protector -fno-strict-aliasing -DLIBICONV_PLUG -fno-exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno -std=gnu++0x -pipe -DDEBUG -D_DEBUG -DTRACING -g -O2 -O3 -fno-omit-frame-pointer /usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/js/xpconnect/shell/tmpPaH_8x.list -pthread -L/usr/local/lib -Wl,-rpath,/usr/local/lib/firefox -fstack-protector -Wl,-z,noexecstack -Wl,-z,text -Wl,-rpath-link,/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/dist/bin -Wl,-rpath-link,/usr/local/l
 ib -L../../../dist/bin -L.gmake[6]: *** [plugin-container] Error 1
gmake[6]: Leaving directory `/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/ipc/app'
gmake[5]: *** [ipc/app/binaries] Error 2
gmake[5]: *** Waiting for unfinished jobs....
./../../dist/lib ../../../dist/lib/libxpcomglue_s.a ../../../dist/bin/libxul.so ../../../dist/bin/libmozalloc.so ../../../dist/bin/libxul.so ../../../dist/bin/libmozalloc.so -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -Wl,--whole-archive ../../../dist/lib/libmozglue.a -Wl,--no-whole-archive -rdynamic -lkvm
/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/js/xpconnect/shell/tmpPaH_8x.list:
    INPUT("xpcshell.o")

./../../dist/bin/libxul.so: undefined reference to `gst_event_type_get_name'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[6]: *** [xpcshell] Error 1
gmake[6]: Leaving directory `/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0/js/xpconnect/shell'
gmake[5]: *** [js/xpconnect/shell/binaries] Error 2
gmake[5]: Leaving directory `/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake[4]: *** [recurse_libs] Error 2
gmake[4]: Leaving directory `/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/usr/obj/usr/ports/www/firefox/work/mozilla-release/obj-x86_64-unknown-freebsd10.0'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/obj/usr/ports/www/firefox/work/mozilla-release/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/firefox
*** Error code 1

>How-To-Repeat:
Build port with DEBUG on with clang 3.4. 

I've tried building www/firefox with debug, because after switching to gstreamer1/libav with version 28 it looks to me it frequently core dumps when rewinding html5/video content. 

With (previously) effectively non-functional gstreamer1-libav it wasn't so.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403271359.s2RDxRmY057679>