You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some have been previously mentioned: #256. The script makes assumptions about system capabilities and fails to terminate when those assumptions aren't met. In particular, it assumes fakeroot is available. If fakeroot is not available, execution continues and multiple files are deleted from the working copy. This is the outcome:
❯ git status
On branch fix-builder
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: DEBIAN/control
deleted: package.sh
deleted: usr/share/doc/pathpicker/changelog
It also assumes the script executes from debian/, so it fails when run from project root.
I can fix this in two ways.
Fix package.sh so that it terminates if any command returns a non-zero exit code.
Dockerize the build process so that the end user can build and install fpp without having to understand the package build process.
Option 1 is simpler, but 2 is preferable (as long as we assume the user has Docker running). Option 2 also automates the build process, which may be desirable if Facebook wants to host the package in a mirror.
The text was updated successfully, but these errors were encountered:
It also assumes "python" is available which isn't true on Ubuntu 20.04 AFAIK. It depends on either an installation of python 2 or installing the package python-is-python3 (which symlinks python to python3)
Sorry about the delay here! Yes there are definitely a lot of assumptions in the build process -- having a dockerized version would be great but lets start by merging your PR so the script doesn't continue after errors.
Some have been previously mentioned: #256. The script makes assumptions about system capabilities and fails to terminate when those assumptions aren't met. In particular, it assumes
fakeroot
is available. If fakeroot is not available, execution continues and multiple files are deleted from the working copy. This is the outcome:It also assumes the script executes from
debian/
, so it fails when run from project root.I can fix this in two ways.
package.sh
so that it terminates if any command returns a non-zero exit code.fpp
without having to understand the package build process.Option 1 is simpler, but 2 is preferable (as long as we assume the user has
Docker
running). Option 2 also automates the build process, which may be desirable if Facebook wants to host the package in a mirror.The text was updated successfully, but these errors were encountered: