https://bugs.openldap.org/show_bug.cgi?id=9248
Bug ID: 9248 Summary: argon2 Makefile detects prefix incorrectly Product: OpenLDAP Version: 2.4.50 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: contrib Assignee: bugs@openldap.org Reporter: ryan@openldap.org Target Milestone: ---
argon2 tries to auto-detect the prefix from the core Makefile, but gets it slightly wrong.
$ make DESTDIR=/home/ryan/tmp/sysroot install mkdir -p /home/ryan/tmp/sysroot`grep -e "^prefix =" ../../../../Makefile | cut -d= -f2`/libexec/openldap mkdir: cannot create directory ‘/usr/libexec’: Permission denied make: *** [Makefile:63: install-lib] Error 1 $ grep -e "^prefix =" ../../../../Makefile | cut -d= -f2 /usr $ grep -e "^prefix =" ../../../../Makefile prefix = /usr
The problem is the space after the equals sign.
I'd probably just remove this auto-detection and default it to prefix=/usr/local, like every other contrib Makefile does, for the sake of simplicity.
https://bugs.openldap.org/show_bug.cgi?id=9248
--- Comment #1 from Ryan Tandy ryan@openldap.org --- pbkdf2 Makefile has the same bug.
https://bugs.openldap.org/show_bug.cgi?id=9248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.4.51
https://bugs.openldap.org/show_bug.cgi?id=9248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |IN_PROGRESS
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- https://git.openldap.org/openldap/openldap/-/merge_requests/73
https://bugs.openldap.org/show_bug.cgi?id=9248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|IN_PROGRESS |RESOLVED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- Master:
Commits: • 2286e2ed by Quanah Gibson-Mount at 2020-05-31T22:32:53+00:00 Issue#9248 - Fix default prefix value
RE24:
commit 07e2929cec069bc114f1eebf464558822a157c4e Author: Quanah Gibson-Mount quanah@openldap.org Date: Tue May 26 21:00:11 2020 +0000
Issue#9248 - Fix default prefix value
https://bugs.openldap.org/show_bug.cgi?id=9248
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED