b2 install on linux does not set file / directory rights correct
还没有人认领这个 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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/boost 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 48/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 68/100
-
CI: pin OS images in build/publish tests instead of `*-latest`可能已有人在做 @shikhabhadoria 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
vacanza/holidays#4220 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
Niko1221/Strata#6731 · 2 条评论 ·
维护者通常 6 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
dependencies go good first issue priority: medium
难度 2/5 1-3 小时 新手友好度 78/100
fukubie/StockLlama#48 ·