Bug 1957233
| Summary: | haskell packages using c2hs fail to build due to gcc11 in Fedora 34 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sergey Dmitriev <sergeydmit> | 
| Component: | gtk2hs-buildtools | Assignee: | Jens Petersen <petersen> | 
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | 
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 34 | CC: | petersen, sergeydmit | 
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-05-18 05:19:19 UTC | Type: | Bug | 
| Regression: | --- | Mount Type: | --- | 
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| 
 
        
          Description
        
        
          Sergey Dmitriev
        
        
        
        
        
          2021-05-05 12:30:57 UTC
        
       
      
      
      
    Thanks for the report - I can't reproduce this yet locally. What locale are you using? Sorry I misread, I was thrown by the component: I see you mean when building the ncurses library. Yeah unfortunately I already hit this with some of the gtk2hs libraries too :-( Have you seen any patches floating around? I think this is basically an issue with c2hs, which we don't have directly in Fedora. Nvm I found a patch: https://github.com/gtk2hs/gtk2hs/pull/304 which I am pushing to Fedora gtk2hs-buildtools: you could try applying to c2hs too (https://github.com/haskell/c2hs/issues/268) - though I am not sure how much c2hs and gtk2hsC2hs have diverged by now. As such it might not be a bad idea to add c2hs to Fedora...  |