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

オープン
#1,146 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

boostorg/boost のほかの issue

boostorg/boost の issue をすべて見る

似ている issue

Build System の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。