bits/wordsize.h: No such file or directory

Bug #2067082 reported by Ken Sharp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Invalid
Undecided
Unassigned

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

Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
Ken Sharp (kennybobs) wrote :

I'm going to mark as invalid for now, but may reopen.

In order to build 32-bit Wine binaries a chroot is necessary. The "make install" completes successfully in the chroot but not on the host system. As Ubuntu have no interest in supporting 32-bit libraries this won't go anywhere.

Changed in glibc (Ubuntu):
status: New → Invalid
tags: added: i386
removed: amd64
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.