Reduceron icon indicating copy to clipboard operation
Reduceron copied to clipboard

Problem with build

Open gsvgit opened this issue 2 years ago • 2 comments

Environment

  • Ubuntu 20.04.02
  • GNU Make 4.2.1
  • Icarus Verilog version 10.3 (stable) ()
  • Glasgow Haskell Compiler, Version 8.6.5, stage 2 booted by GHC version 8.6.5
  • gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)

Steps

  1. Clone the repository
  2. Run make in the root folder

Problem

Build failed with

make[2]: Entering directory '/home/gsv/Projects/Reduceron/programs'
make[2]: *** No rule to make target 'flite.built', needed by '../flite/dist/build/flite/flite'.  Stop.
make[2]: Leaving directory '/home/gsv/Projects/Reduceron/programs'
make[1]: *** [Makefile:26: regress] Error 2
make[1]: Leaving directory '/home/gsv/Projects/Reduceron/programs'
make: *** [Makefile:8: regress.check] Error 2

Full log: make.log

gsvgit avatar Jul 07 '21 16:07 gsvgit

Thanks for the bug report. I'm actually aware of this issue and it's due to "recent" changes in how cabal works. I was hoping somebody with a good understanding of best practices would swoop in and help out :) However failing that, I'll eventually learn about stack and switch the build to use that (which I understand is the way to go).

tommythorn avatar Jul 07 '21 16:07 tommythorn

Ah, I see. Thank you. We found a workaround. I'm not sure that it is a good solution, but it is ok for us since allows us to build Reduceron.

gsvgit avatar Jul 08 '21 10:07 gsvgit