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...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
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: ---


Attachments
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
Details
emerge-info.txt (emerge-info.txt,8.69 KB, text/plain)
2022-08-10 01:44 UTC, Jonathan Lovelace
Details

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:20220808-122124.log

=dev-haskell/regex-tdfa-1.3.2 fails its test phase (while upgrading from 1.3.1.1 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:                                                 
    https://github.com/martijnbastiaan/doctest-parallel#test-non-exposed-modules                              
                                                                                                              
 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                                   
    https://github.com/martijnbastiaan/doctest-parallel/issues/22.                                            
                                                                                                              
 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 https://github.com/martijnbastiaan/doctest-parallel/blob/main/example/README.md for
 more information.                                     
                                                                                                              
The original reason given by GHCi was:                                                                        
                                                                                                              
Error:                                                                                                        
                                                       
<no location info>: error:                                                                                    
    Could not load module ‘Text.Regex.TDFA’                                                                   
    It is a member of the package ‘regex-tdfa-1.3.1.1-5RkfvRkwT0ok2IR9T73uh’                                      which is unusable due to missing dependencies:                                                            
      regex-base-0.94.0.0-90akf7MH4gL42SgNn4lXMF                                                                                                                                                                            
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]
emerge-info.txt