Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930365 - www-client/chromium: Add system-zlib USE flag for systems with zlib-ng/minizip-ng[compat] to build with bundled Zlib
Summary: www-client/chromium: Add system-zlib USE flag for systems with zlib-ng/minizi...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Chromium Project
URL: https://github.com/zlib-ng/minizip-ng...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-04-21 09:55 UTC by Aidan Harris
Modified: 2024-04-21 11:07 UTC (History)
3 users (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 Aidan Harris 2024-04-21 09:55:22 UTC
chromium-browser: symbol lookup error: chromium-browser: undefined symbol: unzGetCurrentFileZStreamPos64

Minizip-ng doesn't provide this.

Adding a system-zlib flag is not difficult to do so I hope this can be pulled into a future update of the ebuilds.

Reproducible: Always
Comment 1 Aidan Harris 2024-04-21 09:59:13 UTC
https://github.com/gentoo/gentoo/pull/36340
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-21 10:08:11 UTC
No need to manually CC maintainers.
Comment 3 Ionen Wolkens gentoo-dev 2024-04-21 10:51:13 UTC
Up to maintainer (which is not me), but personally not thrilled at the idea of doing workarounds for USE=compat when.. it's not compatible contrary to the USE name.

Ideally it's something that should be improved in zlib-ng/minizip-ng, and if upstream has no interest to then the USE will remain a masked hack with no real support in Gentoo.
Comment 4 Aidan Harris 2024-04-21 11:07:40 UTC
(In reply to Ionen Wolkens from comment #3)
> Up to maintainer (which is not me), but personally not thrilled at the idea
> of doing workarounds for USE=compat when.. it's not compatible contrary to
> the USE name.
> 
> Ideally it's something that should be improved in zlib-ng/minizip-ng, and if
> upstream has no interest to then the USE will remain a masked hack with no
> real support in Gentoo.

That's fair. I only filed this bug because it's a simple thing to do and if you do it the way I did in the pull request it's forced on so doesn't impact normal zlib users in anyway. I had to add:

/etc/portage/profile/package.use.mask/zlib-ng:
www-client/chromium system-zlib

So people that aren't using zlib-ng and minizip-ng won't accidentally end up with a bundled copy.