bees icon indicating copy to clipboard operation
bees copied to clipboard

cannot compile bees due to missing bits/wordsize.h

Open omichalek opened this issue 4 years ago • 1 comments

Hi I cannot compile bees due to missing bits/wordsize.h I run Fedora Silverblue 30

$ make
fatal: not a git repository (or any parent up to mount point /var/home)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
make PREFIX=/usr LIBEXEC_PREFIX=/usr/lib/bees ETC_PREFIX=/etc TAG="UNKNOWN" -C lib
make[1]: Entering directory '/var/home/user/bin/bees-0.6.2/lib'
g++ -Wall -Wextra -Werror -I../include -fpic -D_FILE_OFFSET_BITS=64 -std=c++11 -Wold-style-cast -M -MF .depends/chatter.dep -MT chatter.o chatter.cc
In file included from /usr/include/c++/9/functional:48,
                 from ../include/crucible/chatter.h:4,
                 from chatter.cc:1:
/usr/include/c++/9/x86_64-redhat-linux/bits/c++config.h:3:10: fatal error: bits/wordsize.h: No such file or directory
    3 | #include <bits/wordsize.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin --enable-initfini-array --with-isl --enable-offload-targets=nvptx-none --without-cuda-driver --enable-gnu-indirect-function --enable-cet --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 9.2.1 20190827 (Red Hat 9.2.1-1) (GCC) 

Any ideas please?

omichalek avatar Jan 12 '20 21:01 omichalek

on fc31 /usr/include/bits/wordsize.h is part of glibc-headers, so sudo dnf install glibc-headers should do the job

ardiehl avatar Jan 20 '20 20:01 ardiehl