[Nix-dev] Checksum error then everything builds from source

Lluís Batlle i Rossell viric at viric.name
Thu Dec 20 23:04:40 CET 2012


On Thu, Dec 20, 2012 at 01:21:19PM -0700, Richard Wallace wrote:
> Strange, today I retried from scratch and I no longer see any checksum
> errors.  Instead, it just goes straight to building everything from source.

Does the system have a realtek 8169 card? I've some computers with
such cars, at board revisions that have a bug in hw tcp/udp checksuming.

With ethtool you can disable the checksum offload. That worked for me there for
all the download errors to vanish.

Some kernel versions didn't enable by default such offload, but since some
2.6.3x, upstream enabled them.

Regards,
Lluís.

> On Wed, Dec 19, 2012 at 5:07 PM, Richard Wallace <
> rwallace at thewallacepack.net> wrote:
> 
> > Hey all,
> >
> > I'm installing the new 1.2 from the binary tarball on a Linux x86_64
> > machine.  When I go to install the Haskell Platform, I get a checksum error:
> >
> > $ nix-env -iA nixpkgs.haskellPackages.haskellPlatform
> > <snip>
> > output path `/nix/store/pfha15rjn704miil98jgf61071lmkzvr-gzip-1.4.tar.gz'
> > should have sha256 hash
> > `1vhiyzls60fws48scw48wvwn8mpv1f4yhcsnafys239qvb9wyrni', instead has
> > `0y0qs9m1846ksb7n160nna8zh7x4l1drixjlw8h618kq9pp15ygm'
> > cannot build derivation
> > `/nix/store/m4qmd4db1smlb055kc1210wp1c9zkcr6-gzip-1.4.drv': 1 dependencies
> > couldn't be built
> > building path(s)
> > `/nix/store/5b910ka58b3h4x7n3vbdgndf6zfxnpwf-zlib-1.2.7.tar.gz'
> > cannot build derivation
> > `/nix/store/27irakzga2m3wiv7977hafjr8kaa3plb-stdenv.drv': 1 dependencies
> > couldn't be built
> > killing process 14257
> > cannot build derivation
> > `/nix/store/3kk7g2i79ljmd5sza6388bg244wvqmk1-haskell-haskell-platform-ghc7.4.2-2012.4.0.0.drv':
> > 1 dependencies couldn't be built
> > error: build of
> > `/nix/store/3kk7g2i79ljmd5sza6388bg244wvqmk1-haskell-haskell-platform-ghc7.4.2-2012.4.0.0.drv'
> > failed
> >
> > If I retry, things seem to proceed better, but everything gets built from
> > source instead of using the pre-built package cache.
> >
> > Any tips?
> >
> > Thanks,
> > Rich
> >

> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev



More information about the nix-dev mailing list