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
> 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.
(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?
(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.
(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)
Please see bug #350252 .
@comment 4: the second point from comment 3 stands.