Closed
Bug 634003
Opened 15 years ago
Closed 15 years ago
yasm version check broken
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla2.0b12
People
(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)
References
Details
Attachments
(1 file)
|
1.06 KB,
patch
|
ted
:
review+
benjamin
:
approval2.0+
|
Details | Diff | Splinter Review |
See bug 608423 comment 14.
$ yasm --version | sed -ne "s|.* \([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\).*|\1|p"
(no output)
I wonder if this works anywhere? It doesn't work on my Linux box, and it doesn't work on Windows. Does it even work on Mac?
I think, *maybe*,
$ yasm --version | sed -ne "s|.* \([0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}\).*|\1|p"
1.1.0.2352
is right. It also works with --posix. Does someone have a Windows and Mac box handy to test on?
Comment 1•15 years ago
|
||
The former fails and the latter gives expected results with MozillaBuild 1.5.1 on Win7 x64 here.
| Assignee | ||
Comment 2•15 years ago
|
||
Attachment #512207 -
Flags: review?(ted.mielczarek)
Comment 3•15 years ago
|
||
On OS X 10.5 with Fink's yasm (there is no system yasm) installed: the first gives no output, the 2nd gives "1.0.1.2326"
Comment 4•15 years ago
|
||
Comment on attachment 512207 [details] [diff] [review]
Patch v1
I'm r+ing this as if I can really parse that, but having tested it on all three Tier-1 platforms, I feel ok.
Attachment #512207 -
Flags: review?(ted.mielczarek) → review+
Updated•15 years ago
|
Assignee: nobody → justin.lebar+bug
| Assignee | ||
Comment 5•15 years ago
|
||
Yeah, the syntax is really gross.
One of these days, configure will be a Python script, and all will be right with the world.
| Assignee | ||
Comment 6•15 years ago
|
||
Comment on attachment 512207 [details] [diff] [review]
Patch v1
Requesting a2.0.
This is green on try [1], so it shouldn't break the build. I looked through the logs of the builds and don't see any yasm errors during configure (although, to be fair, I've missed them before).
[1] http://tbpl.mozilla.org/?tree=MozillaTry&rev=0384189a6297
Attachment #512207 -
Flags: approval2.0?
Updated•15 years ago
|
Attachment #512207 -
Flags: approval2.0? → approval2.0+
| Assignee | ||
Comment 7•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 8•15 years ago
|
||
(In reply to comment #0)
> See bug 608423 comment 14.
V.Fixed, on my Windows 2000 too.
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Target Milestone: --- → mozilla2.0b12
Version: unspecified → Trunk
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•