Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 920358

Summary: app-arch/torrentzip-0.9-r1 fails to compile (GCC-14-SYSTEM): zip.c:1145:28: error: assignment to [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Alexander Miller <alex.miller>
Status: IN_PROGRESS ---    
Severity: normal CC: alex.miller, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/34406
https://github.com/gentoo/gentoo/pull/36279
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 928335    
Bug Blocks:    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2023-12-20 08:16:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-arch/torrentzip-0.9-r1 fails to compile (GCC-14-SYSTEM).
Discovered on: amd64 (internal ref: gcc14_tinderbox)

NOTE:
(GCC-14-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-12-20 08:16:32 UTC
Created attachment 880033 [details]
build.log

build log and emerge --info
Comment 3 Alexander Miller 2023-12-22 00:59:01 UTC
The fork lgtm, I'll put up a PR for the new release shortly.

Concerning the old 0.9-r1 ebuild: I can't test with gcc-14 right now.
Does it build successfully with CPPFLAGS="-Wno-error=incompatible-pointer-types"?
If so, should I append the flag in the old ebuild?
Comment 4 Larry the Git Cow gentoo-dev 2023-12-22 06:46:38 UTC
The bug has been referenced in the following commit(s):

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

commit 469d268abbf90f24770d3ad7ba332c82ccfe07f5
Author:     Alexander Miller <alex.miller@gmx.de>
AuthorDate: 2023-12-22 00:28:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-22 06:44:31 +0000

    app-arch/torrentzip: Switch to new upstream and add 1.0
    
    Bug: https://bugs.gentoo.org/920358
    Signed-off-by: Alexander Miller <alex.miller@gmx.de>
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/torrentzip/Manifest              |  1 +
 app-arch/torrentzip/torrentzip-1.0.ebuild | 28 ++++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2024-02-24 20:07:29 UTC
The bug has been referenced in the following commit(s):

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

commit 9f874493cad5779b95554498159cfe67f6519bad
Author:     Alexander Miller <alex.miller@gmx.de>
AuthorDate: 2024-01-16 23:45:50 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-02-24 20:07:25 +0000

    app-arch/torrentzip: add 1.2
    
    Update LICENSE clarified upstream.
    Drop src_configure() since OF() macro is finally gone.
    Looks like a good stable candidate (so we can drop 0.9-r1 for #920358).
    
    Bug: https://bugs.gentoo.org/920358
    Signed-off-by: Alexander Miller <alex.miller@gmx.de>
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-arch/torrentzip/Manifest              |  1 +
 app-arch/torrentzip/torrentzip-1.2.ebuild | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)