Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738282 - dev-libs/zziplib-0.13.69-r1 changes external symbol name and causes app-text/texlive-core-2020-r7 to fail rebuild
Summary: dev-libs/zziplib-0.13.69-r1 changes external symbol name and causes app-text/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-20 22:33 UTC by David W Noon
Modified: 2020-08-29 23:27 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge_info.txt,6.93 KB, text/plain)
2020-08-20 22:33 UTC, David W Noon
Details
ebuild log for app-text/texlive-core-2020-r7 (app-text:texlive-core-2020-r7:20200820-164338.log.gz,49.25 KB, application/gzip)
2020-08-20 22:39 UTC, David W Noon
Details
zziplib build system patch to create proper pkgconfig file (zziplib-0.13.71-x86-largefile.patch,1.24 KB, patch)
2020-08-21 00:36 UTC, Martin Kolleck
Details | Diff
ebuild that applies the above patch (zziplib-0.13.71-r1.ebuild,1.71 KB, text/plain)
2020-08-21 00:42 UTC, Martin Kolleck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David W Noon 2020-08-20 22:33:10 UTC
Created attachment 655828 [details]
emerge --info

The external symbol zzip_open_ext_io in previous version of dev-libs/zziplib has been changed to zzip_open_ext_io64 in the newly stabilized version. This causes a linkage failure when emerge @preserved-rebuild attempts to rebuild app-text/texlive-core.

The ebuild log for app-text/texlive-core-3030-r7 will follow in a few minutes.
Comment 1 David W Noon 2020-08-20 22:39:08 UTC
Created attachment 655830 [details]
ebuild log for app-text/texlive-core-2020-r7
Comment 2 Martin Kolleck 2020-08-21 00:36:45 UTC
Created attachment 655836 [details, diff]
zziplib build system patch to create proper pkgconfig file

I tracked this to the change from autotools to cmake as build system for dev-libs/zziplib. The latter correctly detects 32-bit systems now and thus renames the symbols. I did not encounter this problem on amd64 - only x86.

If the preprocessor flags for large file support are added to the generated pkgconfig file, app-text/texlive-core can be (re-)emerged again.
Comment 3 Martin Kolleck 2020-08-21 00:42:31 UTC
Created attachment 655838 [details]
ebuild that applies the above patch
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-08-21 07:13:40 UTC

*** This bug has been marked as a duplicate of bug 738080 ***
Comment 5 David W Noon 2020-08-21 19:22:57 UTC
(In reply to Jeroen Roovers from comment #4)
> 
> *** This bug has been marked as a duplicate of bug 738080 ***

This closure is incorrect.
Comment 6 David W Noon 2020-08-21 19:25:22 UTC
The problem persists with dev-libs/zziplib-0.13.71-r1. The rebuild of app-text/texlive-core-2020-r7 still fails the same way.
Comment 7 Nick Soveiko 2020-08-22 17:37:45 UTC
(In reply to David W Noon from comment #6)
> The problem persists with dev-libs/zziplib-0.13.71-r1. The rebuild of
> app-text/texlive-core-2020-r7 still fails the same way.
can confirm. just stumbled on the same problem.
Comment 8 Martin Kolleck 2020-08-22 23:17:19 UTC
I'm no longer sure that my proposed patch is the best solution.

The root cause is this line from the ebuild
https://github.com/gentoo/gentoo/blob/652bd4824d9206af3fab1820b98d052aadf46d49/dev-libs/zziplib/zziplib-0.13.71-r1.ebuild#L56
which was only introduced with the switch from autotools to cmake. Removing it establishes the previous behaviour and also allows texlive-core to be built again.
Comment 9 ernsteiswuerfel archtester 2020-08-23 17:15:18 UTC
Did run into the same issue on my Pentium 4 box, but the -r2 ebuild from the PR works perfectly. Thanks!
Comment 10 Larry the Git Cow gentoo-dev 2020-08-24 08:29:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abef57edb8f5cea4c8e896a6492a528b7c464f67

commit abef57edb8f5cea4c8e896a6492a528b7c464f67
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2020-08-23 12:31:18 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-08-24 08:28:48 +0000

    dev-libs/zziplib: remove ZZIP_LARGEFILE
    
    Closes: https://bugs.gentoo.org/738282
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/17233
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 dev-libs/zziplib/zziplib-0.13.71-r2.ebuild | 67 ++++++++++++++++++++++++++++++
 1 file changed, 67 insertions(+)
Comment 11 Larry the Git Cow gentoo-dev 2020-08-29 23:27:47 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf16b67ecbaa7897a35ee65644a39bf992a0576

commit edf16b67ecbaa7897a35ee65644a39bf992a0576
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-29 23:22:25 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-29 23:27:38 +0000

    dev-libs/zziplib: rollover keywords
    
    Bug: https://bugs.gentoo.org/738282
    Closes: https://bugs.gentoo.org/739546
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-libs/zziplib/zziplib-0.13.71-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)