New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13518 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

can't read "startupitem.uniquename": no such variable

Reported by: ryandesign@… Owned by: ryandesign@…
Priority: Normal Milestone: MacPorts 1.6
Component: base Version: 1.5.2
Keywords: Cc:
Port:

Description

With MacPorts built from trunk@31681, I can't install apache2:

$ sudo port install
--->  Fetching apache2
--->  Verifying checksum(s) for apache2
--->  Extracting apache2
--->  Applying patches to apache2
--->  Configuring apache2
--->  Building apache2 with target all
--->  Staging apache2 into destroot
--->  Creating launchd control script
Error: Target org.macports.destroot returned: can't read "startupitem.uniquename": no such variable
Error: Status 1 encountered during processing.
$

I assume this came about as a result of the changes in r31500.

Change History

comment:1 Changed 5 years ago by ryandesign@…

After fixing that, I get

Error: Target org.macports.destroot returned: can't read "startupitem.plist": no such variable

And after fixing that, I get

Error: Target org.macports.destroot returned: can't read "startupitem.location": no such variable

Seems like some global definitions are missing in startupitem_create_darwin_launchd.

Also seems like the global definition for startupitem.requires isn't needed in this function.

Hopefully fixed all this in r31771.

comment:2 Changed 4 years ago by toby@…

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

comment:3 Changed 4 years ago by toby@…

Is this still an issue?

comment:4 Changed 4 years ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone changed from MacPorts Future to MacPorts 1.6

No, r31771 fixed it. I don't remember why I left the ticket open; closing.

Note: See TracTickets for help on using tickets.