-
Notifications
You must be signed in to change notification settings - Fork 2
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
.generated path errors #79
Comments
macOS-only, btw. On Linux we get a different error: If I force macOS to use GNU make 4.4.1 instead of Apple's 3.81, then that also gets to tokeniser. Is newer make actually required these days? Simple enough to install from MacPorts - I just haven't seen that mentioned anywhere. |
I think we are trying to support apple's default make tool. But tbh I don't work on mac and most CI is not on mac either, plus I haven't found a way to test that old make easily, it refuses to build and install on linux already, the breakages related to apple make only will take some extra time to solve. The pmhfst part builds now again on my linux, it seems it relied on make keeping an intermediate build files without being required to do so. |
I've told the Greenlandic team to install and use GNU make. It's very similar for Homebrew: https://formulae.brew.sh/formula/make + So I'd suggest requiring newer make. It already requires gsed, so gmake is a natural extension. |
From what I can gather it usually seems mac make does just resolve the rebuild graph always in a way that matches |
I can confirm the following behaviour:
The problem might be an old Not a single fst building is quite serious, so we should sort this out. |
@TinoDidriksen wrote:
I agree. Let's require newest make, and then drop all the workarounds for Apple's patchy, old and flaky version. @flammie can you do? |
I can confirm that installing GNU make solves the issues on my Mac: |
I think I'll put a test in all languages now with a warning and change it to an error after I'm back from computel. Based on https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=blob_plain;f=m4/ax_check_gnu_make.m4 |
I pushed the test to langs now if someone with affected make can test? I'm not sure if apple's make identifies itself as gnu make anyways. |
Seems to work. With
With
|
mm. It's not the best, since the first test picks up apple's make and then realises it's too old, but perhaps having that |
It picks up and uses the older make, which is what people expect. It just needs to be an error instead of warning. |
From a
git clean -f -d -x
folder, we now get errors likecp: .generated//Users/tino/langtech/kal/./../giella-core/fst-filters/block-mwe-compounds.regex: No such file or directory
Ping @flammie
The text was updated successfully, but these errors were encountered: