pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/57150: lang/elixir fails on NetBSD 9.2 with -J 8



>Number:         57150
>Category:       pkg
>Synopsis:       lang/elixir fails on NetBSD 9.2 with -J 8
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 30 19:30:00 +0000 2022
>Originator:     John Klos
>Release:        NetBSD 9.2_STABLE
>Organization:
	
>Environment:
	
	
System: NetBSD daisy.zia.io 9.2_STABLE NetBSD 9.2_STABLE (DAISY) #0: Sun Mar 13 01:23:07 UTC 2022 john%daisy.zia.io@localhost:/usr/obj-amd64/sys/arch/amd64/compile/DAISY amd64
Architecture: x86_64
Machine: amd64
>Description:
	
With latest pkgsrc, try to build lang/elixir with MAKE_JOBS=8:
...
gmake[1]: Entering directory '/usr/pkgsrc/lang/elixir/work/elixir-1.14.2'
==> unicode (compile)
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
[Unicode] Break on 25 whitespace codepoints
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
[Unicode] Tokenizing 107876 non-ascii codepoints
[Unicode] Tokenizing 44 scriptsets
gmake[1]: Leaving directory '/usr/pkgsrc/lang/elixir/work/elixir-1.14.2'
==> elixir (compile)
warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction as it expects utf8. Please ensure your locale is set to UTF-8 (which can be verified by running "locale" in your shell)
gmake[1]: Entering directory '/usr/pkgsrc/lang/elixir/work/elixir-1.14.2'
Generated elixir app
gmake[1]: Leaving directory '/usr/pkgsrc/lang/elixir/work/elixir-1.14.2'
*** Error code 2


After adding this to elixir's Makefile:

MAKE_ENV += LC_CTYPE="en_US.UTF-8"
MAKE_ENV += LC_LANG="en_US.UTF-8"  
MAKE_ENV += LC_ALL=""

the build fails with:

==> logger (compile)
{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["+elixirc","--ignore-module-conflict","lib/**/*.ex","-o","ebin"]],[]},{init,start_em,1,[]},{init,do_b{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["-e","Mix.start(:permanent, [])","-r","mix.exs","-e","Mix.Task.run(\"compile.app\", ~w[--compile-path ebin])"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Elixir.Kernel.CLI,main,-eMix.start(:permanent, [])-rmix.exs-eMix.Task.run("compile.app", ~w[--compile-path ebin]),[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
o
Crash dump is being written to: erl_crash.dump...ot,3,[]}]}}
init terminating in do_boot ({unde{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["-e","Mix.start(:permanent, [])","-r","mix.exs","-e","Mix.Task.run(\"compile.app\", ~w[--compile-path ebin])"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Elixir.Kernel.CLI,main,-eMix.start(:permanent, [])-rmix.exs-eMix.Task.run("compile.app", ~w[--compile-path ebin]),[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...f,[{Elixir.Kernel.CLI,main,+elixirc--ignore-module-conflictlib/**/*.ex-oebin,[]},{init,start_em,1,[]},{ini{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["-e","Mix.start(:permanent, [])","-r","mix.exs","-e","Mix.Task.run(\"compile.app\", ~w[--compile-path ebin])"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Elixir.Kernel.CLI,main,-eMix.start(:permanent, [])-rmix.exs-eMix.Task.run("compile.app", ~w[--compile-path ebin]),[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
t,
Crash dump is being written to: erl_crash.dump...do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["+elixirc","--ignore-module-conflict","lib/**/*.ex","-o","ebin"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Elixir.Kernel.CLI,main,+elixirc--ignore-module-conflictlib/**/*.ex-oebin,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done
{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["+elixirc","--ignore-module-conflict","lib/**/*.ex","-o","ebin"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Elixir.Kernel.CLI,main,+elixirc--ignore-module-conflictlib/**/*.ex-oebin,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...gmake: *** [Makefile:112: lib/ex_unit/ebin/ex_unit.app] Error 1
gmake: *** Waiting for unfinished jobs....
done
gmake: *** [Makefile:115: lib/mix/ebin/mix.app] Error 1
done
done
gmake: *** [Makefile:113: lib/logger/ebin/logger.app] Error 1
gmake: *** [Makefile:117: lib/mix/ebin/Elixir.Mix.beam] Error 1
{"init terminating in do_boot",{undef,[{'Elixir.Kernel.CLI',main,[["+elixirc","--ignore-module-conflict","lib/**/*.ex","-o","ebin"]],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({undef,[{Elixir.Kernel.CLI,main,+elixirc--ignore-module-conflictlib/**/*.ex-oebin,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]})

Crash dump is being written to: erl_crash.dump...done
gmake: *** [Makefile:114: lib/ex_unit/ebin/Elixir.ExUnit.beam] Error 1
done
gmake: *** [Makefile:116: lib/eex/ebin/Elixir.EEx.beam] Error 1
done
gmake: *** [Makefile:115: lib/logger/ebin/Elixir.Logger.beam] Error 1


Retrying from scratch with MAKE_JOBS=1 results in success.
Fails with MAKE_JOBS=2 or greater.


>How-To-Repeat:
	
>Fix:
	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index