Opened 5 years ago

Closed 5 years ago

#57947 closed defect (fixed)

Portfiles fail to parse if the official ports tree is not in sources.conf

Reported by: jmroot (Joshua Root) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: base Version: 2.5.99
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description

Problem introduced by [5e17a692f991a55a7f450e40ce47ab6fe0f2da57/macports-base]. Causes test failures: https://build.macports.org/builders/base-10.14_x86_64/builds/21/steps/test/logs/stdio

Will also affect anyone using only a custom ports tree. Prior to this change, port would work without the official tree being in sources.conf; portfiles just wouldn't have access to the portgroups and mirror sites defined there.

Change History (1)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In fda5fea279e13a3eb00f88157a46974a05b01dc5/macports-base (master):

Don't fail without a copy of the official ports tree

Keep a fallback copy of the code under _resources/port1.0/compilers in
the ports tree in base. This little bit of redundancy lets us keep
the ability to update compiler choices via the ports tree, while still
allowing operation without it (including while running our tests).

Closes: #57947

Note: See TracTickets for help on using tickets.