我在 Xubuntu 20.04 (focal) 中遇到了问题。我尝试编译一个科学包 (FreeUSP.org),但编译失败,并显示:
chd_stat.c:10:10: fatal error: stropts.h: No such file or directory
10 | #include <stropts.h>
| ^~~~~~~~~~~
compilation terminated.
我有一台安装了 18.04 (bionic) 的计算机,该文件存在于 libc6-dev 包中。在 20.04 (focal) 中,它没有将 libc6-dev 包列为该文件的来源:
$ apt-file search stropts.h
frama-c-base: /usr/share/frama-c/libc/stropts.h
libace-dev: /usr/include/ace/OS_NS_stropts.h
libace-dev: /usr/include/ace/os_include/os_stropts.h
libzfslinux-dev: /usr/include/libspl/stropts.h
libzfslinux-dev: /usr/include/libspl/sys/stropts.h
manpages-posix-dev: /usr/share/man/man7/stropts.h.7posix.gz
musl-dev: /usr/include/x86_64-linux-musl/stropts.h
musl-dev: /usr/include/x86_64-linux-musl/sys/stropts.h
python-pycparser: /usr/share/python-pycparser/fake_libc_include/stropts.h
python3-pycparser: /usr/share/python3-pycparser/fake_libc_include/stropts.h
这似乎与为 Ubuntu 20.01 安装 stropts.h。
是否应该向 Ubuntu 报告错误?如果是,该怎么做?