Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2022 16:44:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263260] pkg does not find indexinfo
Message-ID:  <bug-263260-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263260-227>