Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499998 - www-client/chromium should not depend on dev-libs/libxml2:=[icu]
Summary: www-client/chromium should not depend on dev-libs/libxml2:=[icu]
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-01 18:17 UTC by octoploid
Modified: 2014-02-03 00:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description octoploid 2014-02-01 18:17:36 UTC
www-client/chromium ebuilds depend on icu for dev-libs/libxml2:
 dev-libs/libxml2:=[icu]

It looks like Chromium builds and runs just fine without this dependency.

dev-libs/libxml2:=[icu] also causes a link error when building LibreOffice 4.2:
 "/usr/lib/libxml2.so.2: undefined symbol: UCNV_FROM_U_CALLBACK_STOP"

Reproducible: Always
Comment 1 Rafał Mużyło 2014-02-01 19:47:40 UTC
> It looks like Chromium builds and runs just fine without this dependency.

I wouldn't be surprised if build log of chromium said otherwise.

> "/usr/lib/libxml2.so.2: undefined symbol: UCNV_FROM_U_CALLBACK_STOP"

You likely misunderstood this error - what it seems to be saying is that either libicu was built incorrectly or its installed version is incompatible with libxml2.
Comment 2 octoploid 2014-02-01 20:05:00 UTC
(In reply to Rafał Mużyło from comment #1)
> > It looks like Chromium builds and runs just fine without this dependency.
> 
> I wouldn't be surprised if build log of chromium said otherwise.

It either builds and runs fine or it will fail.

> > "/usr/lib/libxml2.so.2: undefined symbol: UCNV_FROM_U_CALLBACK_STOP"
> 
> You likely misunderstood this error - what it seems to be saying is that
> either libicu was built incorrectly or its installed version is incompatible
> with libxml2.

Well, if I build dev-libs/libxml2 without icu, the link error vanishes.
What does make you think that there is any misunderstanding?
Comment 3 Rafał Mużyło 2014-02-01 23:53:14 UTC
(In reply to octoploid from comment #2)
> (In reply to Rafał Mużyło from comment #1)
> > > It looks like Chromium builds and runs just fine without this dependency.
> > 
> > I wouldn't be surprised if build log of chromium said otherwise.
> 
> It either builds and runs fine or it will fail.
> 

Given how many libs chromium bundles, I wouldn't be surprised if it simply used its own copy in such case.

> > > "/usr/lib/libxml2.so.2: undefined symbol: UCNV_FROM_U_CALLBACK_STOP"
> > 
> > You likely misunderstood this error - what it seems to be saying is that
> > either libicu was built incorrectly or its installed version is incompatible
> > with libxml2.
> 
> Well, if I build dev-libs/libxml2 without icu, the link error vanishes.
> What does make you think that there is any misunderstanding?

Perhaps that as of dev-libs/icu-51.2-r1, the symbol *is* present in libicuuc.so.
Comment 4 octoploid 2014-02-02 01:30:01 UTC
(In reply to Rafał Mużyło from comment #3)
> (In reply to octoploid from comment #2)
> > (In reply to Rafał Mużyło from comment #1)
> > > > It looks like Chromium builds and runs just fine without this dependency.
> > > 
> > > I wouldn't be surprised if build log of chromium said otherwise.
> > 
> > It either builds and runs fine or it will fail.
> > 
> 
> Given how many libs chromium bundles, I wouldn't be surprised if it simply
> used its own copy in such case.

But it doesn't:

x4 ~ # ldd /usr/lib/chromium-browser/chrome | grep xml
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f9fe2542000)
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2014-02-02 19:51:56 UTC
Please see bug #350252 .
Comment 6 Rafał Mużyło 2014-02-03 00:26:09 UTC
@comment 4: the second point from comment 3 stands.