Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 864729 - dev-haskell/regex-tdfa-1.3.2 fails tests: Could not import module: Text.Regex.TDFA.
Summary: dev-haskell/regex-tdfa-1.3.2 fails tests: Could not import module: Text.Regex...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
Depends on:
Reported: 2022-08-10 01:43 UTC by Jonathan Lovelace
Modified: 2022-08-10 03:19 UTC (History)
0 users

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

dev-haskell:regex-tdfa-1.3.2:20220808-122124.log (dev-haskell:regex-tdfa-1.3.2:20220808-122124.log,68.19 KB, text/x-log)
2022-08-10 01:43 UTC, Jonathan Lovelace
emerge-info.txt (emerge-info.txt,8.69 KB, text/plain)
2022-08-10 01:44 UTC, Jonathan Lovelace

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2022-08-10 01:43:13 UTC
Created attachment 799051 [details]

=dev-haskell/regex-tdfa-1.3.2 fails its test phase (while upgrading from as the first of four packages scheduled for building in a haskell-updater run). All the unit tests pass, but then we see:

Test suite doc-test: RUNNING...                                                                               
Could not import module: Text.Regex.TDFA. This can be caused by a number of issues:                           
 1. A module found by GHC contained tests, but was not in 'exposed-modules'. If you want                      
    to test non-exposed modules follow the instructions here:                                                                          
 2. For Cabal users: Cabal did not generate a GHC environment file. Either:                                   
   * Run with '--write-ghc-environment-files=always'   
   * Add 'write-ghc-environment-files: always' to your cabal.project                                          
 3. For Cabal users: Cabal did not generate a GHC environment file in time. This                              
    can happen if you use 'cabal test' instead of 'cabal run doctests'. See                                                                          
 4. The testsuite executable does not have a dependency on your project library. Please                       
    add it to the 'build-depends' section of the testsuite executable.                                        
See the example project at for
 more information.                                     
The original reason given by GHCi was:                                                                        
<no location info>: error:                                                                                    
    Could not load module ‘Text.Regex.TDFA’                                                                   
    It is a member of the package ‘regex-tdfa-’                                      which is unusable due to missing dependencies:                                                            
Examples: 14  Tried: 0  Errors: 1  Unexpected output: 0                                                       
Test suite doc-test: FAIL                                                                                     
Test suite logged to: dist/test/regex-tdfa-1.3.2-doc-test.log
Comment 1 Jonathan Lovelace 2022-08-10 01:44:46 UTC
Created attachment 799053 [details]