-
Notifications
You must be signed in to change notification settings - Fork 46
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
Build error: /opt/local/bin/ocamlc: OCaml has been configured with -force-safe-string: -unsafe-string is not available
#105
Comments
this is 3.1.7 release afaics |
@ygrek Could you make a new release? I will test a build from the master locally today, but for updating it in MacPorts release is preferable. |
ironing out remaining issues, more confirmation that it builds would help to build confidence to make new release :) |
@ygrek From b9a1237 commit, the build fails here:
There is also this, though it does not make the build err out:
|
@ygrek The log from trying to build from the latest commit: |
@ygrek some days ago mldonkey builded fine from git master since many months, thanks! |
It would be cool if bytecode build also works. (Though at the moment I do not know if the failure is specific to bytecode target.) |
@barracuda156 How and where are you calling
This should just skip building the GUI due to missing LABLGTK2.
When LABLGTK2 is not installed, that error is generated while reading stdin for user input and fail if was previously redirected and not available (like when using nohup). Line 1267 in b9a1237
For this you could try preinstalling these packages available for your MacOS release, but don't know if it will be enough since for ubuntu needs |
@ygrek
The port does not do anything fancy: https://github.com/macports/macports-ports/blob/1403a20ac7e8a1b0ea144bf0da9ca8232cd5f400/net/mldonkey/Portfile (I have updated the version locally and fixed compiler choice, but otherwise it is the same). |
@barracuda156 The syntax is correct. The error is due to stdin not being readable for the configure script. Adding the required dependencies would just skip the user input request avoiding this issue. But since lablgtk2 dev is not available for your system the only option is to download and build them. I'm not familiar with your build chain, but since it's not interactive my guess is that you should set the |
JFTR building the current master with a github workflow job and linux runner with 2 cores (several times) without any modification, never found any such issue though. |
Okay, from b9a1237 and with parallel build disabled, compilation succeeds (with some warning along the way):
|
I close the issue as completed. Thanks! |
The text was updated successfully, but these errors were encountered: