Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#33795 closed defect (fixed)

ppl has gcc variants but gcc45+ depend on ppl

Reported by: mf2k (Frank Schima) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: mww@…, adfernandes (Andrew Fernandes)
Port: ppl gcc45 gcc46 gcc47 gcc48

Description

Not sure how this happened, but gcc45 and ppl +gcc45 both depend on each other and cannot be built. Seems related to ticket:33151 and r91016. This is especially troubling for me because I use +gcc45 as a default variant.

Change History (4)

comment:1 Changed 12 years ago by adfernandes (Andrew Fernandes)

If anyone needs to change ppl, cloog, or cloog-ppl to fix this, please go ahead; I'm very busy with non-macports things and won't be able to touch this for at least a couple of weeks.

Note that there is an outstanding ticket to upgrade ppl (#33635) that, if someone wants to tackle as part of this, I'd be very appreciative!

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: gcc46 gcc47 gcc48 added
Summary: ppl and gcc45 depend on each otherppl has gcc variants but gcc45+ depend on ppl

ppl only depends on a gcc port if you request one of its gcc variants. By default ppl does not require a gcc port.

Why does ppl provide variants to use a gcc port as its compiler? What benefit does this achieve?

According to "port echo depends::ppl$" the only ports that depend on ppl are gcc45 and up, and cloog-ppl; as such it seems ill-advised to allow ppl to depend on a gcc port, since as Frank points out that introduces a circular dependency.

I don't see any relationship between this problem and #33151, except that in a sidetracked comment in that ticket someone pointed out that gcc45 was not using ppl, and I therefore added the dependency to gcc45 and gcc47 in r91016, since gcc46 already had it (and gcc48 was subsequently copied from gcc47 so it has it too).

comment:3 Changed 12 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

I removed the gcc45 and gcc46 variants of ppl in r91316.

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

Thank you, but that still leaves the gcc43 and gcc44 variants, and I'm still curious about their purpose. Why would anybody want to build ppl with gcc43 or gcc44 when it builds fine with the standard Xcode compiler?

Note: See TracTickets for help on using tickets.