Closed Bug 278253 Opened 20 years ago Closed 20 years ago

nightly source tarball contains .mozconfig

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vincent-moz, Assigned: chase)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041208
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041208

I have "ac_add_options --enable-default-toolkit=gtk2" in my .mozconfig file and
I tried to build Mozilla with "make -f client.mk", but the configure script
complained:

[...]
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found.
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.
*** Fix above errors and then restart with "make -f client.mk build"
make: *** [/home/lefevre/software/moz-source/mozilla/Makefile] Error 1

gtk-config is gtk1.2 stuff, so the configure script shouldn't require it when
building Mozilla with gtk2.

Reproducible: Always
are you sure mozilla finds your mozconfig? does it list its contents at the top
when running it?
This is the problem. I grabbed
http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.8a6/source/mozilla-source-1.8a6.tar.bz2
but this tarball has a .mozconfig file (I think this is a bad idea), so that
mine wasn't taken into account.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
urg, indeed. that's bad... reopening bug.

> tar tjf mozilla-source-1.8a6.tar.bz2 |grep mozconf
mozilla/.mozconfig
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: configure script looks for gtk-config (gtk1.2) when building with --enable-default-toolkit=gtk2 → nightly source tarball contains .mozconfig
so this .mozconfig does have the advantage that no further configure options are
needed to get a seamonkey build. it has the disadvantage that a ~/.mozconfig is
ignored.
I heard that cmp was playing around with making the somewhat-nightly source
tarballs have all the sources necessary for suite/ff/tb/sunbird/xulrunner, in
which case we should not be shipping a .mozconfig.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: nobody → cmp
Status: NEW → ASSIGNED
If I understand the problem correctly, the immediate fix is to generate a source
tarball that doesn't have a .mozconfig in it.  I'll do this and update the FTP
site accordingly.  I've also updated the script that creates these source
tarballs so that the .mozconfig file is not left in the directory that gets tarred.
Resolving fixed.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.