b2 install on linux does not set file / directory rights correct

未关闭
#1,146 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
58/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
cpp, linux
领域
build-system

调研方向

从报告中描述的 b2 安装命令和安装权限处理开始,使用 umask 0022 并安装到 /usr/local 以重现问题。将产生的权限与 /sbin/install 产生的权限进行比较;当已安装的 Boost 头文件和目录可由后续的 gr-satellites 编译读取并遍历时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

my umask is 0022 - only with this umask you can reproduce this.

one could solve such a problem with using the
/sbin/install command and appropriate parameters.

version = boost 1.91:

i am using b2 for compile and install in /usr/local

after compile, i am installing it with:

sudo ./b2 install

after that, another compile (here gr-satellites) gives, for example:

In file included from /usr/local/include/boost/optional.hpp:15,
from /usr/local/include/boost/format/internals.hpp:21,
from /usr/local/include/boost/format.hpp:38,
from /usr/include/gnuradio/logger.h:47,
from /usr/include/gnuradio/custom_lock.h:15,
from /usr/include/gnuradio/buffer.h:15,
from /usr/include/gnuradio/buffer_double_mapped.h:15,
from /usr/include/gnuradio/io_signature.h:29,
from /usr/include/gnuradio/basic_block.h:15,
from /usr/include/gnuradio/block.h:17,
from /home/matz/src/gr-satellites/lib/../include/satellites/ax100_decode.h:14,
from /home/matz/src/gr-satellites/lib/ax100_decode_impl.h:14,
from /home/matz/src/gr-satellites/lib/ax100_decode_impl.cc:21:
/usr/local/include/boost/optional/optional.hpp:26:10: fatal error: /usr/local/include/boost/optional/detail/optional_select_implementation.hpp: Keine Berechtigung
26 | #include <boost/optional/detail/optional_select_implementation.hpp>

主要语言
HTML
星标
8.6k
派生
2k
平均合并
9 小时 35 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

boostorg/boost 的其他 Issue

查看 boostorg/boost 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。