Open Bug 1443895 Opened 8 years ago Updated 4 years ago

./configure and gconf

Categories

(Firefox Build System :: Mach Core, enhancement, P5)

52 Branch
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: dpa-mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20180123215146 Steps to reproduce: For firefox-52.6.0est: ./configure --help prints --enable-gconf Helo missing for old configure options --enable-X means that the option has to be specified in order to enable something and it is disabled by default. When --help prints "--disable-gconf" then the option is enabled by default and "./configure --disable-gconf" disables it. old-configure --help prints correctly "--disable-gconf Either ./configure --help shall print --disable-gconf, or old-configure shall assume that by default gconf is disabled. "./configure" without "--enable-gconf" fails with checking for NSPR - version >= 4.13.1... yes checking for gzread in -lz... yes checking for BZ2_bzread in -lbz2... yes checking if app-specific confvars.sh exists... /src/firefox-52.6.0esr/browser/confvars.sh checking for gtk+-3.0 >= 3.4.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 ... yes checking MOZ_GTK3_CFLAGS... -pthread -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-a tk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/inc lude/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/pango-1.0 -I/usr/local/incl ude/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/in clude/libpng16 -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr /local/include -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/libdrm -I/usr/loca l/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -I/usr/lo cal/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include checking MOZ_GTK3_LIBS... -L/usr/local/lib -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2 .0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0... yes checking MOZ_GTK2_CFLAGS... -pthread -I/usr/local/include/gtk-2.0 -I/usr/local/include/gtk-unix-print-2.0 -I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include checking MOZ_GTK2_LIBS... -L/usr/local/lib -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 checking for gio-2.0 >= 2.22... yes checking MOZ_GIO_CFLAGS... -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include checking MOZ_GIO_LIBS... -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for gconf-2.0 >= 1.2.1 gobject-2.0 ... configure: error: * * * Could not find gconf-2.0 DEBUG: <truncated - see config.log for full output> DEBUG: configure:10314: /usr/local/bin/gcc -std=gnu99 -c -fno-lifetime-dse -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -I/usr/local/include/nspr conftest.c 1>&5 DEBUG: configure:10333: /usr/local/bin/gcc -std=gnu99 -c -fno-lifetime-dse -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -I/usr/local/include/nspr conftest.c 1>&5 DEBUG: configure:10378: /usr/local/bin/gcc -std=gnu99 -c -fno-lifetime-dse -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -I/usr/local/include/nspr conftest.c 1>&5 DEBUG: configure:10828: checking for gzread in -lz DEBUG: configure:10847: /usr/local/bin/gcc -std=gnu99 -o conftest -fno-lifetime-dse -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lz -ldl 1>&5 DEBUG: configure:10882: /usr/local/bin/gcc -std=gnu99 -c -fno-lifetime-dse -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread conftest.c 1>&5 DEBUG: configure:10928: checking for BZ2_bzread in -lbz2 DEBUG: configure:10947: /usr/local/bin/gcc -std=gnu99 -o conftest -fno-lifetime-dse -fno-strict-aliasing -ffunction-sections -fdata-sections -fno-math-errno -pthread -lpthread -Wl,-z,noexecstack -Wl,-z,text -Wl,--build-id conftest.c -lbz2 -ldl 1>&5 DEBUG: configure:11238: checking if app-specific confvars.sh exists DEBUG: configure:12399: checking for gtk+-3.0 >= 3.4.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 DEBUG: configure:12406: checking MOZ_GTK3_CFLAGS DEBUG: configure:12411: checking MOZ_GTK3_LIBS DEBUG: configure:12485: checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.22 gobject-2.0 gdk-x11-2.0 DEBUG: configure:12492: checking MOZ_GTK2_CFLAGS DEBUG: configure:12497: checking MOZ_GTK2_LIBS DEBUG: configure:13382: checking for gio-2.0 >= 2.22 DEBUG: configure:13389: checking MOZ_GIO_CFLAGS DEBUG: configure:13394: checking MOZ_GIO_LIBS DEBUG: configure:13469: checking for gconf-2.0 >= 1.2.1 gobject-2.0 DEBUG: configure: error: * * * Could not find gconf-2.0 ERROR: old-configure failed
Hi, thanks for reporting the issue. Can you clarify the description of the bug? It's a configuration error with old builds?
Component: Untriaged → Build Config
Flags: needinfo?(dpa-mozilla)
Product: Firefox → Toolkit
./configure --help prints: --enable-gconf Help missing for old configure options This means de jure, that "./configure" implicitly disables gconf and it can be explicitly enabled by "./configure --enable-gconf". Defacto, "./configure " implicitly enables gconf. Change ./configure, so that implicitly disables gconf. It is not about configuration error, it is about the output of ./configure --help being inconsisten with the (implicit) behaviour of ./configure.
Flags: needinfo?(dpa-mozilla)
Component: Build Config → Mach Core
Priority: -- → P5
Product: Toolkit → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.