[MacPorts] #22903: cyrus-sasl2 +universal: ambiguous option "-": must be -exact, -glob, -regexp, or --
#22903: cyrus-sasl2 +universal: ambiguous option "-": must be -exact, -glob, -regexp, or -- -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jmpp@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: cyrus-sasl2 -------------------------------------+-------------------------------------- cyrus-sasl2 +universal fails with this message on Leopard with universal_archs set to i386 ppc: {{{ ---> Building cyrus-sasl2 DEBUG: Executing proc-pre-org.macports.build-build-0 Error: Target org.macports.build returned: ambiguous option "-": must be -exact, -glob, -regexp, or -- DEBUG: Backtrace: ambiguous option "-": must be -exact, -glob, -regexp, or -- while executing "$pre $targetname" Warning: the following items did not execute (for cyrus-sasl2): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} Full log attached. There are several other tickets for universal failures with cyrus-sasl2, but none I saw that mentioned this error message. Also, the port installs fine universal on Snow Leopard with universal_archs set to x86_64 i386. -- Ticket URL: <http://trac.macports.org/ticket/22903> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22903: cyrus-sasl2 +universal: ambiguous option "-": must be -exact, -glob, -regexp, or -- -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jmpp@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: cyrus-sasl2 -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * cc: jeremyhu@… (added) -- Ticket URL: <http://trac.macports.org/ticket/22903#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22903: cyrus-sasl2 +universal: ambiguous option "-": must be -exact, -glob, -regexp, or -- -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jmpp@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: cyrus-sasl2 -------------------------------------+-------------------------------------- Comment(by eborisch@…): This problem appears fixed in r61582, but on leopard, we need the opposite patch (to have libtool use '-arch x86_64' explicitly...) {{{ pre-build { if {[variant_isset universal] && [file exists ${worksrcpath}-x86_64/libtool]} { reinplace -E "s|^CC=\\\"(\[^\\\"\]+)\\\"|CC=\"\\1 -arch x86_64\"|g" ${worksrcpath}-x86_64/libtool } if {[variant_isset universal] && [file exists ${worksrcpath}-i386/libtool]} { reinplace -E "s|^CC=\\\"(\[^\\\"\]+)\\\"|CC=\"\\1 -arch i386\"|g" ${worksrcpath}-i386/libtool } } }}} -- Ticket URL: <http://trac.macports.org/ticket/22903#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22903: cyrus-sasl2 +universal: ambiguous option "-": must be -exact, -glob, -regexp, or -- -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: jmpp@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: cyrus-sasl2 -------------------------------------+-------------------------------------- Comment(by ryandesign@…): I don't understand why we're being convoluted special-casing specific architectures. Just loop over all the ${universal_archs_to_use}, no? -- Ticket URL: <http://trac.macports.org/ticket/22903#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#22903: cyrus-sasl2 +universal: ambiguous option "-": must be -exact, -glob, -regexp, or -- --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: jmpp@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: Port: cyrus-sasl2 | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Anyway, this complaint is for #17357. #22903 was resolved by r61582. -- Ticket URL: <http://trac.macports.org/ticket/22903#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts