GregorySchwartz / diversity

Calculates the diversity of each position in a fasta file.
GNU General Public License v3.0
1 stars 1 forks source link

Build failure with 0.8 #2

Closed snoyberg closed 8 years ago

snoyberg commented 8 years ago
> /tmp/stackage-build8$ stack unpack diversity-0.8.0.0
Unpacked diversity-0.8.0.0 to /tmp/stackage-build8/diversity-0.8.0.0/
> /tmp/stackage-build8/diversity-0.8.0.0$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup configure --package-db=clear --package-db=global --package-db=/home/stackage/work/builds/nightly/pkgdb --libdir=/home/stackage/work/builds/nightly/lib --bindir=/home/stackage/work/builds/nightly/bin --datadir=/home/stackage/work/builds/nightly/share --libexecdir=/home/stackage/work/builds/nightly/libexec --sysconfdir=/home/stackage/work/builds/nightly/etc --docdir=/home/stackage/work/builds/nightly/doc/diversity-0.8.0.0 --htmldir=/home/stackage/work/builds/nightly/doc/diversity-0.8.0.0 --haddockdir=/home/stackage/work/builds/nightly/doc/diversity-0.8.0.0 --flags=
Configuring diversity-0.8.0.0...
> /tmp/stackage-build8/diversity-0.8.0.0$ runghc -clear-package-db -global-package-db -package-db=/home/stackage/work/builds/nightly/pkgdb Setup build
Building diversity-0.8.0.0...
Preprocessing library diversity-0.8.0.0...
[1 of 6] Compiling Math.Diversity.Statistics ( src/src-lib/Math/Diversity/Statistics.hs, dist/build/Math/Diversity/Statistics.o )
[2 of 6] Compiling Math.Diversity.RandomSampling ( src/src-lib/Math/Diversity/RandomSampling.hs, dist/build/Math/Diversity/RandomSampling.o )
[3 of 6] Compiling Math.Diversity.Types ( src/src-lib/Math/Diversity/Types.hs, dist/build/Math/Diversity/Types.o )
[4 of 6] Compiling Math.Diversity.Diversity ( src/src-lib/Math/Diversity/Diversity.hs, dist/build/Math/Diversity/Diversity.o )
[5 of 6] Compiling Math.Diversity.GenerateDiversity ( src/src-lib/Math/Diversity/GenerateDiversity.hs, dist/build/Math/Diversity/GenerateDiversity.o )

src/src-lib/Math/Diversity/GenerateDiversity.hs:32:21: error:
    Ambiguous occurrence ‘getField’
    It could refer to either ‘Data.Fasta.String.getField’,
                             imported from ‘Data.Fasta.String’ at src/src-lib/Math/Diversity/GenerateDiversity.hs:16:1-24
                             (and originally defined in ‘Data.Fasta.String.Utility’)
                          or ‘Math.Diversity.GenerateDiversity.getField’,
                             defined at src/src-lib/Math/Diversity/GenerateDiversity.hs:27:1

src/src-lib/Math/Diversity/GenerateDiversity.hs:73:28: error:
    Ambiguous occurrence ‘getField’
    It could refer to either ‘Data.Fasta.String.getField’,
                             imported from ‘Data.Fasta.String’ at src/src-lib/Math/Diversity/GenerateDiversity.hs:16:1-24
                             (and originally defined in ‘Data.Fasta.String.Utility’)
                          or ‘Math.Diversity.GenerateDiversity.getField’,
                             defined at src/src-lib/Math/Diversity/GenerateDiversity.hs:27:1
GregorySchwartz commented 8 years ago

Fixed.