rebuild erlang with wxwidgets support

Aperta
#6,077 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
erlang
Ambito
build-system

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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)
Lingua principale
C
Stelle
199
Fork
142
Merge medio
2h 33m
PR unite (30g)
145

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pkgxdev/pantry

Tutte le issue di pkgxdev/pantry

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.