New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #25317 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

antlr3 3.2 destroot failure

Reported by: dkkeen@… Owned by: singingwolfboy@…
Priority: Normal Milestone:
Component: ports Version: 1.9.0
Keywords: haspatch Cc:
Port: antlr3

Description

sudo port install antlr3 fails with the following error:

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

I was able to install the port by modifying the destroot section of the Porfile to this:

destroot {
    xinstall -m 755 -d ${destroot}${prefix}/share/java/${name}
    copy ${distpath}/${distname}${extract.suffix} ${destroot}${prefix}/share/java/${real_name}.jar
}

Change History

comment:1 Changed 3 years ago by jmr@…

  • Cc singingwolfboy@… removed
  • Owner changed from macports-tickets@… to singingwolfboy@…
  • Summary changed from antlr3 3.2 install failure to antlr3 3.2 destroot failure

comment:2 Changed 3 years ago by singingwolfboy@…

  • Status changed from new to closed
  • Resolution set to fixed

Thanks for letting me know! I've committed your fix in r68895.

comment:3 Changed 3 years ago by ryandesign@…

FYI the variable is called "distfiles" not "distfile".

Note: See TracTickets for help on using tickets.