Skip to content

Geckolib does not build on Windows #12505

@larsbergstrom

Description

@larsbergstrom

See: http://build.servo.org/builders/windows-dev/builds/0

 (view as text)

bash -l ./mach build-geckolib
 in dir c:\buildbot\slave\windows-dev\build (timeout 1200 secs)
 watching logfiles {}
 argv: ['bash', '-l', './mach', 'build-geckolib']
 environment:
  ALLUSERSPROFILE=C:\ProgramData
  APPDATA=C:\Windows\system32\config\systemprofile\AppData\Roaming
  CARGO_HOME=/home/Administrator/.cargo
  COMMONPROGRAMFILES=C:\Program Files\Common Files
  COMMONPROGRAMFILES(X86)=C:\Program Files (x86)\Common Files
  COMMONPROGRAMW6432=C:\Program Files\Common Files
  COMPUTERNAME=WIN-1UDOTULBFGN
  COMSPEC=C:\Windows\system32\cmd.exe
  FP_NO_HOST_CHECK=NO
  HOME=C:\buildbot\slave\windows\build
  LOCALAPPDATA=C:\Windows\system32\config\systemprofile\AppData\Local
  MSYS=winsymlinks=lnk
  MSYSTEM=MINGW64
  NUMBER_OF_PROCESSORS=4
  OS=Windows_NT
  PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Amazon\cfn-bootstrap
  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  PROCESSOR_ARCHITECTURE=AMD64
  PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 63 Stepping 2, GenuineIntel
  PROCESSOR_LEVEL=6
  PROCESSOR_REVISION=3f02
  PROGRAMDATA=C:\ProgramData
  PROGRAMFILES=C:\Program Files
  PROGRAMFILES(X86)=C:\Program Files (x86)
  PROGRAMW6432=C:\Program Files
  PSMODULEPATH=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\AWS Tools\PowerShell\
  PUBLIC=C:\Users\Public
  PWD=c:\buildbot\slave\windows-dev\build
  RUST_BACKTRACE=1
  SERVO_CACHE_DIR=/home/Administrator/.servo
  SYSTEMDRIVE=C:
  SYSTEMROOT=C:\Windows
  TEMP=C:\Windows\TEMP
  TMP=C:\Windows\TEMP
  USERDOMAIN=WORKGROUP
  USERNAME=WIN-1UDOTULBFGN$
  USERPROFILE=C:\Windows\system32\config\systemprofile
  WINDIR=C:\Windows
 using PTY: False
   Compiling winapi-build v0.1.1
   Compiling cfg-if v0.1.0
   Compiling void v1.0.2
   Compiling log v0.3.6
   Compiling heapsize v0.3.6
   Compiling encoding_index_tests v0.1.4
   Compiling encoding-index-korean v1.20141219.5
   Compiling encoding-index-singlebyte v1.20141219.5
   Compiling utf8-ranges v0.1.3
   Compiling num-traits v0.1.32
   Compiling serde v0.7.11
   Compiling encoding-index-simpchinese v1.20141219.5
   Compiling unicode-normalization v0.1.2
   Compiling encoding-index-japanese v1.20141219.5
   Compiling encoding-index-tradchinese v1.20141219.5
   Compiling getopts v0.2.14
   Compiling libc v0.2.13
   Compiling encoding v0.2.32
   Compiling rand v0.3.14
   Compiling num_cpus v0.2.13
   Compiling memchr v0.1.11
   Compiling aho-corasick v0.5.2
   Compiling kernel32-sys v0.2.1
   Compiling smallvec v0.1.8
   Compiling matches v0.1.2
   Compiling unicode-bidi v0.2.3
   Compiling deque v0.3.1
   Compiling rustc-serialize v0.3.19
   Compiling regex-syntax v0.3.3
   Compiling lazy_static v0.2.1
   Compiling geckoservo v0.0.1 (file:///C:/buildbot/slave/windows/build/ports/geckolib)
Build failed, waiting for other jobs to finish...
looking for rustc at /home/Administrator/.servo/rust/1.9.0/rustc-1.9.0-x86_64-pc-windows-gnu/rustc/bin/rustc
Downloading Rust compiler...
Extracting Rust compiler...
Rust compiler ready.
Downloading Host rust library for target x86_64-pc-windows-gnu...
Extracting Rust stdlib for target x86_64-pc-windows-gnu...
Rust x86_64-pc-windows-gnu libs ready.
GeckoLib build completed in 0:00:18
error: failed to run custom build command for `geckoservo v0.0.1 (file:///C:/buildbot/slave/windows/build/ports/geckolib)`
Process didn't exit successfully: `C:/buildbot/slave/windows/build/target/geckolib\debug\build\geckoservo-a221eed8255cdac6\build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=..\..\components\style\properties
cargo:rerun-if-changed=properties.mako.rs

--- stderr


Traceback (most recent call last):
  File "components\style\properties\build.py", line 53, in render
    strict_undefined=True)
  File "components/style/properties/Mako-0.9.1.zip/mako/template.py", line 303, in __init__
    (code, module) = _compile_text(self, text, filename)
  File "components/style/properties/Mako-0.9.1.zip/mako/template.py", line 647, in _compile_text
    generate_magic_comment=template.disable_unicode)
  File "components/style/properties/Mako-0.9.1.zip/mako/template.py", line 628, in _compile
    node = lexer.parse()
  File "components/style/properties/Mako-0.9.1.zip/mako/lexer.py", line 234, in parse
    if self.match_control_line():
  File "components/style/properties/Mako-0.9.1.zip/mako/lexer.py", line 426, in match_control_line
    self.append_node(parsetree.ControlLine, keyword, isend, text)
  File "components/style/properties/Mako-0.9.1.zip/mako/lexer.py", line 132, in append_node
    node = nodecls(*args, **kwargs)
  File "components/style/properties/Mako-0.9.1.zip/mako/parsetree.py", line 77, in __init__
    code = ast.PythonFragment(text, **self.exception_kwargs)
  File "components/style/properties/Mako-0.9.1.zip/mako/ast.py", line 79, in __init__
    code, **exception_kwargs)
CompileException: Fragment 'if style_struct.gecko_ffi_name in "nsStyleBorder nsStyleDisplay nsStyleList nsStyleBackground "\' is not a partial control statement in file 'components/style/properties/../../../ports/geckolib/properties.mako.rs' at line: 404 char: 1


program finished with exit code 101
elapsedTime=53.928000

cc @emilio @upsuper

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-styloP-windowsAny version of Windows capable of running Servo

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions