チケット #35784

登録: 2015-11-26 17:47

最終更新: 2015-11-26 17:47

Autotools and spaces in pathnames

報告者:mskala担当者:mskala
優先度:5 - 中マイルストーン:(未割り当て)
チケットの種類:Hairy Yaks重要度:5 - 中
コンポーネント:Build system状況:オープン [担当者決定済み]
解決法なし

チケットの詳細

Windows routinely uses pathnames with spaces in them, in particular "Program Files." Mac does this pretty often as well. That's a bugaboo for Autotools because of the near-constant use of variable substitution, as well as the fact that Make uses spaces to separate filenames. The scripts may attempt to execute a file named "C:\Program" with a parameter like "Files\actual_program_name" because of not knowing those are two parts of the same string. Users of Autotools have been griping about it for many years, and have not been getting much sympathy from the maintainers of Autotools, who consider Windows to be fundamentally broken and not really worth supporting.

It is probably not possible nor worthwhile to attempt to solve this external problem completely within the Tsukurimashou Project. GNU should clean up the mess they created themselves. However, in at least some common cases it may be possible to reduce the harm by minor changes to the Tsukurimashou build scripts. See for instance https://gist.github.com/jtanx/612bd6c629a76e1aa977 . Quoting the variable substitutions allows the Tsukurimashou build to invoke system-installed software that is installed in paths containing spaces. Allowing Tsukurimashou to build with its own sources or installation targets in such directories may be much harder and is probably not worth it.

There's some danger of "give an inch and they'll take a mile" - if Tsukurimashou EVER accepts paths with spaces in them, then users may expect it to ALWAYS accept such paths, and really doing that (because it's a fundamental problem with Autotools in general) is a gnu too hairy to shave. But maybe careful documentation could help here.

添付ファイル

添付ファイルリスト添付ファイルはありません
新規添付ファイル追加
添付ファイルの追加添付ファイルの追加にはログインが必要です

チケットの履歴 - 1 件中 1 件表示

2015-11-26 17:47 更新者: mskala

  • 新しいチケット "Autotools and spaces in pathnames" が作成されました

追記/更新 #35784 (Autotools and spaces in pathnames)

ログインしていません。ログインしていない状態では、コメントに記載者の記録が残りません。 » ログインする