[Pkg-erlang-devel] Bug#844593: Bug#844593: erlang-wx: WX broken due to "-fno-pie -no-pie" CFLAGS/LDFLAGS

Sergei Golovan sgolovan at nes.ru
Thu Nov 17 09:35:48 UTC 2016


Hi Johannes,

On Thu, Nov 17, 2016 at 12:30 PM, Johannes Weißl <jargon at molb.org> wrote:
> Package: erlang-wx
> Version: 1:19.1.6+dfsg-1
> Severity: grave
> Tags: upstream patch
> Justification: renders package unusable
>
> The solution of bug #842998 breaks WX:
>
>     1> observer:start().
>     {error,{{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,104}]},
>              {wx_object,init_it,6,[{file,"wx_object.erl"},{line,355}]},
>              {proc_lib,init_p_do_apply,3,
>                        [{file,"proc_lib.erl"},{line,247}]}]}}
>
>     =ERROR REPORT==== 17-Nov-2016::10:12:15 ===
>     ERROR: Could not find 'wxe_driver.so' in: /usr/lib/erlang/lib/wx-1.7.1/priv

Sorry, I've missed this.

>
> What works is to remove "-fno-pie -no-pie" from CFLAGS and LDFLAGS in
> debian/rules and to apply the following two upstream patches:
>
> - https://github.com/erlang/otp/commit/5aa13e16ae81050509fceaf603650fc8594af7ec.patch
> - https://github.com/erlang/otp/commit/edfa3b87542687baa2530a41241eb83d9afda1fb.patch
>
> (both are necessary).

Thank you for the patches. I'll upload the updated package soon.

Cheers!
-- 
Sergei Golovan



More information about the Pkg-erlang-devel mailing list