Bug 188016 - www/firefox does not (link) build with DEBUG on
www/firefox does not (link) build with DEBUG on
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: gecko
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-27 14:00 UTC by jakub_lach
Modified: 2014-03-31 13:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jakub_lach 2014-03-27 14:00:00 UTC
/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.
Comment 1 Edwin Groothuis freebsd_committer 2014-03-27 14:00:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter freebsd_committer 2014-03-31 13:15:05 UTC
Author: beat
Date: Mon Mar 31 12:15:01 2014
New Revision: 349737
URL: http://svnweb.freebsd.org/changeset/ports/349737
QAT: https://qat.redports.org/buildarchive/r349737/

Log:
  Unbreak DEBUG with GSTREAMER for gst1
  
  PR:		ports/188016
  Reported by:	Jakub Lach <jakub_lach@mailplus.pl>
  Submitted by:	Jan Beich

Added:
  head/www/firefox/files/patch-bug989112   (contents, props changed)
  head/www/seamonkey/files/patch-bug989112   (contents, props changed)

Added: head/www/firefox/files/patch-bug989112
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/firefox/files/patch-bug989112	Mon Mar 31 12:15:01 2014	(r349737)
@@ -0,0 +1,10 @@
+--- content/media/gstreamer/GStreamerFunctionList.h~
++++ content/media/gstreamer/GStreamerFunctionList.h
+@@ -122,6 +122,7 @@ GST_FUNC(LIBGSTREAMER, gst_buffer_set_size)
+ GST_FUNC(LIBGSTREAMER, gst_buffer_unmap)
+ GST_FUNC(LIBGSTREAMER, gst_element_factory_get_metadata)
+ GST_FUNC(LIBGSTREAMER, gst_event_parse_segment)
++GST_FUNC(LIBGSTREAMER, gst_event_type_get_name)
+ GST_FUNC(LIBGSTREAMER, gst_memory_init)
+ GST_FUNC(LIBGSTREAMER, gst_memory_map)
+ GST_FUNC(LIBGSTREAMER, gst_memory_unmap)

Added: head/www/seamonkey/files/patch-bug989112
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/seamonkey/files/patch-bug989112	Mon Mar 31 12:15:01 2014	(r349737)
@@ -0,0 +1,10 @@
+--- mozilla/content/media/gstreamer/GStreamerFunctionList.h~
++++ mozilla/content/media/gstreamer/GStreamerFunctionList.h
+@@ -122,6 +122,7 @@ GST_FUNC(LIBGSTREAMER, gst_buffer_set_size)
+ GST_FUNC(LIBGSTREAMER, gst_buffer_unmap)
+ GST_FUNC(LIBGSTREAMER, gst_element_factory_get_metadata)
+ GST_FUNC(LIBGSTREAMER, gst_event_parse_segment)
++GST_FUNC(LIBGSTREAMER, gst_event_type_get_name)
+ GST_FUNC(LIBGSTREAMER, gst_memory_init)
+ GST_FUNC(LIBGSTREAMER, gst_memory_map)
+ GST_FUNC(LIBGSTREAMER, gst_memory_unmap)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Beat Gaetzi freebsd_committer 2014-03-31 13:15:30 UTC
State Changed
From-To: open->closed

Committed. Thanks!