Closed Bug 689390 Opened 13 years ago Closed 13 years ago

Build fails in dom source

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 689301

People

(Reporter: bjackson0971, Unassigned)

Details

Linux x86 32-bit, GCC 4.6.1, Binutils 2.21.1, Firefox trunk. This build error started late afternoon on 9/26. I have deleted the obj build directory and cleared ccache with no change.

c++ -o nsDOMClassInfo.o -c -I../../dist/stl_wrappers -I../../dist/system_wrappers -include /home/bsjacks/mozilla/config/gcc_hidden.h -D_IMPL_NS_LAYOUT -DMOZ_JSDEBUGGER -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES  -DSTATIC_EXPORTABLE_JS_API -DOSTYPE=\"Linux3.1\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES  -DOS_LINUX=1 -DOS_POSIX=1  -I/home/bsjacks/mozilla/dom/base -I/home/bsjacks/mozilla/dom/src/events -I/home/bsjacks/mozilla/dom/src/storage -I/home/bsjacks/mozilla/dom/src/offline -I/home/bsjacks/mozilla/dom/src/geolocation -I/home/bsjacks/mozilla/dom/src/notification -I/home/bsjacks/mozilla/dom/workers -I/home/bsjacks/mozilla/content/xbl/src -I/home/bsjacks/mozilla/content/xul/document/src -I/home/bsjacks/mozilla/content/events/src -I/home/bsjacks/mozilla/content/base/src -I/home/bsjacks/mozilla/content/html/content/src -I/home/bsjacks/mozilla/content/html/document/src -I/home/bsjacks/mozilla/content/svg/content/src -I/home/bsjacks/mozilla/layout/generic -I/home/bsjacks/mozilla/layout/style -I/home/bsjacks/mozilla/layout/xul/base/src -I/home/bsjacks/mozilla/layout/xul/base/src/tree/src -I/home/bsjacks/mozilla/ipc/chromium/src -I/home/bsjacks/mozilla/ipc/glue -I../../ipc/ipdl/_ipdlheaders  -I/home/bsjacks/mozilla/dom/base/../../js/src/xpconnect/src -I/home/bsjacks/mozilla/dom/base/../../js/src/xpconnect/wrappers -I/home/bsjacks/mozilla/xpcom/ds  -I/home/bsjacks/mozilla/dom/base -I. -I../../dist/include -I../../dist/include/nsprpub  -I/home/bsjacks/mozilla/obj-i686-pc-linux-gnu/dist/include/nspr -I/home/bsjacks/mozilla/obj-i686-pc-linux-gnu/dist/include/nss      -fPIC -fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-variadic-macros -Werror=return-type -Wno-long-long -fno-strict-aliasing -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -O2 -s -fpermissive -fomit-frame-pointer -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-unix-print-2.0     -DMOZILLA_CLIENT -include ../../mozilla-config.h -MD -MF .deps/nsDOMClassInfo.pp /home/bsjacks/mozilla/dom/base/nsDOMClassInfo.cpp
In file included from ../../dist/include/nsAutoPtr.h:48:0,
                 from /home/bsjacks/mozilla/dom/base/../../js/src/xpconnect/src/xpcprivate.h:65,
                 from /home/bsjacks/mozilla/dom/base/nsDOMClassInfo.cpp:50:
../../dist/include/nsCOMPtr.h: In instantiation of ‘nsCOMPtr_base::nsDerivedSafe<mozilla::dom::indexedDB::IDBTransaction>’:
../../dist/include/mozilla/dom/indexedDB/IDBObjectStore.h:145:24:   instantiated from here
../../dist/include/nsCOMPtr.h:436:7: error: deleted function ‘virtual nsCOMPtr_base::nsDerivedSafe<mozilla::dom::indexedDB::IDBTransaction>::~nsDerivedSafe()’
../../dist/include/mozilla/dom/indexedDB/IDBTransaction.h:171:3: error: overriding non-deleted function ‘virtual mozilla::dom::indexedDB::IDBTransaction::~IDBTransaction()’
../../dist/include/nsCOMPtr.h:436:7: error: ‘virtual nsCOMPtr_base::nsDerivedSafe<mozilla::dom::indexedDB::IDBTransaction>::~nsDerivedSafe()’ is implicitly deleted because the default definition would be ill-formed:
../../dist/include/mozilla/dom/indexedDB/IDBTransaction.h:171:3: error: ‘virtual mozilla::dom::indexedDB::IDBTransaction::~IDBTransaction()’ is private
../../dist/include/nsCOMPtr.h:436:7: error: within this context
What mozconfig are you using?
I backed out changeset 489f9e746213 and the build completed. Will add a note to https://bugzilla.mozilla.org/show_bug.cgi?id=666414
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.