Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21679 - [erlang] is broken for R14B
Attached to Project:
Community Packages
Opened by T L (anykey) - Friday, 12 November 2010, 12:43 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 22 March 2012, 21:03 GMT
Opened by T L (anykey) - Friday, 12 November 2010, 12:43 GMT
Last edited by Alexander F. Rødseth (xyproto) - Thursday, 22 March 2012, 21:03 GMT
|
DetailsDescription:
Currently, in Arch Linux, wxErlang support is broken. Additional info: * package version(s): erlang-r14b-1, wxgtk-2.8.11 * config and/or log files etc. Steps to reproduce: 1. open shell 2. start erlang emulator ("erl"), type: wx:demo(). Instead of the wx demo starting, the process crashes with an error message: Driver not found. Suggested Fix: Remove the "fix to #17001" from the PKGBUILD (attached changed). This patch is no longer necessary in R14B. |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Thursday, 22 March 2012, 21:03 GMT
Reason for closing: Fixed
Additional comments about closing: Please reopen if this is still a problem.
Thursday, 22 March 2012, 21:03 GMT
Reason for closing: Fixed
Additional comments about closing: Please reopen if this is still a problem.
PKGBUILD
The precise error is:
----
Erlang R14B (erts-5.8.1) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:0] [hipe] [kernel-poll:false]
Eshell V5.8.1 (abort with ^G)
1> wx:demo().
=ERROR REPORT==== 12-Nov-2010::17:02:00 ===
WX ERROR: Could not find suitable 'wxe_driver' for x86_64-unknown-linux-gnu in: /usr/lib/erlang/lib/wx-0.98.7/priv
{error,{{load_driver,"No driver found"},
[{wxe_server,start,0},
{wx,new,1},
{demo,init,1},
{wx_object,init_it,6},
{proc_lib,init_p_do_apply,3}]}}
----
* one builds erlang correctly, and one doesn't.
* the binary package built from the machine which builds correctly works on both machines.
I don't understand this.
I also talked to people on IRC, and on other distros this is working. I will dig deeper if time permits.
As someone commented here http://bugs.gentoo.org/338664 the solution is to fix the linking flags.
http://bugs.gentoo.org/338664 seems to talk about #17001, which is fixed in R14B-2. It does not appear to address this issue.
Reverting the #17001 fix in PKBUILD as the Suggested Fix above does not address the issue -- in fact, the {error,{{load_driver,"undefined symbol: gluNewTess"} problem comes back.