Closed marksolaris closed 4 years ago
rules is a Makefile and that error is harmless as what it is used for isn't used except during the actual build where it would already be installed by mk-build-deps. The source upload instructions also specify to disable dependency checks because none of them are required to build the resulting tarball and just wastes time otherwise.
Hmm I made a questionable decision to include setup-debian
Makefile rule inside of debian/rules
because debian/rules
should only be used to create .deb
packages (EDIT: and source packages I think), while setup-debian
is not really a part of the build.
Perhaps a better implementation would be to have a setup.sh
script alongside debian
that copies debian
to a user-specified destination (e.g. build/src
), then performs the necessary modifications to make debian
complete?
@Eloston while you're at it would it make sense to make the branch's distro also a text file? It would simplify the setting up of new branches.
Edit: already did it myself in my latest PR
I think it would be best if the makefile targets at the end, get-orig-source, setup-debian, and setup-local-src were all moved to an external shell script in some capacity. This would allow them to reuse a lot of their overlap while being moved out of the build scripts. @Eloston I can work on this after you approve my latest PRs.
@braewoods
I can work on this after you approve my latest PRs.
That would be pretty helpful, thanks!
The
clang-10
tool is used in the debian/rules file, before it's eventually installed during themk-build-deps
process. It seems a bit chicken-and-egg. The software eventually ends up being installed, but a restart of the whole build process is required since unknown things were happening with the use of missing binaries. At the very least the README could use language to say restart again if themk-build-deps
adds more tools.Following this process from the README:
This output is seen:
It can be argued that folks who choose to compile instead of
apt install
would know to fix and repeat, but then projects like this are full of similar logged Issues where first time users encounter the same gotchas.As an FYI, this is my entire build cut-and-paste which resulted in the above output: