Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925235 - sys-fs/zfs-2.2.2-r1 fails to compile: fcntl.h:1:2: error: #warning redirecting incorrect #include fcntl.h> to <fcntl.h> [-Werror=cpp]
Summary: sys-fs/zfs-2.2.2-r1 fails to compile: fcntl.h:1:2: error: #warning redirectin...
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-22 09:30 UTC by Agostino Sarubbo
Modified: 2024-02-23 06:43 UTC (History)
0 users

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


Attachments
build.log (build.log,173.41 KB, text/plain)
2024-02-22 09:30 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-02-22 09:30:24 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-fs/zfs-2.2.2-r1 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-22 09:30:26 UTC
Created attachment 885687 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-02-22 09:30:26 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
/usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp]]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-23 06:43:22 UTC
The bug has been closed via the following commit(s):

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

commit bda8ae7ff2bba3e341c010c67009aa403985656d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-23 05:04:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-23 06:33:04 +0000

    sys-fs/zfs: add 2.2.3
    
    Bug: https://bugs.gentoo.org/925290
    Closes: https://bugs.gentoo.org/925281
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/zfs/Manifest               |   2 +
 sys-fs/zfs/files/2.2.3-musl.patch |  34 +++++
 sys-fs/zfs/zfs-2.2.3.ebuild       | 308 ++++++++++++++++++++++++++++++++++++++
 sys-fs/zfs/zfs-9999.ebuild        |   2 +-
 4 files changed, 345 insertions(+), 1 deletion(-)

The bug has been referenced in the following commit(s):

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

commit e2a9a0b1afbd30bbcb23339e9cd870ea435678d5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-23 06:41:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-23 06:41:37 +0000

    sys-fs/zfs: update musl patch
    
    Bug: https://bugs.gentoo.org/925281
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/zfs/files/2.2.3-musl.patch | 41 +++++++++++++++++++++++++++++++++------
 1 file changed, 35 insertions(+), 6 deletions(-)