https://bugs.winehq.org/show_bug.cgi?id=52728
Bug ID: 52728 Summary: wine-7.5 build fails in Ubuntu 18.04 Product: Wine Version: 7.5 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winealsa.drv Assignee: wine-bugs@winehq.org Reporter: dimesio@earthlink.net Distribution: ---
Created attachment 72087 --> https://bugs.winehq.org/attachment.cgi?id=72087 Ubuntu 18.04 failed build log
All the other builds were fine, but it failed in winealsa.drv in Ubuntu 18.04
[ 2042s] dlls/winealsa.drv/alsamidi.c:117:8: error: unknown type name 'uint64_t' [ 2042s] static uint64_t get_time_msec(void) [ 2042s] ^~~~~~~~ [ 2042s] dlls/winealsa.drv/alsamidi.c: In function 'get_time_msec': [ 2042s] dlls/winealsa.drv/alsamidi.c:123:17: error: 'uint64_t' undeclared (first use in this function); did you mean 'u_int64_t'? [ 2042s] return (uint64_t)now.tv_sec * 1000 + now.tv_nsec / 1000000; [ 2042s] ^~~~~~~~ [ 2042s] u_int64_t [ 2042s] dlls/winealsa.drv/alsamidi.c:123:17: note: each undeclared identifier is reported only once for each function it appears in [ 2042s] dlls/winealsa.drv/alsamidi.c:123:26: error: expected ';' before 'now' [ 2042s] return (uint64_t)now.tv_sec * 1000 + now.tv_nsec / 1000000; [ 2042s] ^~~ [ 2042s] dlls/winealsa.drv/alsamidi.c:126:22: error: expected ';' before 'now' [ 2042s] return (uint64_t)now.tv_sec * 1000 + now.tv_nsec / 1000000; [ 2042s] ^~~ [ 2042s] dlls/winealsa.drv/alsamidi.c:127:1: warning: control reaches end of non-void function [-Wreturn-type] [ 2042s] } [ 2042s] ^ [ 2042s] Makefile:130009: recipe for target 'dlls/winealsa.drv/alsamidi.o' failed [ 2042s] make[1]: *** [dlls/winealsa.drv/alsamidi.o] Error 1
https://bugs.winehq.org/show_bug.cgi?id=52728
Kron4ek kron4ek@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kron4ek@gmail.com
--- Comment #1 from Kron4ek kron4ek@gmail.com --- Created attachment 72093 --> https://bugs.winehq.org/attachment.cgi?id=72093 A patch to fix the issue
Can confirm. This can be fixed by adding "#include <stdint.h>" to dlls/winealsa.drv/alsamidi.c.
https://bugs.winehq.org/show_bug.cgi?id=52728
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu CC| |huw.davies@physics.ox.ac.uk Regression SHA1| |be6004f895ef82e5bf7fb3bef6d | |a212c4552cf81 Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=52728
--- Comment #2 from Huw Davies huw.davies@physics.ox.ac.uk --- Sorry about that. I've sent in a fix: https://source.winehq.org/patches/data/230906
https://bugs.winehq.org/show_bug.cgi?id=52728
--- Comment #3 from Rosanne DiMesio dimesio@earthlink.net --- (In reply to Huw Davies from comment #2)
Sorry about that. I've sent in a fix: https://source.winehq.org/patches/data/230906
The patch fixes it. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=52728
Huw Davies huw.davies@physics.ox.ac.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |43da2eac3d2bad9455371c0a57d | |4cf25d6f13930 Resolution|--- |FIXED
--- Comment #4 from Huw Davies huw.davies@physics.ox.ac.uk --- Fixed by 43da2eac3d2bad9455371c0a57d4cf25d6f13930
https://bugs.winehq.org/show_bug.cgi?id=52728
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |version2013@protonmail.com
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- *** Bug 52783 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=52728
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.6.