Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] GZDoom reports its version as "<unknown version>"
@ 2023-12-16  4:28 Jjp137
  2023-12-16 17:40 ` meator
  2023-12-16 18:24 ` meator
  0 siblings, 2 replies; 3+ messages in thread
From: Jjp137 @ 2023-12-16  4:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

New issue by Jjp137 on void-packages repository

https://github.com/void-linux/void-packages/issues/47787

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.67_1 x86_64 GenuineIntel uptodate FFFFFF

### Package(s) Affected

gzdoom-4.11.3_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

GZDoom should display the correct version number (4.11.3 as of this writing) where appropriate, including during startup and within the in-game console.

### Actual behaviour

First few lines of output:
```
$ gzdoom -iwad doom.wad
GZDoom <unknown version> -  - SDL version
Compiled on Nov 18 2023

OS: Void Linux, Linux 6.1.67_1 on x86_64
GZDoom version <unknown version>
```

In-game, `<unknown version>` is shown on the bottom-right corner of the console.

### Steps to reproduce

Run GZDoom from the command line in order to see the terminal output, which is always printed even without an IWAD present.

If an IWAD can be found on your system, after GZDoom starts, open the console (default: ~) and observe that the bottom-right corner says `<unknown version>`.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GZDoom reports its version as "<unknown version>"
  2023-12-16  4:28 [ISSUE] GZDoom reports its version as "<unknown version>" Jjp137
@ 2023-12-16 17:40 ` meator
  2023-12-16 18:24 ` meator
  1 sibling, 0 replies; 3+ messages in thread
From: meator @ 2023-12-16 17:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 170 bytes --]

New comment by meator on void-packages repository

https://github.com/void-linux/void-packages/issues/47787#issuecomment-1858879621

Comment:
I will take a look at this.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: GZDoom reports its version as "<unknown version>"
  2023-12-16  4:28 [ISSUE] GZDoom reports its version as "<unknown version>" Jjp137
  2023-12-16 17:40 ` meator
@ 2023-12-16 18:24 ` meator
  1 sibling, 0 replies; 3+ messages in thread
From: meator @ 2023-12-16 18:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 778 bytes --]

New comment by meator on void-packages repository

https://github.com/void-linux/void-packages/issues/47787#issuecomment-1858899634

Comment:
I won't make an effort fixing this because this doesn't affect the functionality of GZDoom. This is only "cosmetic".

If anyone else wants to fix this:
The relevant file is [https://github.com/ZDoom/gzdoom/blob/master/tools/updaterevision/UpdateRevision.cmake](https://github.com/ZDoom/gzdoom/blob/master/tools/updaterevision/UpdateRevision.cmake) (and https://github.com/ZDoom/gzdoom/blob/master/tools/updaterevision/gitinfo.h.in). It uses git to determine the version, hash and timestamp. Git isn't installed on host and the source comes from a tarball and not from git so this mechanism fails and defaults to `<unknown version>`.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-16 18:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-16  4:28 [ISSUE] GZDoom reports its version as "<unknown version>" Jjp137
2023-12-16 17:40 ` meator
2023-12-16 18:24 ` meator

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).