treehouses / builder

Treehouses Awesome 👓 Raspberry Pi Image Builder 🏗
http://download.treehouses.io
GNU Affero General Public License v3.0
49 stars 22 forks source link

builder crashing at `scripts.d/20_tiv.sh` #887

Closed rjpadilla closed 3 years ago

rjpadilla commented 3 years ago

https://github.com/treehouses/builder/runs/2658098917?check_suite_focus=true#step:5:3306


node-v10.16.0-linux-armv6l/bin/node
run-parts: executing scripts.d/20_install_files.sh
Installing files
| ./
run-parts: executing scripts.d/20_tiv.sh
| ./usr/
| ./usr/local/
| ./usr/local/bin/
| ./usr/local/bin/do_autorun
| ./etc/
| ./etc/rc.local
| ./etc/systemd/
| ./etc/systemd/system/
| ./etc/systemd/system/balena.socket
| ./etc/systemd/system/rpibluetooth.service
| ./etc/systemd/system/autorun.service
| ./etc/systemd/system/balena.service
| ./etc/systemd/system/multi-user.target.wants/
| ./etc/systemd/system/multi-user.target.wants/autorun.service
Cloning into 'TerminalImageViewer'...
make: Entering directory '/home/runner/work/builder/builder/TerminalImageViewer/src/main/cpp'
arm-linux-gnueabihf-g++ -O2 -fpermissive -std=c++17 -Wall -fexceptions   -c -o tiv.o tiv.cpp
tiv.cpp: In function ‘int main(int, char**)’:
tiv.cpp:580:16: error: ‘std::experimental’ has not been declared
  580 |       if (std::experimental::filesystem::is_directory(arg)) {
      |                ^~~~~~~~~~~~
tiv.cpp:581:31: error: ‘std::experimental’ has not been declared
  581 |          for (auto & p : std::experimental::filesystem::directory_iterator(arg)) {
      |                               ^~~~~~~~~~~~
tiv.cpp:582:21: error: ‘std::experimental’ has not been declared
  582 |            if (std::experimental::filesystem::is_regular_file(p.path())) {
      |                     ^~~~~~~~~~~~
make: *** [<builtin>: tiv.o] Error 1
make: Leaving directory '/home/runner/work/builder/builder/TerminalImageViewer/src/main/cpp'
mv: cannot stat 'TerminalImageViewer/src/main/cpp/tiv': No such file or directory
run-parts: scripts.d/20_tiv.sh exited with return code 1
ERROR: Image modification scripts failed
Script execution time: 845 seconds