[MacPorts] #27641: boost uses icu even without the +icu variant
#27641: boost uses icu even without the +icu variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost -------------------------------------+-------------------------------------- I have boost installed without the icu variant, but it still linked with the icu libraries. It mustn't do that. {{{ $ port installed boost The following ports are currently installed: boost @1.45.0_0+python26+universal boost @1.45.0_1+python26+universal (active) $ port deps boost +python26 +universal Full Name: boost @1.45.0_1+python26+universal Library Dependencies: zlib, expat, bzip2, python26 }}} {{{ $ sudo port install source-highlight [...] dyld: Library not loaded: /opt/local/lib/libicuuc.44.dylib Referenced from: /opt/local/lib/libboost_regex-mt.dylib Reason: image not found }}} {{{ $ port provides /opt/local/lib/libicuuc.44.dylib /opt/local/lib/libicuuc.44.dylib does not exist. $ port provides /opt/local/lib/libicuuc.46.dylib /opt/local/lib/libicuuc.46.dylib is provided by: icu }}} -- Ticket URL: <https://trac.macports.org/ticket/27641> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27641: boost uses icu even without the +icu variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost -------------------------------------+-------------------------------------- Comment(by adfernandes@…): Dang. I looked into this, and `boost` also links/builds python, and ignores the "--without-python" flag. I have no idea why; but I really don't want to spend hours debugging a horrible, undocumented tool like the bootstrapped `bjam`. Every time I try to ask for help (or have others) the boost developers seem bewildered that you'd build a configuration not like theirs. :-( If anyone has suggestions, I'm happy to listen! -- Ticket URL: <https://trac.macports.org/ticket/27641#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27641: boost uses icu even without the +icu variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost -------------------------------------+-------------------------------------- Comment(by ryandesign@…): I've just rebuilt boost with the +icu variant on my boxes. Is it perhaps a solution to delete the icu variant and just make the icu port a permanent dependency of boost? -- Ticket URL: <https://trac.macports.org/ticket/27641#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27641: boost uses icu even without the +icu variant -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: boost -------------------------------------+-------------------------------------- Comment(by adfernandes@…): Replying to [comment:2 ryandesign@…]:
I've just rebuilt boost with the +icu variant on my boxes. Is it perhaps a solution to delete the icu variant and just make the icu port a permanent dependency of boost?
Yes; I've just spent a '''long''' time winding my way through the boost configuration and build system, and it seems that boost doesn't actually configure itself to use or not-use `icu`. Instead, it just adds `icu` to the search path. Since `bzip2`, `expat`, and `zlib` are all taken from MacPorts, it automagically finds `icu` as well. There's no way to stop it. I'm re-building boost now to do this and will commit when tested. -- Ticket URL: <https://trac.macports.org/ticket/27641#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27641: boost uses icu even without the +icu variant --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: boost | --------------------------------------+------------------------------------- Changes (by adfernandes@…): * status: new => closed * resolution: => fixed Comment: Committed in r74805. -- Ticket URL: <https://trac.macports.org/ticket/27641#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts