roberth-k / dash-docset-terraform

Dash User-Contributed Docset
MIT License
19 stars 5 forks source link

realpath: illegal option -- m #2

Closed xela1601 closed 1 year ago

xela1601 commented 2 years ago

Hello there,

first of all, thanks a lot for making this public. There's just an issue, that I cannot makethis. Here is what's happening when I run make docset:

/Applications/Xcode.app/Contents/Developer/usr/bin/make venv
pip3 install -q -r requirements.txt

[notice] A new release of pip available: 22.2.2 -> 22.3
[notice] To update, run: pip install --upgrade pip
/Applications/Xcode.app/Contents/Developer/usr/bin/make clone
./scripts/clone.sh 1.3.3 .build/1.3.3.221030//src
cloning: https://github.com/hashicorp/terraform.git@v1.3.3
cloning: https://github.com/aliyun/terraform-provider-alicloud@v1.189.0
cloning: https://github.com/auth0/terraform-provider-auth0@v0.39.0
cloning: https://github.com/Azure/terraform-provider-azapi@v1.0.0
cloning: https://github.com/cloudflare/terraform-provider-cloudflare@v3.26.0
cloning: https://github.com/confluentinc/terraform-provider-confluent@v1.10.0
cloning: https://github.com/confluentinc/terraform-provider-confluentcloud@v0.6.0
cloning: https://github.com/databricks/terraform-provider-databricks@v1.6.1
cloning: https://github.com/DataDog/terraform-provider-datadog@v3.17.0
cloning: https://github.com/datadrivers/terraform-provider-nexus@v1.21.2
cloning: https://github.com/digitalocean/terraform-provider-digitalocean@v2.23.0
cloning: https://github.com/fastly/terraform-provider-fastly@v2.4.0
cloning: https://github.com/fly-apps/terraform-provider-fly@v0.0.20
cloning: https://github.com/gitlabhq/terraform-provider-gitlab@v3.18.0
cloning: https://github.com/grafana/terraform-provider-grafana@v1.30.0
cloning: https://github.com/hashicorp/terraform-provider-ad@v0.4.4
cloning: https://github.com/hashicorp/terraform-provider-archive@v2.2.0
cloning: https://github.com/hashicorp/terraform-provider-aws@v4.37.0
cloning: https://github.com/hashicorp/terraform-provider-awscc@v0.36.0
cloning: https://github.com/hashicorp/terraform-provider-azuread@v2.30.0
cloning: https://github.com/hashicorp/terraform-provider-azurerm@v3.29.1
cloning: https://github.com/hashicorp/terraform-provider-azurestack@v1.0.0
cloning: https://github.com/hashicorp/terraform-provider-boundary@v1.1.2
cloning: https://github.com/hashicorp/terraform-provider-cloudinit@v2.2.0
cloning: https://github.com/hashicorp/terraform-provider-consul@v2.16.2
cloning: https://github.com/hashicorp/terraform-provider-dns@v3.2.3
cloning: https://github.com/hashicorp/terraform-provider-external@v2.2.2
cloning: https://github.com/hashicorp/terraform-provider-google@v4.41.0
cloning: https://github.com/hashicorp/terraform-provider-googleworkspace@v0.7.0
cloning: https://github.com/hashicorp/terraform-provider-hashicups@v0.3.1
cloning: https://github.com/hashicorp/terraform-provider-hcp@v0.47.0
cloning: https://github.com/hashicorp/terraform-provider-hcs@v0.5.1
cloning: https://github.com/hashicorp/terraform-provider-helm@v2.7.1
cloning: https://github.com/hashicorp/terraform-provider-http@v3.1.0
cloning: https://github.com/hashicorp/terraform-provider-kubernetes@v2.14.0
cloning: https://github.com/hashicorp/terraform-provider-local@v2.2.3
cloning: https://github.com/hashicorp/terraform-provider-nomad@v1.4.19
cloning: https://github.com/hashicorp/terraform-provider-null@v3.2.0
cloning: https://github.com/terraform-providers/terraform-provider-opc@v1.4.1
cloning: https://github.com/terraform-providers/terraform-provider-oraclepaas@v1.5.3
cloning: https://github.com/hashicorp/terraform-provider-random@v3.4.3
cloning: https://github.com/hashicorp/terraform-provider-salesforce@v0.1.0
cloning: https://github.com/hashicorp/terraform-provider-template@v2.2.0
cloning: https://github.com/hashicorp/terraform-provider-terraform@v1.0.2
cloning: https://github.com/hashicorp/terraform-provider-tfe@v0.38.0
cloning: https://github.com/hashicorp/terraform-provider-time@v0.9.0
cloning: https://github.com/hashicorp/terraform-provider-tls@v4.0.3
cloning: https://github.com/hashicorp/terraform-provider-vault@v3.10.0
cloning: https://github.com/hashicorp/terraform-provider-vsphere@v2.2.0
cloning: https://github.com/heroku/terraform-provider-heroku@v5.1.7-releasetest.2
cloning: https://github.com/honeycombio/terraform-provider-honeycombio@v0.11.1
cloning: https://github.com/integrations/terraform-provider-github@v5.7.0
cloning: https://github.com/microsoft/terraform-provider-azuredevops@v0.2.2
cloning: https://github.com/PagerDuty/terraform-provider-pagerduty@v2.6.3
cloning: https://github.com/splunk/terraform-provider-splunk@v1.4.17
cloning: https://github.com/splunk/terraform-provider-victorops@v0.1.4
cloning: https://github.com/terraform-provider-openstack/terraform-provider-openstack@v1.49.0
/Applications/Xcode.app/Contents/Developer/usr/bin/make static
cp static/icon.png .build/1.3.3.221030/Terraform.docset/icon.png
cp static/Contents/Info.plist .build/1.3.3.221030/Terraform.docset/Contents/Info.plist
cp static/Contents/Resources/Documents/style.css .build/1.3.3.221030/Terraform.docset/Contents/Resources/Documents/style.css
/Applications/Xcode.app/Contents/Developer/usr/bin/make html
./scripts/makefile.sh .build/1.3.3.221030//src .build/1.3.3.221030/Terraform.docset > .build/1.3.3.221030/Makefile
realpath: illegal option -- m
usage: realpath [-q] [path ...]

the last two lines keep repeating for a while until it gives me this:

make[1]: *** [.build/1.3.3.221030/Makefile] Error 1
make: *** [docset] Error 2

I have all the necessary dependencies:

I'm running this on a MacBook Pro with M1 processor and MAC OS 13.0

Let me know if you need any additional information

Cheers Xela

roberth-k commented 2 years ago

Hi @xela1601,

Thank you for the report.

The build is only supported with GNU coreutils, which isn't documented in the README. I'll add this at the next opportunity.

One of the following would work when building the docset on macOS: