| Summary: | games-action/minetest-5.0.1-r2 USE="curl luajit ncurses server" fails to build due to missing irrTypes.h | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dragan Kašler <dragan.kasler> |
| Component: | Current packages | Assignee: | William Breathitt Gray <vilhelm.gray> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | jstein, proxy-maint |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
https://github.com/minetest/minetest/issues/8625 https://github.com/gentoo/gentoo/pull/12337 |
||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Dragan Kašler
2019-06-24 11:16:04 UTC
Hmm, it seems strange for this to be a dependency requirement for a non-client build. I suspect this header inclusion is unintentional in the upstream code, so I'll investigate and see whether an upstream patch for this is appropriate. After investigating, I discovered the irrTypes.h header file is used in the Minetest code for its fixed-width data types. Unfortunately, this has created a dependency on Irrlicht that should in theory not be necessary for server-only builds. The proper solution is to use standard C++ data types like uint32_t (https://en.cppreference.com/w/cpp/types/integer) for this situation. However, although the task of replacing the irrTypes.h data types with standard C++ data types is technically simple, the abundant use of them throughout the Minetest code base has made the task tedious enough that I've given up on it. Instead, I've pushed a new ebuild revision to simply add Irrlicht as a build dependency for both client and server builds. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8c5e6f2ffd709c96e25d8bb744c1c43a2bbd370 commit f8c5e6f2ffd709c96e25d8bb744c1c43a2bbd370 Author: William Breathitt Gray <vilhelm.gray@gmail.com> AuthorDate: 2019-06-27 09:08:18 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2019-06-27 15:03:23 +0000 games-action/minetest: Fix missing Irrlicht headers error Irrlicht headers are required even for a server-only build. Closes: https://bugs.gentoo.org/688598 Package-Manager: Portage-2.3.67, Repoman-2.3.15 Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12337 Signed-off-by: Michał Górny <mgorny@gentoo.org> games-action/minetest/minetest-5.0.1-r3.ebuild | 146 +++++++++++++++++++++++++ 1 file changed, 146 insertions(+) |