Closed
Bug 781461
Opened 12 years ago
Closed 12 years ago
c-c configure fails, config.status is bogus
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla17
People
(Reporter: gaston, Assigned: glandium)
Details
Attachments
(1 file)
2.87 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
Since some days c-c configure fails on OpenBSD with creating ./config.status Traceback (most recent call last): File "./config.status", line 8, in <module> sys.path.append(os.path.join(topsrcdir, mozilla, 'build')) NameError: name 'mozilla' is not defined *** Fix above errors and then restart with "gmake -f client.mk build" See for example http://buildbot.rhaalovely.net/builders/comm-central-i386/builds/240/steps/configure/logs/stdio The generated config.status has 'mozilla' quotes removed, coming from m-c build/autoconf/config.status.m4 ? # head objdir/config.status #!/usr/local/bin/python2.7 # coding=utf-8 import os, sys topsrcdir = '''/var/buildslave-mozilla/comm-central-amd64/build''' if not os.path.isabs(topsrcdir): topsrcdir = os.path.normpath(os.path.join(os.path.dirname(__file__), topsrcdir)) sys.path.append(os.path.join(topsrcdir, mozilla, 'build')) from ConfigStatus import config_status This is with sh being run from pdksh @(#)PD KSH v5.2.14 99/07/13.2 Likely because the quotes in configure line : topsrcdir = os.path.normpath(os.path.join(os.path.dirname(__file__), topsrcdir)) sys.path.append(os.path.join(topsrcdir, ${COMM_BUILD:+'mozilla',} 'build')) from ConfigStatus import config_status are stripped by ksh: # FOO=bar # cat <<EOF > echo ${FOO:+'blah',} > EOF echo blah, #
Assignee | ||
Comment 1•12 years ago
|
||
(In reply to Landry Breuil (:gaston) from comment #0) > are stripped by ksh: by ksh from openbsd.
Assignee | ||
Comment 2•12 years ago
|
||
Looks like a bug in both mksh and pdksh. Not happening in dash, bash and ksh (the real ksh)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #650470 -
Flags: review?(ted.mielczarek)
Updated•12 years ago
|
Attachment #650470 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mh+mozilla
Assignee | ||
Comment 4•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e5080772cee8
Comment 5•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e5080772cee8
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Reporter | ||
Comment 6•12 years ago
|
||
Just a sidenote, this indeed is a bug in our pdksh, and will be fixed. See http://marc.info/?l=openbsd-tech&m=134451592625002&w=2 for discussion.
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•