While updating the AUR package for jhc for 0.7.6 it came up with this error when trying to build

src/Info/Info.hs:68:13:
    Ambiguous occurrence `empty'
    It could refer to either `Info.Info.empty', defined at src/Info/Info.hs:162:0
                          or `Data.Generics.empty', imported from Data.Generics at src/Info/Info.hs:23:0-19

src/Info/Info.hs:119:23:
    Ambiguous occurrence `empty'
    It could refer to either `Info.Info.empty', defined at src/Info/Info.hs:162:0
                          or `Data.Generics.empty', imported from Data.Generics at src/Info/Info.hs:23:0-19
make[1]: *** [jhc] Error 1
make[1]: Leaving directory `/tmp/packerbuild-1000/jhc/jhc/src/jhc-0.7.6'
make: *** [all] Error 2
    Aborting...
The build failed.