
On 16/05/18 18:54, Vanessa McHale wrote:
`cabal new-build` should only rebuild things once, however. And it's generally better. Ok. I have another error now:
cabal -v new-build --allow-newer tensorflow-proto Building library for tensorflow-proto-0.1.0.0.. creating /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build /media/travail/ghc/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build -odir /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build -hidir /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build -stubdir /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build -i -i/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build -i. -i/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/autogen -i/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/global-autogen -I/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/autogen -I/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/global-autogen -I/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build -I. -optP-include -optP/tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/autogen/cabal_macros.h -this-unit-id tensorflow-proto-0.1.0.0-inplace -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db /home/fabien/.cabal/store/ghc-8.2.2/package.db -package-db /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/packagedb/ghc-8.2.2 -package-db /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/package.conf.inplace -package-id proto-lens-0.3.1.0-606296feb88b5391f9c209775e99cb41e62920d11d1a70bc2dee6dc222293b57 -package-id proto-lens-protoc-0.3.1.0-701ad82b9718922791137f9ed26169a31fe583a6444a5c76dfa689acf9e7466e -package-id base-4.10.1.0 -XHaskell2010 Proto.Tensorflow.Core.Framework.AttrValue Proto.Tensorflow.Core.Framework.Graph Proto.Tensorflow.Core.Framework.NodeDef Proto.Tensorflow.Core.Framework.OpDef Proto.Tensorflow.Core.Framework.ResourceHandle Proto.Tensorflow.Core.Framework.Summary Proto.Tensorflow.Core.Framework.Tensor Proto.Tensorflow.Core.Framework.TensorShape Proto.Tensorflow.Core.Framework.Types Proto.Tensorflow.Core.Protobuf.Config Proto.Tensorflow.Core.Util.Event Proto.Tensorflow.Core.Framework.AllocationDescription Proto.Tensorflow.Core.Framework.CostGraph Proto.Tensorflow.Core.Framework.Function Proto.Tensorflow.Core.Framework.StepStats Proto.Tensorflow.Core.Framework.TensorDescription Proto.Tensorflow.Core.Framework.Versions Proto.Tensorflow.Core.Protobuf.Debug [ 1 of 18] Compiling Proto.Tensorflow.Core.Framework.AllocationDescription ( /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/global-autogen/Proto/Tensorflow/Core/Framework/AllocationDescription.hs, /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/Proto/Tensorflow/Core/Framework/AllocationDescription.o ) /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/global-autogen/Proto/Tensorflow/Core/Framework/AllocationDescription.hs:134:9: error: âdescriptorâ is not a (visible) method of class âData.ProtoLens.Messageâ | 134 | descriptor | ^^^^^^^^^^ /tmp/tensorflow-proto-0.1.0.0/dist-newstyle/build/x86_64-linux/ghc-8.2.2/tensorflow-proto-0.1.0.0/build/global-autogen/Proto/Tensorflow/Core/Framework/AllocationDescription.hs:173:15: error: Not in scope: data constructor âData.ProtoLens.MessageDescriptorâ Perhaps you meant one of these: âData.ProtoLens.AnyMessageDescriptorâ (imported from Data.ProtoLens.Reexport.Data.ProtoLens), âData.ProtoLens.FieldDescriptorâ (imported from Data.ProtoLens.Reexport.Data.ProtoLens) Module âData.ProtoLensâ does not export âMessageDescriptorâ. | 173 | Data.ProtoLens.MessageDescriptor Any hint ?