Re: git: 0f0109c551ad - main - lang/php81: Update version 8.1.7=>8.1.8
- In reply to: Po-Chuan Hsieh : "Re: git: 0f0109c551ad - main - lang/php81: Update version 8.1.7=>8.1.8"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Jul 2022 16:31:58 UTC
On Sun, Jul 10, 2022 at 12:19 AM Po-Chuan Hsieh <sunpoet@freebsd.org> wrote: > On Sat, Jul 9, 2022 at 10:41 AM Muhammad Moinur Rahman <bofh@freebsd.org> > wrote: > >> The branch main has been updated by bofh: >> >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=0f0109c551ad0a25a952c92d3b0815c29a4f23cc >> >> commit 0f0109c551ad0a25a952c92d3b0815c29a4f23cc >> Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> >> AuthorDate: 2022-07-09 02:38:59 +0000 >> Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> >> CommitDate: 2022-07-09 02:41:15 +0000 >> >> lang/php81: Update version 8.1.7=>8.1.8 >> >> - Add STRIP_CMD for some binaries and libs [1] >> >> Reported by: sunpoet [1] >> > > Thanks! > > >> Relnotes: https://www.php.net/ChangeLog-8.php#8.1.8 >> Sponsored by: Bounce Experts >> --- >> > [deleted] > >> + @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libphp.so >> > > This has to be moved to post-install-EMBED-on:. Otherwise, the error > occurs: > strip: open /usr/ports/lang/php81/work/stage//usr/local/lib/libphp.so > failed: No such file or directory > *** Error code 1 > > Stop. > Oh, my previous message is incomplete. You have to move all these STRIP_CMD commands to corresponding post-install-FOO-on: post-install-CGI-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php-cgi post-install-PHPDBG-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/phpdbg post-install-CLI-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/php post-install-FPM-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/php-fpm post-install-EMBED-on: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libphp.so > > BTW, the superfluous / before PREFIX can be removed. > On Sun, Jul 10, 2022 at 12:19 AM Po-Chuan Hsieh <sunpoet@freebsd.org> wrote: > On Sat, Jul 9, 2022 at 10:41 AM Muhammad Moinur Rahman <bofh@freebsd.org> > wrote: > >> The branch main has been updated by bofh: >> >> URL: >> https://cgit.FreeBSD.org/ports/commit/?id=0f0109c551ad0a25a952c92d3b0815c29a4f23cc >> >> commit 0f0109c551ad0a25a952c92d3b0815c29a4f23cc >> Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> >> AuthorDate: 2022-07-09 02:38:59 +0000 >> Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> >> CommitDate: 2022-07-09 02:41:15 +0000 >> >> lang/php81: Update version 8.1.7=>8.1.8 >> >> - Add STRIP_CMD for some binaries and libs [1] >> >> Reported by: sunpoet [1] >> > > Thanks! > > >> Relnotes: https://www.php.net/ChangeLog-8.php#8.1.8 >> Sponsored by: Bounce Experts >> --- >> > [deleted] > >> + @${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libphp.so >> > > This has to be moved to post-install-EMBED-on:. Otherwise, the error > occurs: > strip: open /usr/ports/lang/php81/work/stage//usr/local/lib/libphp.so > failed: No such file or directory > *** Error code 1 > > Stop. > > BTW, the superfluous / before PREFIX can be removed. >