2023-08-15, 10:39 AM
Hi. I am (still) trying to build pypilot on my Raspberry pi Zero (standard version). It works perfectly using the image (tinypilot_2021_11_16.img.xz), but when downloading and copying the latest stable code from github, and following the instructions in (https://github.com/pypilot/workbook/wiki...r-the-hood), I get the following output....
Any Ideas of what I'm doing wrong?
Best regards, Leif
Any Ideas of what I'm doing wrong?
Best regards, Leif
Code:
tc@pypilot:~$ cd pypilot_update/
tc@pypilot:~/pypilot_update$ . pypilot.build
-sh: cd: line 40: can't cd to .
: not foundt.build: line 45: python3.6
tar: can't open 'dist/*tar.gz': No such file or directory
-sh: cd: line 48: can't cd to ..
chmod: /tmp/pypilot: No such file or directory
chmod: /: Operation not permitted
chmod: /tmp/pypilot: No such file or directory
chmod: /usr: Operation not permitted
chmod: /tmp/pypilot: No such file or directory
chmod: /usr/local: Operation not permitted
chmod: /tmp/pypilot: No such file or directory
chmod: /usr/local/lib: Operation not permitted
chmod: /tmp/pypilot: No such file or directory
mode of '/usr/local/lib/python3.6' changed to 0755 (rwxr-xr-x)
chmod: /tmp/pypilot: No such file or directory
mode of '/usr/local/lib/python3.6' changed to 0755 (rwxr-xr-x)
chmod: /site-packages: No such file or directory
: not foundt.build: line 55:
'trip: unrecognized option '--strip-unneeded
Usage: strip <option(s)> in-file(s)
Removes symbols and sections from files
The options are:
-I --input-target=<bfdname> Assume input file is in format <bfdname>
-O --output-target=<bfdname> Create an output file in format <bfdname>
-F --target=<bfdname> Set both input and output format to <bfdname>
-p --preserve-dates Copy modified/access timestamps to the output
-D --enable-deterministic-archives
Produce deterministic output when stripping archives
-U --disable-deterministic-archives
Disable -D behavior (default)
-R --remove-section=<name> Also remove section <name> from the output
--remove-relocations <name> Remove relocations from section <name>
-s --strip-all Remove all symbol and relocation information
-g -S -d --strip-debug Remove all debugging symbols & sections
--strip-dwo Remove all DWO sections
--strip-unneeded Remove all symbols not needed by relocations
--only-keep-debug Strip everything but the debug information
-M --merge-notes Remove redundant entries in note sections (default)
--no-merge-notes Do not attempt to remove redundant notes
-N --strip-symbol=<name> Do not copy symbol <name>
-K --keep-symbol=<name> Do not strip symbol <name>
--keep-file-symbols Do not strip file symbol(s)
-w --wildcard Permit wildcard in symbol comparison
-x --discard-all Remove all non-global symbols
-X --discard-locals Remove any compiler-generated symbols
-v --verbose List all object files modified
-V --version Display this program's version number
-h --help Display this output
--info List object formats & architectures supported
-o <file> Place stripped output into <file>
strip: supported targets: elf32-littlearm elf32-bigarm elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex
-sh: cd: line 60: can't cd to /tmp/pypilot
-sh: cd: line 61: can't cd to ..
Parallel mksquashfs: Using 1 processor
, block size 131072.tem on pypilot
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 131072
compressed data, compressed metadata, compressed fragments, no xattrs
duplicates are removed
Filesystem size 0.31 Kbytes (0.00 Mbytes)
64.27% of uncompressed filesystem size (0.49 Kbytes)
Inode table size 83 bytes (0.08 Kbytes)
42.78% of uncompressed inode table size (194 bytes)
Directory table size 92 bytes (0.09 Kbytes)
66.19% of uncompressed directory table size (139 bytes)
Number of duplicate files found 0
Number of inodes 6
Number of files 0
Number of fragments 0
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 6
Number of ids (unique uids + gids) 2
Number of uids 1
tc (1001)
Number of gids 1
staff (50)
-sh: cd: line 63: can't cd to /tmp/pypilot
find: usr: No such file or directory
.tcz': No such file or directory
.tcz': No such file or directory
.tcz /mnt/mmcblk0p2/tce/optional/pypilot
: No such file or directoryonal/pypilot
.tcz pypilot
-rw-r--r-- 1 tc staff 4096 Nov 4 11:21 pypilot?.tcz?
': Path does not exist/mmcblk0p2/tce/optional
': Path does not exist/mmcblk0p2/tce/optional
': Path does not exist/mmcblk0p2/tce/optional
-sh: cd: line 76: can't cd to /home/tc/pypilot_update