Bug 2359328
| Summary: | F43FailsToInstall: ghc-system-fileio, ghc-system-fileio-devel, ghc-system-fileio-prof | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | ghc-system-fileio | Assignee: | Jens Petersen <petersen> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | haskell-lang-sig, petersen |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-05-06 08:05:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2339435 | ||
|
Description
Fedora Fails To Install
2025-04-13 20:29:29 UTC
FTBFS with gcc15 (or C23 rather):
lib/Filesystem.hs:79:48: warning: [GHC-38856] [-Wunused-imports]
The import of ‘when’ from module ‘Control.Monad’ is redundant
|
79 | import Control.Monad (forM_, unless, when)
| ^^^^
lib/Filesystem.hs:95:1: warning: [GHC-66111] [-Wunused-imports]
The import of ‘System.IO.Error’ is redundant
except perhaps to import instances from ‘System.IO.Error’
To import instances alone, use: import System.IO.Error()
|
95 | import System.IO.Error (IOError)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/Filesystem.hs:925:1: warning: [GHC-40910] [-Wunused-top-binds]
Defined but not used: ‘throwErrnoPathIfMinus1’
|
925 | throwErrnoPathIfMinus1 loc path = CError.throwErrnoPathIfMinus1 loc (encodeString path)
| ^^^^^^^^^^^^^^^^^^^^^^
In file included from /usr/include/dirent.h:25,
from lib/hssystemfileio-unix.c:9:0: error:
/usr/include/features.h:199:3: error:
warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^~~~~~~
|
199 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
| ^
lib/hssystemfileio-unix.c:19:1: error:
error: conflicting types for ‘hssystemfileio_alloc_dirent’; have ‘struct dirent *(void *)’
19 | hssystemfileio_alloc_dirent(void *void_dir)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
19 | hssystemfileio_alloc_dirent(void *void_dir)
| ^
In file included from lib/hssystemfileio-unix.c:1:0: error:
lib/hssystemfileio-unix.h:7:1: error:
note: previous declaration of ‘hssystemfileio_alloc_dirent’ with type ‘struct dirent *(void)’
7 | hssystemfileio_alloc_dirent();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
|
7 | hssystemfileio_alloc_dirent();
| ^
lib/hssystemfileio-unix.c: In function ‘hssystemfileio_readdir’:
lib/hssystemfileio-unix.c:57:17: error:
warning: ‘readdir_r’ is deprecated [-Wdeprecated-declarations]
57 | int rc = readdir_r(dir, dirent, &dirent_result);
| ^~~
|
57 | int rc = readdir_r(dir, dirent, &dirent_result);
| ^
/usr/include/dirent.h:185:12: error:
note: declared here
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^~~~~~~~~
|
185 | extern int readdir_r (DIR *__restrict __dirp,
| ^
`gcc' failed in phase `C Compiler'. (Exit code: 1)
I think this package can be retired.
I have already added obsoletes for this package so it should not affect rawhide users. Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Retired or marked dead.package for F43 Rawhide |