チケット #35784

Autotools and spaces in pathnames

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

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

詳細

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" が作成されました

編集

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