Opened 16 years ago

Closed 15 years ago

#13518 closed defect (fixed)

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

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
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 (4)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

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 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:3 Changed 15 years ago by tobypeterson

Is this still an issue?

comment:4 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts FutureMacPorts 1.6
Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.