Opened 3 years ago
Closed 3 years ago
#68704 closed defect (fixed)
pgpointcloud: depends on port:icu
| Reported by: | barracuda156 | Owned by: | nilason (Nicklas Larsson) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.8.1 |
| Keywords: | Cc: | nilason (Nicklas Larsson), mascguy (Christopher Nielsen), catap (Kirill A. Korinsky) | |
| Port: | pgpointcloud |
Description
svacchanda@Sergeys-MacBook-Air ~ % sudo port -v install pdal ---> Computing dependencies for pdal..... Error: Can't install icu because conflicting ports are active: icu-devel Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port pdal failed
- S. I thought it was fixed repo-wide already. Apparently not.
Change History (6)
comment:1 Changed 3 years ago by catap (Kirill A. Korinsky)
comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | set to nilason |
|---|---|
| Port: | pgpointcloud added; pdal icu-devel removed |
| Status: | new → assigned |
| Summary: | PDAL: something in dependency tree conflicts with icu-devel → pgpointcloud: depends on port:icu |
comment:3 Changed 3 years ago by nilason (Nicklas Larsson)
While pgpointcloud does indeed links to icu, it does so via xml2-config (of port libxml2). icu is not a direct dependency to pgpointcloud.
I'm not sure what would be the best solution to this: remove icu dependency all together; replace it with with path-based dependency; or something completely different...
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
If pgpointcloud links with an icu library, it should declare a dependency on it. And it should do so with a path:-based dependency so that icu-devel could satisfy it.
Even better: use xml2-config --libs --dynamic instead of xml2-config --libs so that you don't pull in icu and other transitive dependencies and then remove those dependencies.
Even better: use pkg-config libxml-2.0 --libs and then remove those dependencies.
comment:5 Changed 3 years ago by nilason (Nicklas Larsson)
Thanks Ryan! This is now addressed with https://github.com/macports/macports-ports/pull/21415.
comment:6 Changed 3 years ago by nilason (Nicklas Larsson)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Sergey, the issue came from port pgpointcloud