-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to build on Arch #286
Comments
This may be related? I'm not totally sure erlang/otp#5609 |
Unfortunately, using the flags specified in that issue both as prefixes to the the flags i tried:
|
it seems like its incorrectly stripping the values of a lot of symbols, but i'm at the limit of my ability to debug this kind of stuff |
A very temporary solution for anyone else in the same situation (who doesn't need odbc):
(recommended to me by someone in the Erlang slack) |
Interestingly, I was able to get this to install on WSL2 (also running Arch), but not a laptop running Arch. Not really sure what I might have set up differently between the two. I'm not sure where to start looking into that at the moment... |
This seems to be specific to Arch itself, not its derivatives (yet). I have 2 machines running Manjaro ARM and 1 running Manjaro amd64, and those can successfully build Erlang using asdf-erlang. I have 2 machines running Arch proper (amd64), and both fail. Moreover, both have built successfully not that long ago. The Erlang version I currently have installed and working on them is 26.0.2. But even that older version will no longer built on Arch. So the problem appears to be something that popped up at some point after doing an Arch update. My guess is that it will eventually show up downstream in WSL2, Manjaro, etc. I just did an update on one of my Arch machines, but it still doesn't build. I also booted into Arch with the linux-lts kernel, but that didn't help either. My next step is to sidestep asdf and build using kerl, see how that goes. Update: |
Weird thing in my case. I have 2 machines running fully updated Arch amd64. One is building Erlang using asdf-erlang and also nerves host-erlang successfully other one fails on both builds with same error. |
if two different installs are seeing different results, i wonder if some seemingly unrelated package is breaking stuff @Damirados can you upload the build logs and lists of installed packages for each? there might be a clue in there |
First from successful system And from one that fails |
Recently, I faced a compilation issue on Manjaro and chose to format the system to its base ISO version. I installed the specific versions required for my use and then updated the system. While it's not the ideal solution, it might work for those who frequently need specific versions and don't mind formatting the system when needed. |
I faced the same problem, if it is only the odbc, just install via pacman and tell the kerl configure to use that. In my case: export KERL_CONFIGURE_OPTIONS="--with-odbc=/var/lib/pacman/local/unixodbc-2.3.12-1" I didn't really test without the flag, so i don't know if the Autoconf can do it without export the flag |
this worked for me, thanks! i had so that i wont need to manually update the variable later, i added this to my .zshenv: export KERL_CONFIGURE_OPTIONS="--with-odbc=/var/lib/pacman/local/unixodbc-$(pacman -Q unixodbc | cut -d' ' -f2)" |
I have the same issue and found this. It seems Erlang has its own |
Just ran into this issue as well. Following the suggestion here 708a750 seems to have worked. |
Currently, Erlang (specifically ODBC) is failing to build for me on arch linux with errors about undefined references to
ei_*
:asdf info
:System library versions:
The ones which have
.1
in the last segment are optimized rebuilds from ALHP, but building without ALHP gives the same error.Full build log: otp_build_26.1.2.log
The text was updated successfully, but these errors were encountered: