Closed abooij closed 8 years ago
I get similar errors when using the Makefile-based AUR build script
c++ --version
?/tmp/lean/bin/lean
? Can you check if the file exists? If so, what do you have when you run /tmp/lean/bin/lean /tmp/lean/hott/algebra/category/constructions/discrete.hlean
?With an up-to-date Arch Linux system, this is likely to be #1044. If @soonhokong's lean
command gives a segmentation fault, you could try again with https://github.com/Kha/lean/tree/sized-delete.
@soonhokong: Thanks for your quick help. Respectively:
Yes, this is Arch. However this is a rolling release style distribution (and this particular install is up to date).
$ c++ --version
c++ (GCC) 6.1.1 20160501
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ /tmp/lean/bin/lean /tmp/lean/hott/algebra/category/constructions/discrete.hlean
[1] 1806 segmentation fault (core dumped) /tmp/lean/bin/lean
@Kha: Thanks for the suggestion. I ran the same command as in that bug just now:
$ /tmp/lean/bin/lean library/standard.lean
[1] 1833 segmentation fault (core dumped) /tmp/lean/bin/lean library/standard.lean
Not sure if that's a confirmation or not...
Yes, the commit on the linked branch should fix that (and break all older compilers, which is why it's not a pull request yet).
@Kha: negative; my segfaults persists with your commit.
edit: to be safe, I the entire "/tmp/lean" directory and cloned github.com:Kha/lean.git , built it again, and ran the commands i listed above - same output.
edit2: oops, didn't get the right branch. BRB!
Okay, now that I checked out the right branch:
$ /tmp/lean/bin/lean library/standard.lean
library/standard.lean:9:0: error: invalid import, unknown module 'init'
library/standard.lean:9:7: error: invalid import, unknown module 'logic'
library/standard.lean:9:13: error: invalid import, unknown module 'data'
$ /tmp/lean/bin/lean /tmp/lean/hott/algebra/category/constructions/discrete.hlean
/tmp/lean/hott/algebra/category/constructions/discrete.hlean:10:0: error: invalid import, unknown module 'init'
/tmp/lean/hott/algebra/category/constructions/discrete.hlean:10:9: error: invalid import, unknown module 'groupoid'
/tmp/lean/hott/algebra/category/constructions/discrete.hlean:10:18: error: invalid import, unknown module 'types.bool'
/tmp/lean/hott/algebra/category/constructions/discrete.hlean:10:31: error: invalid import, unknown module 'nat_trans'
/tmp/lean/hott/algebra/category/constructions/discrete.hlean:12:5: error: invalid namespace name 'eq'
/tmp/lean/hott/algebra/category/constructions/discrete.hlean:16:65: error: unknown identifier 'is_trunc'
/tmp/lean/hott/algebra/category/constructions/discrete.hlean: error: /tmp/lean/hott/algebra/category/constructions/discrete.hlean:18:26: error: unexpected token
$ ninja
[5/106] cd /tmp/lean/library && /usr/bin/python /tmp/lean/src/../bin/linja all tags
FAILED: CMakeFiles/standard_lib
cd /tmp/lean/library && /usr/bin/python /tmp/lean/src/../bin/linja all tags
[1/194] "/tmp/lean/bin/lean" /tmp/lean/library/logic/examples/leftinv_of_inj.lean -o "/tmp/lean/library/logic/examples/leftinv_of_inj.olean" -c "/tmp/lean/library/logic/examples/leftinv_of_inj.clean" -i "/tmp/lean/library/logic/examples/leftinv_of_inj.ilean"
FAILED: /tmp/lean/library/logic/examples/leftinv_of_inj.olean /tmp/lean/library/logic/examples/leftinv_of_inj.ilean /tmp/lean/library/logic/examples/leftinv_of_inj.clean
"/tmp/lean/bin/lean" /tmp/lean/library/logic/examples/leftinv_of_inj.lean -o "/tmp/lean/library/logic/examples/leftinv_of_inj.olean" -c "/tmp/lean/library/logic/examples/leftinv_of_inj.clean" -i "/tmp/lean/library/logic/examples/leftinv_of_inj.ilean"
/tmp/lean/library/logic/examples/leftinv_of_inj.lean:12:0: error: invalid import, unknown module 'init'
/tmp/lean/library/logic/examples/leftinv_of_inj.lean:12:5: error: invalid namespace name 'function'
/tmp/lean/library/logic/examples/leftinv_of_inj.lean:14:55: error: unknown identifier 'nonempty'
/tmp/lean/library/logic/examples/leftinv_of_inj.lean: error: /tmp/lean/library/logic/examples/leftinv_of_inj.lean:15:18: error: unexpected token
[2/194] "/tmp/lean/bin/lean" /tmp/lean/library/data/examples/depchoice.lean -o "/tmp/lean/library/data/examples/depchoice.olean" -c "/tmp/lean/library/data/examples/depchoice.clean" -i "/tmp/lean/library/data/examples/depchoice.ilean"
FAILED: /tmp/lean/library/data/examples/depchoice.olean /tmp/lean/library/data/examples/depchoice.ilean /tmp/lean/library/data/examples/depchoice.clean
"/tmp/lean/bin/lean" /tmp/lean/library/data/examples/depchoice.lean -o "/tmp/lean/library/data/examples/depchoice.olean" -c "/tmp/lean/library/data/examples/depchoice.clean" -i "/tmp/lean/library/data/examples/depchoice.ilean"
/tmp/lean/library/data/examples/depchoice.lean:6:0: error: invalid import, unknown module 'init'
/tmp/lean/library/data/examples/depchoice.lean:6:7: error: invalid import, unknown module 'data.encodable'
/tmp/lean/library/data/examples/depchoice.lean:7:5: error: invalid namespace name 'nat'
/tmp/lean/library/data/examples/depchoice.lean:14:52: error: unknown identifier 'Prop'
/tmp/lean/library/data/examples/depchoice.lean: error: /tmp/lean/library/data/examples/depchoice.lean:15:10: error: unexpected token
[3/194] "/tmp/lean/bin/lean" /tmp/lean/library/data/finset/comb.lean -o "/tmp/lean/library/data/finset/comb.olean" -c "/tmp/lean/library/data/finset/comb.clean" -i "/tmp/lean/library/data/finset/comb.ilean"
FAILED: /tmp/lean/library/data/finset/comb.olean /tmp/lean/library/data/finset/comb.ilean /tmp/lean/library/data/finset/comb.clean
"/tmp/lean/bin/lean" /tmp/lean/library/data/finset/comb.lean -o "/tmp/lean/library/data/finset/comb.olean" -c "/tmp/lean/library/data/finset/comb.clean" -i "/tmp/lean/library/data/finset/comb.ilean"
/tmp/lean/library/data/finset/comb.lean:8:0: error: invalid import, unknown module 'init'
/tmp/lean/library/data/finset/comb.lean:8:7: error: invalid import, unknown module 'data.finset.basic'
/tmp/lean/library/data/finset/comb.lean:8:25: error: invalid import, unknown module 'logic.identities'
/tmp/lean/library/data/finset/comb.lean:9:5: error: invalid namespace name 'list'
/tmp/lean/library/data/finset/comb.lean:16:14: error: unknown identifier 'decidable_eq'
/tmp/lean/library/data/finset/comb.lean:17:8: error: invalid include/omit command, 'h' is not a parameter/variable
/tmp/lean/library/data/finset/comb.lean:19:34: error: unknown identifier 'finset'
/tmp/lean/library/data/finset/comb.lean:24:16: error: unknown identifier 'finset.prio'
/tmp/lean/library/data/finset/comb.lean: error: /tmp/lean/library/data/finset/comb.lean:24:30: error: unexpected token
[4/194] "/tmp/lean/bin/lean" /tmp/lean/library/data/hlist.lean -o "/tmp/lean/library/data/hlist.olean" -c "/tmp/lean/library/data/hlist.clean" -i "/tmp/lean/library/data/hlist.ilean"
FAILED: /tmp/lean/library/data/hlist.olean /tmp/lean/library/data/hlist.ilean /tmp/lean/library/data/hlist.clean
"/tmp/lean/bin/lean" /tmp/lean/library/data/hlist.lean -o "/tmp/lean/library/data/hlist.olean" -c "/tmp/lean/library/data/hlist.clean" -i "/tmp/lean/library/data/hlist.ilean"
/tmp/lean/library/data/hlist.lean:8:0: error: invalid import, unknown module 'init'
/tmp/lean/library/data/hlist.lean:8:7: error: invalid import, unknown module 'data.list'
/tmp/lean/library/data/hlist.lean:8:17: error: invalid import, unknown module 'logic.cast'
/tmp/lean/library/data/hlist.lean:9:5: error: invalid namespace name 'list'
/tmp/lean/library/data/hlist.lean:12:19: error: invalid expression
/tmp/lean/library/data/hlist.lean:18:27: error: unknown identifier 'hlist'
/tmp/lean/library/data/hlist.lean:21:41: error: unknown identifier 'hlist'
/tmp/lean/library/data/hlist.lean: error: /tmp/lean/library/data/hlist.lean:21:69: error: unexpected token
[5/194] "/tmp/lean/bin/lean" /tmp/lean/library/theories/finite_group_theory/hom.lean -o "/tmp/lean/library/theories/finite_group_theory/hom.olean" -c "/tmp/lean/library/theories/finite_group_theory/hom.clean" -i "/tmp/lean/library/theories/finite_group_theory/hom.ilean"
FAILED: /tmp/lean/library/theories/finite_group_theory/hom.olean /tmp/lean/library/theories/finite_group_theory/hom.ilean /tmp/lean/library/theories/finite_group_theory/hom.clean
"/tmp/lean/bin/lean" /tmp/lean/library/theories/finite_group_theory/hom.lean -o "/tmp/lean/library/theories/finite_group_theory/hom.olean" -c "/tmp/lean/library/theories/finite_group_theory/hom.clean" -i "/tmp/lean/library/theories/finite_group_theory/hom.ilean"
/tmp/lean/library/theories/finite_group_theory/hom.lean:7:0: error: invalid import, unknown module 'init'
/tmp/lean/library/theories/finite_group_theory/hom.lean:7:7: error: invalid import, unknown module 'algebra.group'
/tmp/lean/library/theories/finite_group_theory/hom.lean:7:21: error: invalid import, unknown module 'data.set'
/tmp/lean/library/theories/finite_group_theory/hom.lean:7:31: error: invalid import, unknown module 'subgroup'
/tmp/lean/library/theories/finite_group_theory/hom.lean:13:20: error: unknown identifier 'eq.subst'
/tmp/lean/library/theories/finite_group_theory/hom.lean:14:5: error: invalid namespace name 'set'
/tmp/lean/library/theories/finite_group_theory/hom.lean:15:5: error: invalid namespace name 'function'
/tmp/lean/library/theories/finite_group_theory/hom.lean:16:5: error: invalid namespace name 'group_theory.ops'
/tmp/lean/library/theories/finite_group_theory/hom.lean:17:5: error: invalid namespace name 'quot'
/tmp/lean/library/theories/finite_group_theory/hom.lean:18:16: error: unknown identifier 'set'
/tmp/lean/library/theories/finite_group_theory/hom.lean:18:20: error: unknown command 'section'
/tmp/lean/library/theories/finite_group_theory/hom.lean:23:15: error: unknown identifier 'group'
/tmp/lean/library/theories/finite_group_theory/hom.lean:24:15: error: unknown identifier 'group'
/tmp/lean/library/theories/finite_group_theory/hom.lean:25:8: error: invalid include/omit command, 's1' is not a parameter/variable
/tmp/lean/library/theories/finite_group_theory/hom.lean:26:8: error: invalid include/omit command, 's2' is not a parameter/variable
/tmp/lean/library/theories/finite_group_theory/hom.lean:29:49: error: unknown identifier 'Prop'
/tmp/lean/library/theories/finite_group_theory/hom.lean: error: /tmp/lean/library/theories/finite_group_theory/hom.lean:29:68: error: unexpected token
[6/194] "/tmp/lean/bin/lean" /tmp/lean/library/theories/measure_theory/extended_real.lean -o "/tmp/lean/library/theories/measure_theory/extended_real.olean" -c "/tmp/lean/library/theories/measure_theory/extended_real.clean" -i "/tmp/lean/library/theories/measure_theory/extended_real.ilean"
FAILED: /tmp/lean/library/theories/measure_theory/extended_real.olean /tmp/lean/library/theories/measure_theory/extended_real.ilean /tmp/lean/library/theories/measure_theory/extended_real.clean
"/tmp/lean/bin/lean" /tmp/lean/library/theories/measure_theory/extended_real.lean -o "/tmp/lean/library/theories/measure_theory/extended_real.olean" -c "/tmp/lean/library/theories/measure_theory/extended_real.clean" -i "/tmp/lean/library/theories/measure_theory/extended_real.ilean"
/tmp/lean/library/theories/measure_theory/extended_real.lean:8:0: error: invalid import, unknown module 'init'
/tmp/lean/library/theories/measure_theory/extended_real.lean:8:7: error: invalid import, unknown module 'data.real'
/tmp/lean/library/theories/measure_theory/extended_real.lean:9:5: error: invalid namespace name 'real'
/tmp/lean/library/theories/measure_theory/extended_real.lean:13:33: error: unknown identifier 'zero_mul'
/tmp/lean/library/theories/measure_theory/extended_real.lean:14:33: error: unknown identifier 'mul_zero'
/tmp/lean/library/theories/measure_theory/extended_real.lean:15:33: error: unknown identifier 'neg_neg'
/tmp/lean/library/theories/measure_theory/extended_real.lean:19:0: error: unknown declaration 'ℝ'
/tmp/lean/library/theories/measure_theory/extended_real.lean:24:10: error: unknown identifier 'ereal.of_real'
/tmp/lean/library/theories/measure_theory/extended_real.lean:24:24: error: unknown command 'notation'
/tmp/lean/library/theories/measure_theory/extended_real.lean:25:16: error: unknown identifier 'ereal.infty'
/tmp/lean/library/theories/measure_theory/extended_real.lean:26:17: error: unknown identifier 'ereal.neginfty'
/tmp/lean/library/theories/measure_theory/extended_real.lean:30:29: error: unknown identifier 'num.pred'
/tmp/lean/library/theories/measure_theory/extended_real.lean:34:47: error: unknown identifier 'ereal.prio'
/tmp/lean/library/theories/measure_theory/extended_real.lean:37:46: error: unknown identifier 'ereal.prio'
/tmp/lean/library/theories/measure_theory/extended_real.lean:40:27: error: unknown identifier 'ereal'
/tmp/lean/library/theories/measure_theory/extended_real.lean: error: /tmp/lean/library/theories/measure_theory/extended_real.lean:42:2: error: unexpected token
ninja: build stopped: subcommand failed.
[6/106] cd /tmp/lean/hott && /usr/bin/python /tmp/lean/src/../bin/linja all tags
FAILED: CMakeFiles/hott_lib
cd /tmp/lean/hott && /usr/bin/python /tmp/lean/src/../bin/linja all tags
[1/158] "/tmp/lean/bin/lean" /tmp/lean/hott/init/funext.hlean -o "/tmp/lean/hott/init/funext.olean" -c "/tmp/lean/hott/init/funext.clean" -i "/tmp/lean/hott/init/funext.ilean"
FAILED: /tmp/lean/hott/init/funext.olean /tmp/lean/hott/init/funext.ilean /tmp/lean/hott/init/funext.clean
"/tmp/lean/bin/lean" /tmp/lean/hott/init/funext.hlean -o "/tmp/lean/hott/init/funext.olean" -c "/tmp/lean/hott/init/funext.clean" -i "/tmp/lean/hott/init/funext.ilean"
/tmp/lean/hott/init/funext.hlean:10:8: error: invalid import, unknown module 'trunc'
/tmp/lean/hott/init/funext.hlean:10:15: error: invalid import, unknown module 'equiv'
/tmp/lean/hott/init/funext.hlean:10:22: error: invalid import, unknown module 'ua'
/tmp/lean/hott/init/funext.hlean:11:5: error: invalid namespace name 'eq'
/tmp/lean/hott/init/funext.hlean:22:56: error: unknown identifier 'is_equiv'
/tmp/lean/hott/init/funext.hlean:26:50: error: unexpected token
/tmp/lean/hott/init/funext.hlean: error: /tmp/lean/hott/init/funext.hlean:26:59: error: unexpected token
[2/158] "/tmp/lean/bin/lean" /tmp/lean/hott/algebra/category/strict.hlean -o "/tmp/lean/hott/algebra/category/strict.olean" -c "/tmp/lean/hott/algebra/category/strict.clean" -i "/tmp/lean/hott/algebra/category/strict.ilean"
FAILED: /tmp/lean/hott/algebra/category/strict.olean /tmp/lean/hott/algebra/category/strict.ilean /tmp/lean/hott/algebra/category/strict.clean
"/tmp/lean/bin/lean" /tmp/lean/hott/algebra/category/strict.hlean -o "/tmp/lean/hott/algebra/category/strict.olean" -c "/tmp/lean/hott/algebra/category/strict.clean" -i "/tmp/lean/hott/algebra/category/strict.ilean"
/tmp/lean/hott/algebra/category/strict.hlean:7:0: error: invalid import, unknown module 'init'
/tmp/lean/hott/algebra/category/strict.hlean:7:8: error: invalid import, unknown module 'functor.basic'
/tmp/lean/hott/algebra/category/strict.hlean:9:5: error: invalid namespace name 'is_trunc'
/tmp/lean/hott/algebra/category/strict.hlean:12:59: error: unknown identifier 'precategory'
/tmp/lean/hott/algebra/category/strict.hlean:15:12: error: unknown identifier 'strict_precategory.is_set_ob'
/tmp/lean/hott/algebra/category/strict.hlean:15:41: error: unknown command 'definition'
/tmp/lean/hott/algebra/category/strict.hlean:17:64: error: unknown identifier 'precategory'
/tmp/lean/hott/algebra/category/strict.hlean:23:14: error: unknown identifier 'strict_precategory'
/tmp/lean/hott/algebra/category/strict.hlean:25:12: error: unknown identifier 'Strict_precategory.struct'
/tmp/lean/hott/algebra/category/strict.hlean:25:38: error: unknown command '[coercion]'
/tmp/lean/hott/algebra/category/strict.hlean:25:49: error: unknown command 'definition'
/tmp/lean/hott/algebra/category/strict.hlean:28:9: error: unknown identifier 'Strict_precategory'
/tmp/lean/hott/algebra/category/strict.hlean:31:7: error: invalid namespace name 'functor'
/tmp/lean/hott/algebra/category/strict.hlean:34:60: error: unknown identifier 'precategory'
/tmp/lean/hott/algebra/category/strict.hlean: error: /tmp/lean/hott/algebra/category/strict.hlean:35:27: error: unexpected token
[3/158] "/tmp/lean/bin/lean" /tmp/lean/hott/function.hlean -o "/tmp/lean/hott/function.olean" -c "/tmp/lean/hott/function.clean" -i "/tmp/lean/hott/function.ilean"
FAILED: /tmp/lean/hott/function.olean /tmp/lean/hott/function.ilean /tmp/lean/hott/function.clean
"/tmp/lean/bin/lean" /tmp/lean/hott/function.hlean -o "/tmp/lean/hott/function.olean" -c "/tmp/lean/hott/function.clean" -i "/tmp/lean/hott/function.ilean"
/tmp/lean/hott/function.hlean:10:0: error: invalid import, unknown module 'init'
/tmp/lean/hott/function.hlean:10:7: error: invalid import, unknown module 'hit.trunc'
/tmp/lean/hott/function.hlean:10:17: error: invalid import, unknown module 'types.equiv'
/tmp/lean/hott/function.hlean:10:29: error: invalid import, unknown module 'cubical.square'
/tmp/lean/hott/function.hlean:12:5: error: invalid namespace name 'equiv'
/tmp/lean/hott/function.hlean:17:62: error: unexpected token
/tmp/lean/hott/function.hlean: error: /tmp/lean/hott/function.hlean:17:74: error: unexpected token
[4/158] "/tmp/lean/bin/lean" /tmp/lean/hott/init/pathover.hlean -o "/tmp/lean/hott/init/pathover.olean" -c "/tmp/lean/hott/init/pathover.clean" -i "/tmp/lean/hott/init/pathover.ilean"
FAILED: /tmp/lean/hott/init/pathover.olean /tmp/lean/hott/init/pathover.ilean /tmp/lean/hott/init/pathover.clean
"/tmp/lean/bin/lean" /tmp/lean/hott/init/pathover.hlean -o "/tmp/lean/hott/init/pathover.olean" -c "/tmp/lean/hott/init/pathover.clean" -i "/tmp/lean/hott/init/pathover.ilean"
/tmp/lean/hott/init/pathover.hlean:10:8: error: invalid import, unknown module 'path'
/tmp/lean/hott/init/pathover.hlean:10:14: error: invalid import, unknown module 'equiv'
/tmp/lean/hott/init/pathover.hlean:12:5: error: invalid namespace name 'equiv'
/tmp/lean/hott/init/pathover.hlean:15:37: error: unexpected token
/tmp/lean/hott/init/pathover.hlean: error: /tmp/lean/hott/init/pathover.hlean:15:52: error: unexpected token
[5/158] "/tmp/lean/bin/lean" /tmp/lean/hott/homotopy/cellcomplex.hlean -o "/tmp/lean/hott/homotopy/cellcomplex.olean" -c "/tmp/lean/hott/homotopy/cellcomplex.clean" -i "/tmp/lean/hott/homotopy/cellcomplex.ilean"
FAILED: /tmp/lean/hott/homotopy/cellcomplex.olean /tmp/lean/hott/homotopy/cellcomplex.ilean /tmp/lean/hott/homotopy/cellcomplex.clean
"/tmp/lean/bin/lean" /tmp/lean/hott/homotopy/cellcomplex.hlean -o "/tmp/lean/hott/homotopy/cellcomplex.olean" -c "/tmp/lean/hott/homotopy/cellcomplex.clean" -i "/tmp/lean/hott/homotopy/cellcomplex.ilean"
/tmp/lean/hott/homotopy/cellcomplex.hlean:6:0: error: invalid import, unknown module 'init'
/tmp/lean/hott/homotopy/cellcomplex.hlean:6:7: error: invalid import, unknown module 'types.trunc'
/tmp/lean/hott/homotopy/cellcomplex.hlean:6:19: error: invalid import, unknown module 'homotopy.sphere'
/tmp/lean/hott/homotopy/cellcomplex.hlean:6:35: error: invalid import, unknown module 'hit.pushout'
/tmp/lean/hott/homotopy/cellcomplex.hlean:8:5: error: invalid namespace name 'eq'
/tmp/lean/hott/homotopy/cellcomplex.hlean:11:28: error: unexpected token
/tmp/lean/hott/homotopy/cellcomplex.hlean:16:24: error: unknown identifier 'ℕ'
/tmp/lean/hott/homotopy/cellcomplex.hlean:37:39: error: unknown identifier 'ℕ'
/tmp/lean/hott/homotopy/cellcomplex.hlean: error: /tmp/lean/hott/homotopy/cellcomplex.hlean:46:7: error: unexpected token
[6/158] "/tmp/lean/bin/lean" /tmp/lean/hott/algebra/category/default.hlean -o "/tmp/lean/hott/algebra/category/default.olean" -c "/tmp/lean/hott/algebra/category/default.clean" -i "/tmp/lean/hott/algebra/category/default.ilean"
FAILED: /tmp/lean/hott/algebra/category/default.olean /tmp/lean/hott/algebra/category/default.ilean /tmp/lean/hott/algebra/category/default.clean
"/tmp/lean/bin/lean" /tmp/lean/hott/algebra/category/default.hlean -o "/tmp/lean/hott/algebra/category/default.olean" -c "/tmp/lean/hott/algebra/category/default.clean" -i "/tmp/lean/hott/algebra/category/default.ilean"
/tmp/lean/hott/algebra/category/default.hlean:7:0: error: invalid import, unknown module 'init'
/tmp/lean/hott/algebra/category/default.hlean:7:8: error: invalid import, unknown module 'category'
/tmp/lean/hott/algebra/category/default.hlean:7:18: error: invalid import, unknown module 'strict'
/tmp/lean/hott/algebra/category/default.hlean:7:26: error: invalid import, unknown module 'groupoid'
/tmp/lean/hott/algebra/category/default.hlean:7:36: error: invalid import, unknown module 'constructions'
ninja: build stopped: subcommand failed.
[10/106] Building CXX object tests/util/CMakeFiles/rb_tree.dir/rb_tree.cpp.o
ninja: build stopped: subcommand failed.
@abooij, could you try ninja clean
and ninja
and check you still get the same error?
@abooij, just to make sure please do cd /tmp/lean/library && git clean -fxd
and cd /tmp/lean/hott && git clean -fxd
before you do ninja
.
For now, another way to avoid the problem is to pass -DTCMALLOC=OFF
. @Kha, can you confirm that we can only reproduce the problem with tcmalloc?
@soonhokong Ah, that's probably the simplest solution. Can confirm that passing the flag and thus selection jemalloc fixes the problem.
@soonhokong: "ninja clean" was not sufficient (which is what i did before). but doing a big git clean did help. so yes, that means @Kha's patch does work.
@mgrabovsky, could you update https://aur.archlinux.org/cgit/aur.git/?h=lean-git to pass -DTCMALLOC=OFF
to cmake
?
So, it turns out that this is a duplicate of #1044. I'm closing it.