Closed Bug 599570 Opened 14 years ago Closed 14 years ago

[Windows 2000] yasm.exe fails: "Not a valid Win32 app" or "Bad file number"

Categories

(Firefox Build System :: MozillaBuild, task)

x86
Windows 2000
task
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sgautherie, Unassigned)

References

()

Details

I am eventually upgrading from MB 1.3 to MB 1.5.1. After "fixing" bug 599567, I discovered this one. http://mxr.mozilla.org/mozilla-central/source/configure.in { 4698 YASM_VERSION=`yasm --version | sed -nre "$_YASM_VER_FILTER"` 6004 if test "$_YASM_MAJOR_VERSION" -gt "1" -o \( "$_YASM_MAJOR_VERSION" -eq "1" -a "$_YASM_MINOR_VERSION" -ge "1" \) ; then } reports { .../configure: line 14252: .../mozilla-build/yasm/yasm: Bad file number .../configure: line 17751: test: : integer expression expected } NB: The 2nd warning (empty check) is caused by the 1st one (failed version retrieval). Manually, I get { $ yasm --version bash: .../mozilla-build/yasm/yasm: Bad file number } I tried to move and run the file from various paths: no better. Could it be that the shipped executable is incompatible with (my) Windows 2000? NB: 'ac_add_options --disable-webm' still works for me, as a workaround.
Ftr, the included yasm.exe in MB 1.5.1 is (identical to) http://www.tortall.net/projects/yasm/wiki/Download "Win32 .exe (for general use on 32-bit Windows)" yasm-1.1.0-win32.exe I tried various versions from that page: *0.1.0 to 1.0.0: '--version' works fine. *1.0.1 to 1.1.0: "Not a valid Win32 app" from cmd.exe. I filed http://www.tortall.net/projects/yasm/ticket/225...
Summary: [Windows 2000 !?] yasm.exe fails: "Bad file number" → [Windows 2000] yasm.exe fails: "Not a valid Win32 app" or "Bad file number"
If this is win2k-only, then I think it is WONTFIX, and we'll just require Windows XP or higher as a build-time requirement.
Yeah, I can't say I particularly care. I haven't heard anyone else complain that it wasn't working.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
[Mid-air collision detected!] (In reply to comment #1) > I filed http://www.tortall.net/projects/yasm/ticket/225... { comment 1 ... by peter@... ... we switched to building the Win32 release with Visual Studio 2010; ... The fix is probably to rebuild with an older Visual Studio or cygwin. I'll see if we can do that for the next release. } (In reply to comment #2) > If this is win2k-only, then I think it is WONTFIX, and we'll just require > Windows XP or higher as a build-time requirement. I would [have] suggest to leave this bug open until the yasm ticket is resolved (either fixed or wontfix). Ftb, '--disable-webm' is enough: no need to upgrade the requirements yet. NB: I understand Windows 2000 is "deprecated", yet I would be happy if it could still be used to build until at least Gecko 2.0 release/branch...
Product: mozilla.org → Firefox Build System
You need to log in before you can comment on or make changes to this bug.