From nobody Wed Apr 13 16:44:51 2022 X-Original-To: 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 1B3131B2DD29 for ; Wed, 13 Apr 2022 16:44:52 +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 4KdpNM5Nyyz4wmr for ; Wed, 13 Apr 2022 16:44:51 +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 94DAB77DD for ; Wed, 13 Apr 2022 16:44:51 +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 23DGipYX067236 for ; Wed, 13 Apr 2022 16:44:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23DGipeY067235 for bugs@FreeBSD.org; Wed, 13 Apr 2022 16:44:51 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: bugs@FreeBSD.org Subject: [Bug 263260] pkg does not find indexinfo Date: Wed, 13 Apr 2022 16:44:51 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649868291; 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=fqUeRUHxMY2ZIXcuIbRW/RsqU70/qF8Kku6/2oRot1Q=; b=v4RPSHLOY8rqsTUfjMOOEJBCMXew/+Jb3/Z02GI8gsapERjtEkNtFzITSZX/cwBhA7NCCm iWdl36ax6UfOWNGRBhm89kkSJskgAIAreTkXi0k2ZMM+sijcmtldUMXYO8Jvsq5FqzoAs/ IhQSyVe49PM5mfVtgQ/ljAsCLqkyG0a1jGvgEPOQK7Vlc831AY6PjBf8HYsYEZcX97moZg 22Mhpa+0Alws6S6g0+fxAu08JPY+q/ljZrsVShvroN9+QMYSG8KmIc03rzpl7hpa/W8yVd JV66PAyEUgXXdcqi783Qq318BGVY/VzC4qBOxFjL2hhiWN6wzXQY3ZuUKCbswA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649868291; a=rsa-sha256; cv=none; b=Rwjvc2/5g+fgFuigP7tKBBaFnILxhNLpaTN+VhFvGWVe+HcDH1zkUR3zN6y8Lwi2CsVyTR y3U4u7O56MtrxbF0UmJmw8BiQG/9gpnU6/1XEbvPC89h00Z67FM5nDco1X5qTGCEXNrniR h7DXEFRF4xWg6gHGczhcQArIw0hUQtMDUps92cQXD7/mx24A8dXTVG4B9jmOfVqn/cuUn/ ++4ldm1YjNA2GGGQzKHwTjMufxMd0oNQ6GVFeZOGFrSkpfxy4OjoVvJeq/nr5dkUClCkwf dyFaN6FMXzEFqR4Y9LauZHiezQqGczBVkXsY2xwhMW0jRkR8+KGGVM2V1v3iOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263260 Bug ID: 263260 Summary: pkg does not find indexinfo Product: Base System Version: 12.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu Some ports run indexinfo in a post-install or post-deinstall script. If /usr/local/bin is not in root's path the install script will report an erro= r.=20 The current behavior of both failing in the post-install or post-deinstall = hook and returning a 0 exit status is bad. These scripts are not in the package source in /usr/ports. They are generated by some magic I lack the patience= to track down. # /usr/local/sbin/pkg install fftw3 [...] [1/1] Installing fftw3-3.3.10... [1/1] Extracting fftw3-3.3.10: 100% /bin/sh: indexinfo: not found /bin/sh: indexinfo: not found /bin/sh: indexinfo: not found pkg: POST-INSTALL script failed # echo $? 0 # /usr/sbin/pkg remove fftw3 [...] [1/1] Deinstalling fftw3-3.3.10... [1/1] Deleting files for fftw3-3.3.10: 100% /bin/sh: indexinfo: not found /bin/sh: indexinfo: not found /bin/sh: indexinfo: not found pkg: POST-DEINSTALL script failed # echo $? 0 --=20 You are receiving this mail because: You are the assignee for the bug.=