[MacPorts] #21949: icu +universal is broken
#21949: icu +universal is broken -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: yaz -------------------------------------+-------------------------------------- I'm on Snow Leopard trying to build icu +universal (universal_archs is x86_64 i386). It builds and install just fine, but the files it installs are not. For example, it installs ${prefix}/bin/icu-config, but it is not executable. This causes programs like yaz which require icu to fail to find it. icu-config is installed non-executable because it has been merged by the muniversal merger, because the i386 and x86_64 files differed. The merger has also inserted C compiler directives into the file, e.g.: {{{ #ifndef __LP64__ CFLAGS="-O2 -arch i386 -O2 -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long ${THREADSCFLAGS} " #else /* __LP64__ */ CFLAGS="-O2 -arch x86_64 -O2 -Wall -ansi -pedantic -Wshadow -Wpointer- arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long ${THREADSCFLAGS} " #endif /* __LP64__ */ }}} Since this is a bash script and not a C file, however, these are just treated as comments and ignored. To bash, this just looks like you're setting CFLAGS, then setting it again to a different value. (Lines beginning with "#" are ignored.) In this particular file, the resolution is probably to remove the -arch flags entirely. However there are other files icu +universal installs which need similar attention. I suggest you install icu both universal and non-universal, then diff the two directories in ${prefix}/var/macports/software/icu to see all the differences. -- Ticket URL: <http://trac.macports.org/ticket/21949> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21949: icu +universal is broken -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: nox@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: icu -------------------------------------+-------------------------------------- Changes (by nox@…): * status: new => assigned * version: 1.8.1 => * port: yaz => icu -- Ticket URL: <http://trac.macports.org/ticket/21949#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21949: icu +universal is broken --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: duplicate | Keywords: Port: icu | --------------------------------------+------------------------------------- Changes (by nox@…): * status: assigned => closed * resolution: => duplicate Comment: I know that. I will work on that soon. Marking as duplicate of #21838. -- Ticket URL: <http://trac.macports.org/ticket/21949#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21949: icu +universal is broken --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: nox@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: icu | --------------------------------------+------------------------------------- Changes (by nox@…): * status: closed => reopened * resolution: duplicate => Comment: Mmmh. I didn't say anything. -- Ticket URL: <http://trac.macports.org/ticket/21949#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21949: icu +universal is broken --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: icu | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: reopened => closed * resolution: => fixed Comment: Fixed in r61112. -- Ticket URL: <http://trac.macports.org/ticket/21949#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21949: icu +universal is broken --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: nox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: icu | --------------------------------------+------------------------------------- Comment(by ryandesign@…): Sorry: that broke the non-universal build. Fixed that in r61114. -- Ticket URL: <http://trac.macports.org/ticket/21949#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts