Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DO NOT MERGE: travis: MORE VERSIONS #131

Closed
wants to merge 6 commits into from
Closed

DO NOT MERGE: travis: MORE VERSIONS #131

wants to merge 6 commits into from

Conversation

petertseng
Copy link
Member

No description provided.

@petertseng
Copy link
Member Author

7.4 currently broken. Dependencies install fine, but:

_test/check-exercises.hs:5:27:
    Module `System.Posix.Temp' does not export `mkdtemp'

It is possible we may be able to fix it by updating the unix package.

7.2 can't resolve deps:

cabal: Could not resolve dependencies:
trying: text-1.2.2.1 (user goal)
trying: binary-0.5.0.2/installed-f86... (dependency of text-1.2.2.1)
trying: attoparsec-0.13.0.1 (user goal)
trying: scientific-0.3.4.6 (dependency of attoparsec-0.13.0.1)
rejecting: scientific-0.3.4.6:+bytestring-builder (conflict: binary =>
bytestring==0.9.2.0/installed-fe0..., scientific-0.3.4.6:bytestring-builder =>
bytestring>=0.10 && <0.11)
rejecting: scientific-0.3.4.6:-bytestring-builder (manual flag can only be
changed explicitly)
Backjump limit reached (change with --max-backjumps)

7.0 has a similar error for lens that I'm not posting all of because it's quite long.

6.12.3 has a bit of a weird error message.

cabal: dependencies conflict: ghc-6.12.3 requires an installed instance of
bytestring ==0.9.1.7 however:

it just stops there?

I'm pretty sure my caches are killing each other now that I added the
unix package
otherwise `unix` install fails with thinking the c compiler can't make
executables
@petertseng
Copy link
Member Author

A valiant effort to support 7.4 but ultimately unsuccessful.

The failure (again, preserved here in case Travis logs go away) is that for 7.4 and 7.6 attemping to cabal install unix will succeed, however when attempting to actually run check_exercises then we get

GHCi runtime linker: fatal error: I found a duplicate definition for symbol
   pPrPr_disableITimers
whilst processing object file
   /home/travis/.cabal/lib/x86_64-linux-ghc-7.4.2/unix-2.7.1.0/HSunix-2.7.1.0.o
This could be caused by:
   * Loading two different object files which export the same symbol
   * Specifying the same object file twice on the GHCi command line
   * An incorrect `package.conf' entry, causing some object to be
     loaded twice.
GHCi cannot safely continue in this situation.  Exiting now.  Sorry.

Unfortunately I do not know enough to continue, so I'll consider this experiment to have failed. Sorry.

Feel free to rerun the experiments at a later date if we change our set of dependencies (notably how check-exercises creates temporary directories), but not a battle I'm fighting now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant