rebuild erlang with wxwidgets support

未关闭
#6,077 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
erlang
领域
build-system

调研方向

Run the reported brew install wxmac and pkgx erl command first to reproduce the observer crash. Inspect the Erlang package definition and its build dependencies; done means rebuilding Erlang with wx support and confirming observer starts without the “No driver found” error.

由索引模型根据 Issue 内容生成。

描述

How to reproduce:

brew install wxmac
pkgx erl -sname observer -hidden -setcookie MyCookie -run observer

Expected:

image

Actual

Erlang/OTP 26 [erts-14.2.5] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit] [dtrace]

=CRASH REPORT==== 8-May-2024::00:34:05.731059 ===
  crasher:
    initial call: wxe_master:init/1
    pid: <0.92.0>
    registered_name: []
    exception error: {load_driver,"No driver found"}
      in function  wxe_util:priv_dir/2 (wxe_util.erl, line 190)
      in call from wxe_util:init_nif/1 (wxe_util.erl, line 58)
      in call from wxe_master:init/1 (wxe_master.erl, line 114)
      in call from gen_server:init_it/2 (gen_server.erl, line 980)
      in call from gen_server:init_it/6 (gen_server.erl, line 935)
    ancestors: [<0.91.0>,observer,<0.9.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 987
    stack_size: 28
    reductions: 1700
  neighbours:

=CRASH REPORT==== 8-May-2024::00:34:05.741100 ===
  crasher:
    initial call: wxe_server:init/1
    pid: <0.91.0>
    registered_name: []
    exception error: {load_driver,"No driver found"}
      in function  wxe_util:priv_dir/2 (wxe_util.erl, line 190)
      in call from wxe_util:init_nif/1 (wxe_util.erl, line 58)
      in call from wxe_master:init/1 (wxe_master.erl, line 114)
      in call from gen_server:init_it/2 (gen_server.erl, line 980)
      in call from gen_server:init_it/6 (gen_server.erl, line 935)
    ancestors: [observer,<0.9.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 226
  neighbours:

=CRASH REPORT==== 8-May-2024::00:34:05.741306 ===
  crasher:
    initial call: observer_wx:init/1
    pid: <0.90.0>
    registered_name: observer
    exception exit: {{load_driver,"No driver found"},
                     [{wxe_server,start,1,[{file,"wxe_server.erl"},{line,65}]},
                      {wx,new,1,[{file,"wx.erl"},{line,115}]},
                      {observer_wx,init,1,
                                   [{file,"observer_wx.erl"},{line,113}]},
                      {wx_object,init_it,6,
                                 [{file,"wx_object.erl"},{line,416}]},
                      {proc_lib,init_p_do_apply,3,
                                [{file,"proc_lib.erl"},{line,241}]}]}
      in function  wx_object:init_it/6 (wx_object.erl, line 426)
    ancestors: [<0.9.0>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: [{'_wx_object_',{observer_wx,'_wx_init_'}}]
    trap_exit: false
    status: running
    heap_size: 987
    stack_size: 28
    reductions: 279
  neighbours:

Eshell V14.2.5 (press Ctrl+G to abort, type help(). for help)
主要语言
C
星标
199
派生
142
平均合并
2 小时 28 分钟
30 天内合并 PR
150

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

pkgxdev/pantry 的其他 Issue

查看 pkgxdev/pantry 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。