Closed Bug 602239 Opened 14 years ago Closed 12 years ago

Firefox 3.6.10 fails to build on Debian 4

Categories

(Firefox Build System :: General, defect)

x86
Linux
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: james4765, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10 ( .NET CLR 3.5.30729) Build Identifier: Mozilla 1.9.2 Trying to build XULRunner and Firefox on Debian 4, the build failed with the attached error. On advice from bz in the #developers channel, I added #include <compat/sys/queue.h> to all of the .c files in ipc/chromium/src/third_party/libevent/. That allowed the build to continue, although with errors about redefined macros. I am compiling off a custom built GTK+-2.10 and a few other libraries that needed updating. Reproducible: Always Error from the compilation: gcc -o event.o -c -DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API -D_IMPL_NS_COM_OBSOLETE -D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES -DZLIB_INTERNAL -DOSTYPE=\"Linux2.6\" -DOSARCH=Linux -DEXCLUDE_SKIA_DEPENDENCIES -DCHROMIUM_MOZILLA_BUILD -DOS_LINUX=1 -DOS_POSIX=1 -DHAVE_CONFIG_H -I/rw/mozilla-1.9.2/ipc/chromium/src -I/rw/mozilla-1.9.2/ipc/glue -I../../ipc/ipdl/_ipdlheaders -I/rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent -I/rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/linux -I/rw/mozilla-1.9.2/ipc/chromium -I. -I../../dist/include -I../../dist/include/nsprpub -I/rw/mozilla-1.9.2/xulrunner/dist/include/nspr -I/rw/mozilla-1.9.2/xulrunner/dist/include/nss -fPIC -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -Wno-long-long -pedantic -fno-strict-aliasing -pthread -pipe -DNDEBUG -DTRIMMED -I/rw/gtk-2.10//include/gtk-2.0 -I/rw/gtk-2.10//lib/gtk-2.0/include -I/rw/gtk-2.10/include/atk-1.0 -I/rw/gtk-2.10//include/cairo -I/rw/gtk-2.10//include/pango-1.0 -I/rw/gtk-2.10/include/glib-2.0 -I/rw/gtk-2.10/lib/glib-2.0/include -I/rw/gtk-2.10//include/gtk-unix-print-2.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -Os -freorder-blocks -fno-reorder-functions -finline-limit=50 -include ../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/event.pp /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c: In function âdetect_monotonicâ: /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:131: warning: ISO C90 forbids mixed declarations and code /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c: In function âevent_base_freeâ: /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:225: warning: implicit declaration of function âTAILQ_FIRSTâ /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:225: warning: assignment makes pointer from integer without a cast /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:226: warning: implicit declaration of function âTAILQ_NEXTâ /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:226: error: âev_nextâ undeclared (first use in this function) /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:226: error: (Each undeclared identifier is reported only once /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:226: error: for each function it appears in.) /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:226: warning: initialization makes pointer from integer without a cast /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:239: warning: assignment makes pointer from integer without a cast /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:240: error: âev_active_nextâ undeclared (first use in this function) /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:240: warning: initialization makes pointer from integer without a cast /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c: In function âevent_reinitâ: /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:298: warning: implicit declaration of function âTAILQ_FOREACHâ /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:298: error: âev_nextâ undeclared (first use in this function) /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:298: error: expected â;â before â{â token /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c: In function âevent_process_activeâ: /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:365: warning: comparison between pointer and integer /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:373: warning: assignment makes pointer from integer without a cast /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:373: warning: assignment makes pointer from integer without a cast /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c: In function âevent_queue_removeâ: /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:924: warning: format â%pâ expects type âvoid *â, but argument 4 has type âstruct event *â /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c: In function âevent_queue_insertâ: /rw/mozilla-1.9.2/ipc/chromium/src/third_party/libevent/event.c:956: warning: format â%pâ expects type âvoid *â, but argument 4 has type âstruct event *â mozconfig: mk_add_options MOZ_CO_PROJECT=xulrunner mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/xulrunner ac_add_options --enable-application=xulrunner ac_add_options --enable-optimize ac_add_options --disable-accessibility ac_add_options --disable-crashreporter ac_add_options --disable-dbus ac_add_options --disable-gnomevfs ac_add_options --disable-necko-wifi ac_add_options --disable-installer ac_add_options --disable-tests ac_add_options --disable-updater ac_add_options --enable-strip ac_add_options --with-java-include-path=/rw/jdk1.6.0_21/include ac_add_options --with-java-bin-path=/rw/jdk1.6.0_21/bin
Firefox 3.6 is old and stale.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.