[MacPorts] #73369: inetutils: Install fails with non-root installation because it can't find grcp (was: inetutils fails to install because it can't find grcp)

MacPorts noreply at macports.org
Tue Jan 6 01:00:00 UTC 2026


#73369: inetutils: Install fails with non-root installation because it can't find
grcp
--------------------------+-------------------------
  Reporter:  AgilentGCMS  |      Owner:  Schamschula
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.11.6
Resolution:               |   Keywords:
      Port:  inetutils    |
--------------------------+-------------------------
Changes (by ryandesign):

 * cc: Schamschula (removed)
 * status:  new => assigned
 * owner:  (none) => Schamschula


Comment:

 What ''is'' unusual is that although MacPorts seems to be configured for
 the prefix /Users/sbasu1/packages/macports/sequoia, I also see references
 to /Users/sbasu1/packages/macports/sonoma in the log. Perhaps you have
 created some symlinks between your different prefixes.

 Other differences between the reporter's log and the one from the
 buildbot:

 Buildbot:

 {{{
 :debug:sysinfo macOS 15.7.2 (darwin/24.6.0) arch arm
 :debug:sysinfo MacPorts 2.11.6
 :debug:sysinfo Xcode 16.4, CLT 16.4.0.0.1.1747106510
 ...
 :info:configure checking for stdckdint.h... yes
 ...
 :info:configure checking whether locale.h defines locale_t... yes
 ...
 :info:configure checking for libintl.h... no
 ...
 :info:configure checking for strchrnul... future OS version
 ...
 :info:configure checking for tcpd.h... no
 }}}

 User:

 {{{
 :debug:sysinfo macOS 15.6.1 (darwin/24.6.0) arch arm
 :debug:sysinfo MacPorts 2.11.6
 :debug:sysinfo Xcode 26.2, CLT 16.2.0.0.1.1733547573
 ...
 :info:configure checking for stdckdint.h... no
 ...
 :info:configure checking whether locale.h defines locale_t... no
 ...
 :info:configure checking for libintl.h... yes
 ...
 :info:configure checking for strchrnul... no
 ...
 :info:configure checking for tcpd.h... yes

 }}}

 If you attach your config.log we could investigate why these tests had
 different results.

 However ultimately the reason the install failed is probably:

 {{{
 :info:destroot install:
 /Users/sbasu1/packages/macports/sequoia/var/macports/build/inetutils-
 3d2264d1/work/destroot/Users/sbasu1/packages/macports/sequoia/bin/gtraceroute:
 chown/chgrp: Operation not permitted
 :info:destroot WARNING: Failed to install traceroute (exit code 71)
 :info:destroot NOTE: This program often needs to be owned by root.
 :info:destroot install:
 /Users/sbasu1/packages/macports/sequoia/var/macports/build/inetutils-
 3d2264d1/work/destroot/Users/sbasu1/packages/macports/sequoia/bin/grsh:
 chown/chgrp: Operation not permitted
 :info:destroot WARNING: Failed to install rsh (exit code 71)
 :info:destroot NOTE: This program often needs to be owned by root.
 :info:destroot install:
 /Users/sbasu1/packages/macports/sequoia/var/macports/build/inetutils-
 3d2264d1/work/destroot/Users/sbasu1/packages/macports/sequoia/bin/grlogin:
 chown/chgrp: Operation not permitted
 :info:destroot WARNING: Failed to install rlogin (exit code 71)
 :info:destroot NOTE: This program often needs to be owned by root.
 :info:destroot install:
 /Users/sbasu1/packages/macports/sequoia/var/macports/build/inetutils-
 3d2264d1/work/destroot/Users/sbasu1/packages/macports/sequoia/bin/grcp:
 chown/chgrp: Operation not permitted
 :info:destroot WARNING: Failed to install rcp (exit code 71)
 :info:destroot NOTE: This program often needs to be owned by root.
 ...
 :info:destroot install:
 /Users/sbasu1/packages/macports/sequoia/var/macports/build/inetutils-
 3d2264d1/work/destroot/Users/sbasu1/packages/macports/sequoia/bin/gping:
 chown/chgrp: Operation not permitted
 :info:destroot WARNING: Failed to install ping (exit code 71)
 :info:destroot NOTE: This program often needs to be owned by root.
 :info:destroot install:
 /Users/sbasu1/packages/macports/sequoia/var/macports/build/inetutils-
 3d2264d1/work/destroot/Users/sbasu1/packages/macports/sequoia/bin/gping6:
 chown/chgrp: Operation not permitted
 :info:destroot WARNING: Failed to install ping6 (exit code 71)
 :info:destroot NOTE: This program often needs to be owned by root.
 }}}

 In other words, this software requires root installation, and your
 MacPorts was installed without root privileges.

 Maybe the software doesn't really require a root installation and the
 problem could be fixed by removing the chown/chgrp commands from the
 Makefile.

-- 
Ticket URL: <https://trac.macports.org/ticket/73369#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list