Skip to content

git-annex compilation failure #7760

@mihaimaruseac

Description

@mihaimaruseac
       Preprocessing executable 'git-annex' for git-annex-10.20250520...
       Building executable 'git-annex' for git-annex-10.20250520...
       [443 of 756] Compiling Database.ContentIdentifier
       /home/curators/work/unpack-dir/unpacked/git-annex-10.20250520-82fba32ba26f0981baa086d72e91052c010e3759a0448473f4d90e5a3b85f0d4/Database/ContentIdentifier.hs:110:66: error: [GHC-83865]
           • Couldn't match type ‘OsString’
                            with ‘bytestring-0.12.2.0:Data.ByteString.Internal.Type.ByteString’
             Expected: RawFilePath
               Actual: OsPath
           • In the first argument of ‘fromRawFilePath’, namely ‘db’
             In the first argument of ‘T.pack’, namely ‘(fromRawFilePath db)’
             In the first argument of ‘runSqlite’, namely
               ‘(T.pack (fromRawFilePath db))’
           |
       110 |                 else liftIO $ runSqlite (T.pack (fromRawFilePath db)) $ void $
           |                                                                  ^^

CC @joeyh . Will do an upper bound for now while this gets fixed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions