Closed Bug 993170 Opened 11 years ago Closed 11 years ago

Remove generated configure file from repository

Categories

(NSPR :: NSPR, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gkw, Assigned: gkw)

Details

Attachments

(2 obsolete files)

Should we remove configure from the repository? Since it is a generated file, it is causing issues with file versioning and control, Mercurial in particular. http://hg.mozilla.org/mozilla-central/file/default/nsprpub/configure FWIW, it is not in js/src, and it is present in .hgignore. I guess we could remove it and add corresponding entries to nsprpub in .hgignore for: # SpiderMonkey configury ^js/src/configure$ ^js/src/autom4te.cache$
Attached patch patch v0 (obsolete) — Splinter Review
Taking an early stab at this.
Assignee: wtc → gary
Status: NEW → ASSIGNED
Attachment #8402982 - Flags: review?(wtc)
$ hg st M nsprpub\configure ? nsprpub\autom4te.cache\output.0 ? nsprpub\autom4te.cache\requests ? nsprpub\autom4te.cache\traces.0 These is an example of a problem I hit when trying to bisect, or when applying a patch via mq then qpop'ing it later.
Attached patch patch v0.1 (obsolete) — Splinter Review
Take 2, rebased to apply on top of changeset 488caa16c617 on mozilla-inbound tip.
Attachment #8402982 - Attachment is obsolete: true
Attachment #8402982 - Flags: review?(wtc)
Attachment #8402990 - Flags: review?(wtc)
Hi Gary, Thank you for the patch. The NSPR upstream has the generated configure file so that people can run configure directly. As for the nsprpub directory in the Mozilla source tree, I would prefer that it is an exact copy of the NSPR upstream. But if you really want to remove nsprpub/configure in the Mozilla source tree, you need to modify the script we use to import an NSPR tag into the Mozilla source tree. It is step 2 in this page: https://developer.mozilla.org/en-US/docs/Updating_NSPR_or_NSS_in_mozilla-central Also note that the latest nsprpub/configure.in requires autoconf 2.6x.
In this case, does it make sense to only add nsprpub/configure to .hgignore? (Yes, I know about the newer autoconf 2.6x for newer versions, and autoconf 2.13 for older ones)
Flags: needinfo?(wtc)
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #2) > $ hg st > M nsprpub\configure > ? nsprpub\autom4te.cache\output.0 > ? nsprpub\autom4te.cache\requests > ? nsprpub\autom4te.cache\traces.0 > > These is an example of a problem I hit when trying to bisect, or when > applying a patch via mq then qpop'ing it later. That means autoconf is being run despite configure being there and up-to-date. /That/ is the real problem (combined with everyone having different versions of autoconf which lead to configure being different for everyone)
(In reply to Gary Kwong [:gkw] [:nth10sd] from comment #5) > In this case, does it make sense to only add nsprpub/configure to .hgignore? .hgignore is for files not tracked by hg, right? nsprpub/configure is under hg control.
Flags: needinfo?(wtc)
Comment on attachment 8402990 [details] [diff] [review] patch v0.1 It sounds like this isn't a good way forward then. I'll see if I can figure something out on my side - in the meantime let's obsolete this patch.
Attachment #8402990 - Attachment is obsolete: true
Attachment #8402990 - Flags: review?(wtc)
Seems like the generated configure file also works on Windows, and autoconf is not needed to be run prior, so I guess this issue is a WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: