Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928518 - sys-fs/zfs-2.2.3 fails to compile: zpool_vdev_os.c:441:29: error: calloc sizes specified with sizeof in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
Summary: sys-fs/zfs-2.2.3 fails to compile: zpool_vdev_os.c:441:29: error: calloc size...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sam James
URL: https://github.com/openzfs/zfs/pull/1...
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-04-03 14:42 UTC by Agostino Sarubbo
Modified: 2024-05-03 04:53 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,490.64 KB, text/plain)
2024-04-03 14:42 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-04-03 14:42:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/zfs-2.2.3 fails to compile.
Discovered on: arm64 (internal ref: tinderbox_arm64)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-04-03 14:42:41 UTC
Created attachment 889357 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-04-03 14:42:41 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


configure: WARNING: cannot find aio via pkg-config or in the standard locations
cmd/zpool/os/linux/zpool_vdev_os.c:441:29: error: ‘calloc’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument [-Werror=calloc-transposed-args[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcalloc-transposed-args]]
Comment 3 Larry the Git Cow gentoo-dev 2024-05-03 04:53:58 UTC
The bug has been closed via the following commit(s):

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

commit 33c9e9ebd07e6d158e6064a267db3876f3a1f130
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-03 04:52:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-03 04:53:35 +0000

    sys-fs/zfs-kmod: add 2.2.4
    
    This release contains a fix for https://github.com/openzfs/zfs/issues/15933.
    
    Closes: https://bugs.gentoo.org/928518
    Bug: https://bugs.gentoo.org/815469
    Bug: https://bugs.gentoo.org/917224
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/zfs-kmod/Manifest              |   2 +
 sys-fs/zfs-kmod/zfs-kmod-2.2.4.ebuild | 217 ++++++++++++++++++++++++++++++++++
 2 files changed, 219 insertions(+)

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

commit 54cd669fae4c965242510044481ac5df0beaaba0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-03 04:49:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-03 04:53:34 +0000

    sys-fs/zfs: add 2.2.4
    
    This release contains a fix for https://github.com/openzfs/zfs/issues/15933.
    
    Closes: https://bugs.gentoo.org/928518
    Bug: https://bugs.gentoo.org/815469
    Bug: https://bugs.gentoo.org/917224
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/zfs/Manifest         |   2 +
 sys-fs/zfs/zfs-2.2.4.ebuild | 308 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 310 insertions(+)