Opened 15 months ago

Last modified 15 months ago

#63483 assigned defect

gdb-apple: notes tell user to edit an uneditable system file

Reported by: spencerandy Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gdb-apple

Description

Once installed with command sudo port on Terminal, the window returns a note about need to make sure a filename that don't exist. When entering into the path, the filename don't appear. I recommend to don't return any notes about this port.

Change History (4)

comment:1 Changed 15 months ago by ryandesign (Ryan Schmidt)

Owner: set to jeremyhu
Status: newassigned
Summary: About GDB on Applegdb-apple: notes refer to nonexistent system file
Type: submissiondefect

The notes say:

--->  gdb-apple has the following notes:
  You will need to make sure /System/Library/LaunchDaemons/com.apple.taskgated.plist has the '-p' option, e.g.
              <key>ProgramArguments</key>
              <array>
                      <string>/usr/libexec/taskgated</string>
                      <string>-sp</string>
              </array>

Editing this file presumably is still necessary on older systems for this port to work.

On my macOS High Sierra system, the file still exists, but of course cannot be edited due to System Integrity Protection. I do not know whether the port will work on these newer systems if this file is not edited.

comment:2 Changed 15 months ago by ryandesign (Ryan Schmidt)

Summary: gdb-apple: notes refer to nonexistent system filegdb-apple: notes tell user to edit an uneditable system file

Not sure what system you're on, but even on Big Sur, /System/Library/LaunchDaemons/com.apple.taskgated.plist still exists.

comment:3 Changed 15 months ago by mouse07410 (Mouse)

I suspect the problem the OP complains about is not the absence of that file - but inability to edit it because SIP doesn't allow it.

comment:4 Changed 15 months ago by kencu (Ken)

gdb-apple is so old we should block it from anything newer than about Leopard anyway.

people should be using the gdb port.

Note: See TracTickets for help on using tickets.