Makefile install_all should not install test binary #396
Labels
No labels
bug
duplicate
enhancement
feature
help wanted
improve API
invalid
needs documentation
not-planned
rtfm
stale
support
wishlist
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libtom/libtomcrypt#396
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Prerequisites
Description
make -f makefile.shared install_allinstalls thetestbinary into $PATH, which then shadows coreutilstestbinary and causes problems. Generally installing a binary namedtestwill cause some issues.Steps to Reproduce
make -f makefile.shared install_allVersion
1.18.1
Isn't that kind of a 'feature' to have a good replacement in case your regular
testis defect? ;) </irony>I have fish shell, which for some reason, runs
testfrom $PATH, every timelsis run, so I was getting this:on every
lsrun, after installing libtomcrypt, that was quite weird and hard to debug 😄Jokes aside, we have the following set of demos etc.
I've marked my opinion on their "install-worthiness"
As we had a nameclash for
cryptwhich led us to rename it toltcryptwe have the same forhashsumwhich we didn't resolve yet...I'd say we should remove the possibility to install all "0*-rated" demos and the 1*- and 2*-rated demos should be renamed to something obvious e.g.
ltcsizesandltconstants. Then also regroup them... or don't use groups at all, but provide install-targets per binary?If we keep groups:
Please add your opinions & preferences! (ping @karel-m @buggywhip)
I agree with all of the above, also the renaming/prefixing with
ltcis useful and should allow easy installing of those binaries into $PATH without name clashes. I also think grouping in Makefiles is useful and allows someone to easily play with the makefile so the demos should be regrouped.Anyway, thanks for working on this issue! 👍
IMO the only tool in "release quality" is
hashsumand it is the only candidate worth installing. I am in doubts whether anybody will ever usemake install_demos.The
ltcrypt+openssl-enccompletely ignore integrity andaesgcmIMO needs a bit more work (we have discussed it in some other PR).The prefixing with
ltcis also not a bad idea.I'm reopening this so we can re-work as proposed.