Bug 127312 - Webkit GTK 2.2.3 release generates another configure file
Summary: Webkit GTK 2.2.3 release generates another configure file
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-20 14:43 PST by Niranjan Rao
Modified: 2021-05-06 01:46 PDT (History)
4 users (show)

See Also:


Attachments
Diff file for the configure file getting overwritten. (22.77 KB, text/plain)
2014-01-22 17:08 PST, Niranjan Rao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niranjan Rao 2014-01-20 14:43:22 PST
I am not certain if this is a bug, but it does creates some problems for those who try to use released version.

We download the tar ball of Webkit GTK 2.2.3 release and add it to our git repository.When attempting to build from this tar ball, we have observed than first run configure command generates/overwrites the configure script again. It appears that new configure command might have some machine specific information which defeats the purpose of first configure command. Example parameters used for --prefix command.

As git shows files as modified, team member commit this file which may not be usable on other machine as others may want to use different locations for building. But in the process, original configure command that came with package is lost.


Its not our intention to modify webkit source code, but to make sure we have all the source pieces available to us to build on different machines. Especially important since many dependencies for 2.2.3 are not part of standard distribution on platforms such as Ubuntu 12.04

Our current workaround for this problem is copy sources to some other directory and build from new directory.
Comment 1 Zan Dobersek 2014-01-20 23:28:33 PST
Do you perhaps have a diff of what changes are made to the configure file?
Comment 2 Carlos Garcia Campos 2014-01-20 23:49:46 PST
How do you build from the tarball?
Comment 3 Niranjan Rao 2014-01-22 17:08:37 PST
Created attachment 221925 [details]
Diff file for the configure file getting overwritten.

Diff file for the configure file getting overwritten.
Comment 4 Niranjan Rao 2014-01-22 17:10:42 PST
I usually build it with following configure parameters

./configure --enable-gtk-doc=no --enable-gtk-doc-html=no  --enable-gtk-doc-pdf=no  --enable-webkit1=no --enable-credential-storage=no --enable-debug-symbols=full

After the run is over, files are same at this point. But when you start building, first thing make does is (re)configure. At this point file is overwritten.
Comment 5 Zan Dobersek 2014-01-23 00:46:55 PST
This seems to occur because you're using autoconf 2.68 while the configure script was generated with autoconf 2.69. I'm not certain this is necessarily a bad thing (i.e. a valid bug).

If you're not able to upgrade to autoconf 2.69, you should probably work around this by forcing a mock configuration of the source tree before adding it to the git repository.
Comment 6 Martin Robinson 2021-05-06 01:46:04 PDT
Closing this since WebKitGTK no longer uses autotools.