Overview
| Artifact ID: | f26389f8fcef187ab2e5c59004e4aa011fe537d3abcfc072cfd966406e5ad7b0 |
|---|---|
| Ticket: | 888c1a8c9d84c1f5da4a46352bbf531424fe7126
Build system issues with wacky paths |
| User & Date: | anonymous on 2020-11-12 14:39:52 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
We have a robustness test that stresses our code for paths with odd characters and spaces. We're trying to switch to using Tcl's native build systems, but it looks like Tcl's autotools build can't handle paths with spaces currently: /home/user/1 Odd_ source dir++/tcl8.6.10/unix/configure: line 721: test: too many arguments /home/user/1 Odd_ source dir++/tcl8.6.10/unix/configure: line 727: test: too many arguments configure: error: sources are in /home/cyapp/1 Odd_ source dir++/tcl8.6.10/unix, but `cd /home/user/1 Odd_ source dir++/tcl8.6.10/unix' does not work (There are a number of related errors - one was found to be a quoting issue: https://sourceforge.net/p/brlcad/code/77727 but after that was fixed more showed up. With normal paths the build and install complete successfully.) The below script tries to boil down the usage scenario to reproduce the problems in isolation: source, build and install directories with spaces as well as flag setting environment variables. #!/bin/bash mkdir "1 Odd_ source dir++" mkdir "1 Odd_ build dir++" mkdir "1 Odd_ install dir++" cd "1 Odd_ source dir++" tar -xvf ~/Downloads/tcl8.6.10-src.tar.gz cd "$HOME/1 Odd_ build dir++" export CPPFLAGS="-I$HOME/1 Odd_ install dir++/include" export LDFLAGS="-L$HOME/1 Odd_ install dir++/lib" "$HOME/1 Odd_ source dir++/tcl8.6.10/unix/configure" --prefix="$HOME/1 Odd_ install dir++"
- foundin changed to: "8.6.10"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "19930c99070fc8f88578e9040adf6c29e378cca1"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "Build system issues with wacky paths"
- type changed to: "Bug"