[Bug 2067082] Re: bits/wordsize.h: No such file or directory
Casio
2067082 at bugs.launchpad.net
Thu Dec 5 14:53:27 UTC 2024
Ubuntu 22.04.5 LTS - Like to confirm this is an issue as of 5\12\2024 -
trying to compile an old github project and come across the same
problem.
Compilation fails due to assuming "usr/include/" contains a folder
"bits/", which in my case should contain the files "wordsize.h" and
"timesize.h".
Both files however currently sit under "/usr/include/x86_64-linux-gnu/".
These files are included via...
usr/include/features.h
... #include <features-time64.h>
... ... #include <bits/wordsize.h>
** Changed in: glibc (Ubuntu)
Status: Invalid => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2067082
Title:
bits/wordsize.h: No such file or directory
Status in glibc package in Ubuntu:
Confirmed
Bug description:
When trying to do a "make install" of Wine 8.0.2 it fails with the
following:
ccache cc -c -o dlls/winecrt0/dll_entry.o /home/test/wine-git/dlls/winecrt0/dll_entry.c -Idlls/winecrt0 \
-I/home/test/wine-git/dlls/winecrt0 -Iinclude -I/home/test/wine-git/include -D__WINESRC__ \
-DWINE_UNIX_LIB -Wall -pipe -fcf-protection=none -fno-stack-protector -fno-strict-aliasing \
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Winit-self \
-Wno-packed-not-aligned -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-4 -fPIC \
-fasynchronous-unwind-tables -g -O2 -pipe -m32
In file included from /usr/include/features.h:392,
from /usr/include/ctype.h:25,
from /home/test/wine-git/include/winnt.h:30,
from /home/test/wine-git/include/windef.h:290,
from /home/test/wine-git/dlls/winecrt0/dll_entry.c:29:
/usr/include/features-time64.h:20:10: fatal error: bits/wordsize.h: No such file or directory
20 | #include <bits/wordsize.h>
| ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:234902: dlls/winecrt0/dll_entry.o] Error 1
From what I can see the file exists at /usr/include/x86_64-linux-
gnu/bits/wordsize.h but /usr/include/bits/wordsize.h does indeed not
exist.
Am I simply misunderstanding how the compilation works?
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: libc6-dev 2.35-0ubuntu3.7
ProcVersionSignature: Ubuntu 6.5.0-35.35~22.04.1-generic 6.5.13
Uname: Linux 6.5.0-35-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
Date: Fri May 24 16:27:12 2024
SourcePackage: glibc
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.apport.crashdb.conf: [modified]
mtime.conffile..etc.apport.crashdb.conf: 2019-08-06T11:56:22.315382
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2067082/+subscriptions
More information about the foundations-bugs
mailing list