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

Bug 921255

Summary: net-misc/sitecopy-0.16.6-r2 fails to compile (GCC-14-SYSTEM): ftp.c:645:47: error: passing argument 3 of getsockname from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36582
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-01-03 08:56:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-misc/sitecopy-0.16.6-r2 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-14 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2024-01-03 08:56:09 UTC
Created attachment 881356 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-05-08 15:54:14 UTC
The bug has been closed via the following commit(s):

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

commit 8ae2d6ffcdbd88a278ea7c7c6b75af21fb4adc41
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2024-05-06 12:03:36 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-05-08 15:53:58 +0000

    net-misc/sitecopy: Fix passing incompatible pointer type
    
    And update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/921255
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36582
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 .../files/sitecopy-0.16.6-33-c99-build-fix.patch   | 12 ++++
 net-misc/sitecopy/sitecopy-0.16.6-r3.ebuild        | 64 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)