Installing fails when using DESTDIR
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- cmake, cpp
- 領域
- build-system
調査の方向性
Start with cmake/DeployQt5.cmake around line 199 and the generated molequeue/lastinstall/cmake_install.cmake entry shown in the traceback. Reproduce the install with DESTDIR, inspect how fixup_qt5_executable resolves the MoleQueue libraries, and confirm that installation succeeds without looking outside the staging root.
索引モデルが issue の本文から書いたものです。
説明
Hi, I'm trying to add molequeue 0.9.0 to MacPorts, as requested years ago. It builds, but installing fails because MacPorts does something like make install DESTDIR=/path/to/destroot which results in:
-- fixup_qt5_executable
-- executable='/path/to/destroot/opt/local/MoleQueue.app'
-- qtplugins=''
-- libs='/path/to/destroot/opt/local/MoleQueue.app/Contents/PlugIns/platforms/libqcocoa.dylib'
-- dirs='/opt/local/lib;/opt/local/share/cmake/Modules/bin;/opt/local/share/cmake/Modules/lib;/opt/local/libexec/qt5/lib/QtCore.framework'
-- plugins_dir='lib/molequeue/plugins'
-- request_qt_conf=''
-- Writing /path/to/destroot/opt/local/MoleQueue.app/Contents/Resources/qt.conf
-- fixup_bundle
-- app='/path/to/destroot/opt/local/MoleQueue.app'
-- libs='/path/to/destroot/opt/local/MoleQueue.app/Contents/PlugIns/platforms/libqcocoa.dylib'
-- dirs='/opt/local/lib;/opt/local/share/cmake/Modules/bin;/opt/local/share/cmake/Modules/lib;/opt/local/libexec/qt5/lib/QtCore.framework'
-- ignoreItems=''
-- fixup_bundle: preparing...
--
warning: cannot resolve item '/opt/local/lib/libMoleQueueServerCore.dylib'
possible problems:
need more directories?
need to use InstallRequiredSystemLibraries?
run in install tree instead of build tree?
--
warning: cannot resolve item '/opt/local/lib/libMoleQueueClient.dylib'
possible problems:
need more directories?
need to use InstallRequiredSystemLibraries?
run in install tree instead of build tree?
--
warning: cannot resolve item '/opt/local/lib/libMoleQueueClient.dylib'
possible problems:
need more directories?
need to use InstallRequiredSystemLibraries?
run in install tree instead of build tree?
CMake Error at /opt/local/share/cmake-3.15/Modules/BundleUtilities.cmake:452 (message):
otool -l failed: 1
/Library/Developer/CommandLineTools/usr/bin/objdump:
'/opt/local/lib/libMoleQueueClient.dylib': No such file or directory
Call Stack (most recent call first):
/opt/local/share/cmake-3.15/Modules/BundleUtilities.cmake:521 (get_item_rpaths)
/opt/local/share/cmake-3.15/Modules/BundleUtilities.cmake:659 (set_bundle_key_values)
/opt/local/share/cmake-3.15/Modules/BundleUtilities.cmake:939 (get_bundle_keys)
/path/to/molequeue-0.9.0/cmake/DeployQt5.cmake:199 (fixup_bundle)
molequeue/lastinstall/cmake_install.cmake:42 (fixup_qt5_executable)
molequeue/cmake_install.cmake:41 (include)
cmake_install.cmake:71 (include)
make: *** [install/fast] Error 1
fixup_qt5_executable is apparently expecting the libraries to have been installed in their final destination already, but they have not been; they are in the destroot.
- 主要言語
- C++
- スター
- 33
- フォーク
- 25
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
OpenChemistry/molequeue のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
OpenChemistry/molequeue#44 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
OpenChemistry/molequeue#43 ·
-
Translationsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 20/100
OpenChemistry/molequeue#31 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
OpenChemistry/molequeue#26 ·
-
Fails to submit the GAMESS job: Please select the target program from the "Queue and Program" list.オープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
OpenChemistry/molequeue#29 · コメント 1 件 ·
OpenChemistry/molequeue の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
metasequoiaime/msime#9113 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
tone-3000/tone3000-plugin#257 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Locked plugin flip-flops position on every refresh after being disabled対応中かも @Illustar0 が今日担当しました。 オープンissue report
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ModOrganizer2/modorganizer#2449 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
enhancement P5
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
open-astro/AlpacaBridge#1468 ·
メンテナーはふだん 1 日以内に返信