mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #913] make docs fails with version too low #642
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#642
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Comradin on GitHub (Oct 11, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/913
🐞 Describe the bug
Hello,
I wanted to build the docs and ran into an issue with the
make docscommand or more precisely the docs-build step.An error occurs during the version check:
As I am on macOS Sonoma already I guess this could be due to an incompatibility with the tool chain there.
Just did a build on a Raspberry Pi with Raspian installed and it worked.
💻 Components impacted
The build process for the docs on a current version of macOS
💡 Screenshots and/or logs
See the actual error message above, interestingly I checked the version of make on my Mac and on my Pi and
the Mac version is quite dated compared to the otherwise more dated packages with my Raspberry Pi.
Okay, checked the versions, that isn't the real problem, as I installed a current release of (g)make from homebrew and it
fails with the same SyntaxError in the
echo -eblock.Whereas the actual version check runs just fine in my terminal.
And the actual build command for the docs works fine aswell:
🔮 Additional context
Latest release of macOS Sonoma.
Go version 1.21.3
Python 3.11
make versions listed above
@binwiederhier commented on GitHub (Nov 6, 2023):
Since everyone should now have Python 3.8+, I removed the version check entirely now:
github.com/binwiederhier/ntfy@abe7275f0cThat said, I do not officially suppose building the ntfy server (or the docs for that matter) on macOS. The build targets are just there for devs to be able to work on the server if they like to.
Let me know if there are other issues.