JuliaDebug / Gallium.jl

The Julia debugger
Other
174 stars 23 forks source link

using Gallium on win32 fails #195

Open lobingera opened 7 years ago

lobingera commented 7 years ago

I don't have a local windows computer, so for some testing i connect to appveyor builds. My session looked like this:

C:\projects\julia\bin>julia.exe
               _
   _       _ _(_)_     |  A fresh approach to technical computing
  (_)     | (_) (_)    |  Documentation: https://docs.julialang.org
   _ _   _| |_  __ _   |  Type "?help" for help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 0.5.2 (2017-05-06 16:34 UTC)
 _/ |\__'_|_|_|\__'_|  |  Official http://julialang.org/ release
|__/                   |  i686-w64-mingw32

julia> Pkg.status()
16 additional packages:
 - BinDeps                       0.6.0
 - BufferedStreams               0.3.3
 - Cairo                         0.3.0
 - ColorTypes                    0.5.1
 - Colors                        0.7.3
 - Compat                        0.26.0
 - FixedPointNumbers             0.3.8
 - Graphics                      0.2.0
 - L1Dummy                       0.0.0-             master (unregistered)
 - LibExpat                      0.2.5
 - Libz                          0.2.4
 - NaNMath                       0.2.5
 - Reexport                      0.0.3
 - SHA                           0.3.3
 - URIParser                     0.1.8
 - WinRPM                        0.2.5

julia> Pkg.add("Gallium")
INFO: Cloning cache of ASTInterpreter from https://github.com/Keno/ASTInterprete
r.jl.git
INFO: Cloning cache of AbstractTrees from https://github.com/Keno/AbstractTrees.
jl.git
INFO: Cloning cache of ArgParse from https://github.com/carlobaldassi/ArgParse.j
l.git
INFO: Cloning cache of COFF from https://github.com/Keno/COFF.jl.git
INFO: Cloning cache of CRC from https://github.com/andrewcooke/CRC.jl.git
INFO: Cloning cache of DWARF from https://github.com/Keno/DWARF.jl.git
INFO: Cloning cache of DataStructures from https://github.com/JuliaCollections/D
ataStructures.jl.git
INFO: Cloning cache of ELF from https://github.com/Keno/ELF.jl.git
INFO: Cloning cache of FileIO from https://github.com/JuliaIO/FileIO.jl.git
INFO: Cloning cache of Gallium from https://github.com/Keno/Gallium.jl.git
INFO: Cloning cache of JuliaParser from https://github.com/JuliaLang/JuliaParser
.jl.git
INFO: Cloning cache of MachO from https://github.com/Keno/MachO.jl.git
INFO: Cloning cache of ObjFileBase from https://github.com/Keno/ObjFileBase.jl.g
it
INFO: Cloning cache of Reactive from https://github.com/JuliaGizmos/Reactive.jl.
git
INFO: Cloning cache of StructIO from https://github.com/Keno/StructIO.jl.git
INFO: Cloning cache of TerminalUI from https://github.com/Keno/TerminalUI.jl.git

INFO: Cloning cache of TextWrap from https://github.com/carlobaldassi/TextWrap.j
l.git
INFO: Cloning cache of VT100 from https://github.com/Keno/VT100.jl.git
INFO: Installing ASTInterpreter v0.0.4
INFO: Installing AbstractTrees v0.0.4
INFO: Installing ArgParse v0.5.0
INFO: Installing COFF v0.0.2
INFO: Installing CRC v1.2.0
INFO: Installing DWARF v0.1.0
INFO: Installing DataStructures v0.5.3
INFO: Installing ELF v0.1.0
INFO: Installing FileIO v0.4.2
INFO: Installing Gallium v0.0.4
INFO: Installing JuliaParser v0.7.4
INFO: Installing MachO v0.0.4
INFO: Installing ObjFileBase v0.0.4
INFO: Installing Reactive v0.5.2
INFO: Installing StructIO v0.0.2
INFO: Installing TerminalUI v0.0.2
INFO: Installing TextWrap v0.2.0
INFO: Installing VT100 v0.1.0
INFO: Package database updated

julia> using BinDeps

julia> BinDeps.debug("Cairo")
INFO: Reading build script...
WARNING: BinDeps.shlib_ext is deprecated.
  likely near C:\Users\appveyor\.julia\v0.5\Cairo\deps\build.jl:112
The package declares 1 dependencies.
 - Library Group "cairo"INFO: Updating WinRPM package list
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repos
itories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading https://cache.julialang.org/http://download.opensuse.org/repos
itories/windows:/mingw:/win64/openSUSE_Leap_42.2/repodata/repomd.xml

     - Library "png" (not applicable to this system)
     - Library "pixman" (not applicable to this system)
     - Library "ffi" (not applicable to this system)
     - Library "gettext" (not applicable to this system)
     - Library "gobject"
        - Satisfied by:
          - WinRPM.RPM package String["glib2","libgobject-2_0-0"] at C:\Users\ap
pveyor\.julia\v0.5\WinRPM\deps\usr\i686-w64-mingw32\sys-root\mingw\bin\libgobjec
t-2.0-0.dll
        - Providers:
          - WinRPM.RPM package String["glib2","libgobject-2_0-0"]
          - BinDeps.AptGet package libglib2.0-0 (can't provide)
          - BinDeps.Yum package glib2 (can't provide)
          - BinDeps.Zypper package libglib-2.0 (can't provide)
          - Autotools Build
     - Library "freetype" (not applicable to this system)
     - Library "fontconfig" (not applicable to this system)
     - Library "cairo"
        - Providers:
          - WinRPM.RPM package String["libcairo2","libharfbuzz0"]
          - BinDeps.AptGet package libcairo2 (can't provide)
          - BinDeps.Yum package cairo (can't provide)
          - BinDeps.Zypper package libcairo (can't provide)
          - Autotools Build
     - Library "pango"
        - Providers:
          - WinRPM.RPM package libpango-1_0-0
          - BinDeps.AptGet package libpango1.0-0 (can't provide)
          - BinDeps.Yum package pango (can't provide)
          - BinDeps.Zypper package libpango-1.0 (can't provide)
          - Autotools Build
     - Library "pangocairo"
        - Providers:
          - WinRPM.RPM package libpango-1_0-0
          - BinDeps.AptGet package libpango1.0-0 (can't provide)
          - BinDeps.Yum package pango (can't provide)
          - BinDeps.Zypper package libpango-1.0 (can't provide)
          - Autotools Build
     - Library "zlib"
        - Satisfied by:
          - WinRPM.RPM package zlib-devel at C:\Users\appveyor\.julia\v0.5\WinRP
M\deps\usr\i686-w64-mingw32\sys-root\mingw\bin\zlib1.DLL
          - System Paths at C:\projects\julia\bin\zlib1.DLL
        - Providers:
          - WinRPM.RPM package zlib-devel
          - Simple Build Process

julia> using Gallium
INFO: Precompiling module Gallium.
WARNING: FixedPointNumbers.UFixed8 is deprecated, use FixedPointNumbers.Normed{U
Int8, 8} instead.
  likely near C:\Users\appveyor\.julia\v0.5\TerminalUI\src\render.jl:12
WARNING: could not import StructIO.pack into COFF
ERROR: LoadError: error compiling __init__: could not load library "C:\Users\app
veyor\.julia\v0.5\Gallium\src\Hooking\hooking"
%1 is not a valid Win32 application.

 in include_from_node1 at .\loading.jl:488
 in eval at .\boot.jl:234
 in process_options at .\client.jl:242
 in _start at .\client.jl:321
while loading C:\Users\appveyor\.julia\v0.5\Gallium\src\Gallium.jl, in expressio
n starting on line 975
ERROR: Failed to precompile Gallium to C:\Users\appveyor\.julia\lib\v0.5\Gallium
.ji.
 in compilecache at .\loading.jl:593
in require at .\loading.jl:422