haskell / haskell/ThreadScope

ThreadScope does not build

Đang mở
#122 4 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Haskell
Star
173
Fork
37
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

The attempt to build was made on Ubuntu 21.10 using stack and the current state of ThreadScope master branch. commit d70f45eb1d6a5dab13d4ea338d58d91389b77bd4

```
cairo > configure
cairo > [1 of 2] Compiling Main ( /tmp/stack-a013ee6ff927ebc3/cairo-0.13.8.1/Setup.hs, /tmp/stack-a013ee6ff927ebc3/cairo-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/Main.o )
cairo > [2 of 2] Compiling StackSetupShim ( /home/pfp/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-a013ee6ff927ebc3/cairo-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/StackSetupShim.o )
cairo > Linking /tmp/stack-a013ee6ff927ebc3/cairo-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/setup ...
cairo > Configuring cairo-0.13.8.1...
cairo > build
glib > configure
cairo > Preprocessing library for cairo-0.13.8.1..
cairo > setup: Error in C header file.
cairo >
cairo > cairo-gtk2hs.i:1: (column 1) [FATAL]
cairo > >>> Lexical error!
cairo > The character '#' does not fit here.
cairo >
glib > [1 of 2] Compiling Main ( /tmp/stack-a013ee6ff927ebc3/glib-0.13.8.1/Setup.hs, /tmp/stack-a013ee6ff927ebc3/glib-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/Main.o )
glib > [2 of 2] Compiling StackSetupShim ( /home/pfp/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-a013ee6ff927ebc3/glib-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/StackSetupShim.o )
glib > Linking /tmp/stack-a013ee6ff927ebc3/glib-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/setup ...
glib > Configuring glib-0.13.8.1...
glib > build
glib > Preprocessing library for glib-0.13.8.1..
glib > setup: Error in C header file.
glib >
glib > glib-object.i:1: (column 1) [FATAL]
glib > >>> Lexical error!
glib > The character '#' does not fit here.
glib >
Progress 2/6

-- While building package glib-0.13.8.1 (scroll up to its section to see the error) using:
/tmp/stack-a013ee6ff927ebc3/glib-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 build --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1

-- While building package cairo-0.13.8.1 (scroll up to its section to see the error) using:
/tmp/stack-a013ee6ff927ebc3/cairo-0.13.8.1/.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-3.0.1.0 build --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Tái hiện bản build bằng Stack trên Ubuntu 21.10 tại commit d70f45eb1d6a5dab13d4ea338d58d91389b77bd4. Bắt đầu với các lỗi tiền xử lý của cairo và glib, đặc biệt là các lỗi từ vựng trong C-header được báo cáo ở cairo-gtk2hs.i và glib-object.i. Hoàn thành khi branch master của ThreadScope build thành công mà không có các lỗi này.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
haskell
Lĩnh vực
build-system, desktop
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.