From nobody Fri Sep 09 08:34:50 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MP8SB6FDmz4c71s for ; Fri, 9 Sep 2022 08:34:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MP8SB4TRdz3Mq4 for ; Fri, 9 Sep 2022 08:34:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MP8SB3P3Kz18qF for ; Fri, 9 Sep 2022 08:34:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2898YoEI060135 for ; Fri, 9 Sep 2022 08:34:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2898YoOB060134 for ports-bugs@FreeBSD.org; Fri, 9 Sep 2022 08:34:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266313] lang/php82: strip is unconditional, installation fails (2022Q3) Date: Fri, 09 Sep 2022 08:34:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michael.osipov@siemens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1662712490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z0QvN/8BXnnm9jaatiU6fsXsYa/Fw63hGGfG/bTAhJo=; b=a+FrC28x612w81nqWqGD+eQnjs46F6BeUm57wcB4S+zpbYLoAN+nh+hvLmH4O686za3LlG BaGQ+wTQiXKF4hfAx0LudZo0m9mL/NMoRht1+lc4Mdb4Vozt2/nj7X5YIBh9oMLPRAZath qpkz+k9Y/XSnVOuHvVkaaaVDBU2eGAOF9AB8VCss3tbpubVQKGtsvmsUr5IWS3XczwlPm5 8R6Q1ZfjGFHkdGeEBRUc0ddawCLvy0sPIA1ie+A9c3hZzCFD8Zv9tpjGDbOMWs5rwMUAjA W8d0megpvyIJGjGM52nxp+SrOxEXVUrJ3goaof1iXMEHGRDGpE/Y7mpj0j60yg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1662712490; a=rsa-sha256; cv=none; b=Yps8rBFEVZi1kWUwTVN+RRAQOe+IqmVs8019CTGETT6oPINrrULZsOrKgy6p2AB2BS4Uey i0rrYDO7pxWWlRT1gzKL/stYPTCqocmAC2h/JXNRYuolfzNj0uff+wGW5saQy2yVNIrK9u i3gd+HyUTiqGC42EORpr39dZfcqtJVcN2sf3kMl+A7kqLOElw8M/tGwGWmhvueQ2jVf8yU pqx9tplRBlO4Y0aPKnqW+RS6p7vUkC8ZocCzq/MjJK3Z4TFHLUid0zZxMFDPNwKFYzEuE2 HrBeBqizt0dyUw+o4iJ0aa+ZbVU5xThVF0SJf90GpYMLzmphDSXntP741jkJ6A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266313 Bug ID: 266313 Summary: lang/php82: strip is unconditional, installation fails (2022Q3) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: michael.osipov@siemens.com For some reason the Makefile from lang/php81 hasn't been copied appropriate= ly. strip(1) must be applied conditionally. Patch attached. 2022Q4 is still a m= onth away. > root@deblndw013x3j:/var/tmp/freebsd-ports/lang/php82 (2022Q3 *=3D) > # git diff . > diff --git a/lang/php82/Makefile b/lang/php82/Makefile > index ea7b5914e..751f0bab5 100644 > --- a/lang/php82/Makefile > +++ b/lang/php82/Makefile > @@ -148,13 +148,23 @@ test: build > @(cd ${WRKSRC} && ${MAKE} test) >=20 > post-install: > - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php-cgi > - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/phpdbg > - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/bin/php > - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libphp.so > - ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/sbin/php-fpm > - ${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-produ= ction \ > + @${INSTALL_DATA} ${WRKSRC}/php.ini-development ${WRKSRC}/php.ini-prod= uction \ > ${WRKDIR}/php.conf ${STAGEDIR}/${PREFIX}/etc > + > +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 > .else > do-install: > ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} > --=20 You are receiving this mail because: You are the assignee for the bug.=