Bug 245278 - devel/godot: fails to start
Summary: devel/godot: fails to start
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on: 245444
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-02 08:39 UTC by miguel.barao
Modified: 2020-04-09 16:51 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (FreeBSD)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description miguel.barao 2020-04-02 08:39:40 UTC
On FreeBSD 12.1 Release and tracking latest packages, godot 3.2 aborts on start with an error:

Error: Couldn't load project data at path ".". Is the .pck file missing?
If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension).
Comment 1 Shane 2020-04-06 09:02:38 UTC
There are two ports devel/godot and devel/godot-tools

devel/godot is a runtime only, it requires project files to work. When started it will run the game project in the current directory.

To start creating a game, install devel/godot-tools which is built with the IDE and you start it with the command godot-tools. The godot-tools port also installs a desktop file, so it should appear in the desktop start menu under development.

Apart from the IDE being part of the binary, the tools version contains debugging info while the runtime is built optimised. This allows game ports to depend on the runtime without the IDE overhead.

I wonder if I should add a pkg message to the godot port to explain this.
Comment 2 miguel.barao 2020-04-06 09:35:45 UTC
Thanks for the clarification. Naming is different from the other platforms, where godot is the IDE. Documentation is also not very clear:

"pkg info godot" gives

Comment        : Game integrated development environment
Description    :
Godot is a multi-platform 2D and 3D game engine. It also provides a feature rich
development environment.


Maybe it should be explained that it only includes the runtime and that the IDE is in godot-tools.

"pkg search godot" is clear though:
godot-3.2                      Game runtime engine
godot-tools-3.2                Game integrated development environment


A pkg message informing that it's only the runtime and pointing to the godot-tools as the IDE would also be nice.
Comment 3 Shane 2020-04-08 04:33:02 UTC
As I was about to submit an update to 3.2.1, I have made this adjustment in the same update. See bug #245444
Comment 4 Fernando Apesteguía freebsd_committer 2020-04-09 16:51:26 UTC
Fixed in bug #245444

Thanks!