Comments (8)
Well, all that problem was caused by the Citrix Workspace (used sometime ago for a job).
Uninstalling the application (sudo apt remove icaclient) was enough to make the kerl building run smoothly.
Thank you so much for your help.
from kerl.
Hi Paulo, thanks for the reply.
Using the option results in a different error, as shown below:
asdf_25.2.1 is not a kerl-managed Erlang/OTP installation
The asdf_25.2.1 build has been deleted
Extracting source code
Building Erlang/OTP 25.2.1 (asdf_25.2.1), please wait...
APPLICATIONS DISABLED (See: /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_build_25.2.1.log)
* megaco : User gave --without-megaco option
Build failed.
GEN /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts/start_scripts/start_sasl.rel
GEN /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts/start_scripts/start_all_example.rel
GEN /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts/start_scripts/no_dot_erlang.rel
GEN /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts/start_scripts/start_clean.script
Segmentation fault (core dumped)
gmake[2]: *** [Makefile:84: /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts/start_scripts/start_clean.script] Error 139
gmake[2]: Leaving directory '/home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts/start_scripts'
gmake[1]: *** [Makefile:73: local_setup] Error 2
gmake[1]: Leaving directory '/home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/erts'
gmake: *** [Makefile:1102: local_setup] Error 2
Please see /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_build_25.2.1.log for full details.
otp_build_25.2.1.log link to pastebin
from kerl.
This is not a problem with kerl or asdf, but with Erlang. It segfaults when trying to compile the first Erlang file which is a megaco file as all others are prebuilt.
The log you posted says that there was a core dumped (Segmentation fault (core dumped)
). Can you open that core file and post the backtrace using gdb?
from kerl.
I'm not sure the following will help, mostly because I don't have Pop!_OS available, but could you try
KERL_CONFIGURE_OPTIONS='--without-megaco' asdf install
?
This assumes asdf doesn't mess with the env. (which I believe it doesn't) and that the megaco compilation error seen in the logs is the cause of your issues.
from kerl.
For that I'm clueless, though. Let's see if anybody else, looking at these issues, has any ideas.
from kerl.
Hi garazdawi, thanks for the reply.
Looking in the log file, I can't tell exactly which executables it's trying to execute, so I used the beam.smp (from the folder bin/x86_64-pc).
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /home/aniltonjunior/.asdf/plugins/erlang/kerl-home/builds/asdf_25.2.1/otp_src_25.2.1/bin/x86_64-pc-linux-gnu/beam.smp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff74750c8 in __vfprintf_internal (s=s@entry=0x7fffff7ff3a0, format=format@entry=0x7ffff7c21458 "dlsym() called: symbol=%s handle=%p", ap=ap@entry=0x7fffff7ff528, mode_flags=mode_flags@entry=2) at ./stdio-common/vfprintf-internal.c:1180
1180 ./stdio-common/vfprintf-internal.c: No such file or directory.
(gdb) backtrace
#0 0x00007ffff74750c8 in __vfprintf_internal (s=s@entry=0x7fffff7ff3a0, format=format@entry=0x7ffff7c21458 "dlsym() called: symbol=%s handle=%p", ap=ap@entry=0x7fffff7ff528, mode_flags=mode_flags@entry=2)
at ./stdio-common/vfprintf-internal.c:1180
#1 0x00007ffff748851a in __vsnprintf_internal (string=0x7fffff7ff540 "", maxlen=<optimized out>, format=0x7ffff7c21458 "dlsym() called: symbol=%s handle=%p", args=0x7fffff7ff528, mode_flags=2)
at ./libio/vsnprintf.c:114
#2 0x00007ffff7c1dfbd in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#3 0x00007ffff7c081ce in dlsym () from /usr/local/lib/AppProtection/libAppProtection.so
#4 0x0000555555836a08 in do_init () at sys/unix/sys_signal_stack.c:184
#5 my_sigaction (signum=13, act=0x7fffff7ff8c0, oldact=0x7fffff7ff960) at sys/unix/sys_signal_stack.c:217
#6 0x00007ffff7c20819 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#7 0x00007ffff7c20dc5 in GetConfigFilePath () from /usr/local/lib/AppProtection/libAppProtection.so
#8 0x00007ffff7c1f598 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#9 0x00007ffff7c1fb4b in CtxLogInit () from /usr/local/lib/AppProtection/libAppProtection.so
#10 0x00007ffff7c1de4d in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#11 0x00007ffff7c08109 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#12 0x00007ffff7c082db in dlsym () from /usr/local/lib/AppProtection/libAppProtection.so
#13 0x0000555555836a08 in do_init () at sys/unix/sys_signal_stack.c:184
#14 my_sigaction (signum=13, act=0x7fffff7fff40, oldact=0x7fffff7fffe0) at sys/unix/sys_signal_stack.c:217
#15 0x00007ffff7c20819 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#16 0x00007ffff7c20dc5 in GetConfigFilePath () from /usr/local/lib/AppProtection/libAppProtection.so
#17 0x00007ffff7c1f598 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#18 0x00007ffff7c1fb4b in CtxLogInit () from /usr/local/lib/AppProtection/libAppProtection.so
#19 0x00007ffff7c1de4d in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#20 0x00007ffff7c08109 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#21 0x00007ffff7c082db in dlsym () from /usr/local/lib/AppProtection/libAppProtection.so
#22 0x0000555555836a08 in do_init () at sys/unix/sys_signal_stack.c:184
#23 my_sigaction (signum=13, act=0x7fffff8005c0, oldact=0x7fffff800660) at sys/unix/sys_signal_stack.c:217
#24 0x00007ffff7c20819 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#25 0x00007ffff7c20dc5 in GetConfigFilePath () from /usr/local/lib/AppProtection/libAppProtection.so
#26 0x00007ffff7c1f598 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#27 0x00007ffff7c1fb4b in CtxLogInit () from /usr/local/lib/AppProtection/libAppProtection.so
#28 0x00007ffff7c1de4d in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#29 0x00007ffff7c08109 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#30 0x00007ffff7c082db in dlsym () from /usr/local/lib/AppProtection/libAppProtection.so
#31 0x0000555555836a08 in do_init () at sys/unix/sys_signal_stack.c:184
#32 my_sigaction (signum=13, act=0x7fffff800c40, oldact=0x7fffff800ce0) at sys/unix/sys_signal_stack.c:217
#33 0x00007ffff7c20819 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#34 0x00007ffff7c20dc5 in GetConfigFilePath () from /usr/local/lib/AppProtection/libAppProtection.so
#35 0x00007ffff7c1f598 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#36 0x00007ffff7c1fb4b in CtxLogInit () from /usr/local/lib/AppProtection/libAppProtection.so
#37 0x00007ffff7c1de4d in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#38 0x00007ffff7c08109 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#39 0x00007ffff7c082db in dlsym () from /usr/local/lib/AppProtection/libAppProtection.so
#40 0x0000555555836a08 in do_init () at sys/unix/sys_signal_stack.c:184
#41 my_sigaction (signum=13, act=0x7fffff8012c0, oldact=0x7fffff801360) at sys/unix/sys_signal_stack.c:217
#42 0x00007ffff7c20819 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#43 0x00007ffff7c20dc5 in GetConfigFilePath () from /usr/local/lib/AppProtection/libAppProtection.so
#44 0x00007ffff7c1f598 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#45 0x00007ffff7c1fb4b in CtxLogInit () from /usr/local/lib/AppProtection/libAppProtection.so
#46 0x00007ffff7c1de4d in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#47 0x00007ffff7c08109 in ?? () from /usr/local/lib/AppProtection/libAppProtection.so
#48 0x00007ffff7c082db in dlsym () from /usr/local/lib/AppProtection/libAppProtection.so
link to complete backtrace file.io
from kerl.
I've never heard of anyone using Pop! OS
before, so it could be that it is messing with something. What exactly I don't know and it will be hard to figure out without installing it. A wild guess would be that the JIT does not work, so try disabling it and see if that makes things work: KERL_CONFIGURE_OPTIONS='--disable-jit' asdf install
.
The gdb backtrace you show prints something called AppProtection
which seems to be something related to Citrix and a quick google search shows that people have had problems with it before messing with applications. I'm assuming that you do not want to uninstall Citrix, so I don't know what, if anything, can be done about that.
from kerl.
@aniltonjunior, feel free to close the issue if you believe there's no need for follow-up.
from kerl.
Related Issues (20)
- zsh autocompletion failed
- `activate` breaks `man` for non-OTP man pages HOT 4
- kerl cannot be build on FreeBSD14. HOT 3
- Add Perl5 to common_ALL_BUILD_BACKEND_git_pkgs or _KPP_alpine_pkgs HOT 6
- Warning checking build packages on Pop OS HOT 2
- Update to allow generating documentation from OTP 27 on HOT 8
- Add more info. to the build/install log file
- Cannot extract OTP release tarball during Kaniko build HOT 5
- install fails in megaco_flex_scanner HOT 3
- FTB docs HOT 3
- Ubuntu 24.04: kerl generates a warning for non-existing libncurses5-dev package HOT 7
- Unable to install man pages HOT 1
- Over-optimized for happy path in "Probe failed for libncurses5-dev" warning. HOT 4
- Unable to install man pages for OTP 27 HOT 2
- Kerl fails to build erlang 23.3.4.18 on Fedora 40 HOT 2
- configure: error: C compiler cannot create executables HOT 6
- Please add a KPP for Oracle Linux 9, i.e release_id "ol" HOT 7
- kerl upgrade always upgrading HOT 1
- Manage ELP as well (and maybe erlfmt) HOT 4
- Noise in logs on arch Linux HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kerl.