Summary: | dev-util/colm-0.14.6 -- field ‘indent’ has incomplete type ‘indent_impl’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Gary E. Miller <gem> |
Component: | Current packages | Assignee: | Patrick Lauer <patrick> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gem, inasprecali, millerkenj, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/adrian-thurston/ragel/issues/63 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 766051 | ||
Attachments: | build.log |
Description
Gary E. Miller
2021-01-20 21:50:08 UTC
Created attachment 683932 [details]
build.log
build log
```
>>> Compiling source in /u1/tmp/portage/dev-util/colm-0.14.6/work/colm-0.14.6 ...
make -j6 -l3
Making all in src
make[1]: Entering directory '/u1/tmp/portage/dev-util/colm-0.14.6/work/colm-0.14.6/src'
echo '#define VERSION "0.14.6"' > version.h
echo '#define PUBDATE "January 2021"' >> version.h
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/aapl -Iinclude -Wall -DPREFIX='"/usr"' -march=znver2 -O2 -pipe -c -o libprog_a-resolve.o `test -f 'resolve.cc' || echo './'`resolve.cc
In file included from cstring.h:35,
from parsetree.h:40,
from compiler.h:42,
from resolve.cc:25:
tree.h:309:21: error: field ‘indent’ has incomplete type ‘indent_impl’
309 | struct indent_impl indent;
| ^~~~~~
tree.h:309:9: note: forward declaration of ‘struct indent_impl’
309 | struct indent_impl indent;
| ^~~~~~~~~~~
make[1]: *** [Makefile:1050: libprog_a-resolve.o] Error 1
make[1]: Leaving directory '/u1/tmp/portage/dev-util/colm-0.14.6/work/colm-0.14.6/src'
make: *** [Makefile:486: all-recursive] Error 1
```
I can confirm this exact same bug on an ~amd64 machine. I'm sorry, I can't reproduce this. Could you report this upstream? (https://github.com/adrian-thurston/ragel/issues). Upstream are quite friendly. Does it happen with -j1? (In reply to Sam James from comment #4) > I'm sorry, I can't reproduce this. > > Could you report this upstream? > (https://github.com/adrian-thurston/ragel/issues). Upstream are quite > friendly. > > Does it happen with -j1? I just tried: kong ~ # emerge -j1 colm Same results. My mistake, different failure, for both the -j6 and -j1 ``` libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../src/aapl -Iinclude -march=znver2 -O2 -pipe -c codevect.c -fPIC -DPIC -o .libs/codevect.o codevect.c:26:10: fatal error: colm/rtvector.h: No such file or directory 26 | #include <colm/rtvector.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. ``` (In reply to Gary E. Miller from comment #6) > My mistake, different failure, for both the -j6 and -j1 > > ``` > libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../src/aapl > -Iinclude -march=znver2 -O2 -pipe -c codevect.c -fPIC -DPIC -o > .libs/codevect.o > codevect.c:26:10: fatal error: colm/rtvector.h: No such file or directory > 26 | #include <colm/rtvector.h> > | ^~~~~~~~~~~~~~~~~ > compilation terminated. > ``` Wait, really? Can you show me "equery f dev-util/colm" and emerge -pvO dev-util/colm? Sorry, this is -j6: ``` x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src/aapl -Iinclude -Wall -DPREFIX='"/usr"' -DLOAD_INIT -march=znver2 -O2 -pipe -c -o gen/bootstrap1-if1.o `test -f 'gen/if1.cc' || echo './'`gen/if1.cc gen/if1.cc:1:10: fatal error: gen/if1.h: No such file or directory 1 | #include "gen/if1.h" | ^~~~~~~~~~~ compilation terminated. ``` This is -j1: ``` libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../src/aapl -Iinclude -march=znver2 -O2 -pipe -c codevect.c -fPIC -DPIC -o .libs/codevect.o codevect.c:26:10: fatal error: colm/rtvector.h: No such file or directory 26 | #include <colm/rtvector.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. ``` ``` kong ~ # equery f dev-util/colm * Searching for colm in dev-util ... * Contents of dev-util/colm-0.14.6: /usr /usr/bin /usr/bin/colm /usr/bin/colm-wrap /usr/include /usr/include/aapl /usr/include/aapl/astring.h /usr/include/aapl/avlbasic.h /usr/include/aapl/avlcommon.h /usr/include/aapl/avlibasic.h /usr/include/aapl/avlikeyless.h /usr/include/aapl/avlimap.h /usr/include/aapl/avlimel.h /usr/include/aapl/avlimelkey.h /usr/include/aapl/avliset.h /usr/include/aapl/avlitree.h /usr/include/aapl/avlkeyless.h /usr/include/aapl/avlmap.h /usr/include/aapl/avlmel.h /usr/include/aapl/avlmelkey.h /usr/include/aapl/avlset.h /usr/include/aapl/avltree.h /usr/include/aapl/bstcommon.h /usr/include/aapl/bstmap.h /usr/include/aapl/bstset.h /usr/include/aapl/bsttable.h /usr/include/aapl/bubblesort.h /usr/include/aapl/buffer.h /usr/include/aapl/compare.h /usr/include/aapl/dlcommon.h /usr/include/aapl/dlist.h /usr/include/aapl/dlistmel.h /usr/include/aapl/dlistval.h /usr/include/aapl/insertsort.h /usr/include/aapl/mergesort.h /usr/include/aapl/quicksort.h /usr/include/aapl/resize.h /usr/include/aapl/rope.h /usr/include/aapl/sbstmap.h /usr/include/aapl/sbstset.h /usr/include/aapl/sbsttable.h /usr/include/aapl/svector.h /usr/include/aapl/table.h /usr/include/aapl/vector.h /usr/include/colm /usr/include/colm/bytecode.h /usr/include/colm/colm.h /usr/include/colm/colmex.h /usr/include/colm/config.h /usr/include/colm/debug.h /usr/include/colm/defs.h /usr/include/colm/input.h /usr/include/colm/internal.h /usr/include/colm/map.h /usr/include/colm/pdarun.h /usr/include/colm/pool.h /usr/include/colm/program.h /usr/include/colm/struct.h /usr/include/colm/tree.h /usr/include/colm/type.h /usr/include/libfsm /usr/include/libfsm/action.h /usr/include/libfsm/asm.h /usr/include/libfsm/common.h /usr/include/libfsm/dot.h /usr/include/libfsm/fsmgraph.h /usr/include/libfsm/gendata.h /usr/include/libfsm/ragel.h /usr/include/libfsm/redfsm.h /usr/lib64 /usr/lib64/libcolm-0.14.6.so /usr/lib64/libcolm.a /usr/lib64/libcolm.la /usr/lib64/libcolm.so -> libcolm-0.14.6.so /usr/lib64/libfsm-0.14.6.so /usr/lib64/libfsm.a /usr/lib64/libfsm.la /usr/lib64/libfsm.so -> libfsm-0.14.6.so /usr/share /usr/share/doc /usr/share/doc/colm-0.14.6 /usr/share/doc/colm-0.14.6/README.bz2 /usr/share/doc/colm-0.14.6/colm.vim.bz2 /usr/share/ril.lm /usr/share/rlhc-c.lm /usr/share/rlhc-crack.lm /usr/share/rlhc-csharp.lm /usr/share/rlhc-d.lm /usr/share/rlhc-go.lm /usr/share/rlhc-java.lm /usr/share/rlhc-js.lm /usr/share/rlhc-julia.lm /usr/share/rlhc-main.lm /usr/share/rlhc-ocaml.lm /usr/share/rlhc-ruby.lm /usr/share/rlhc-rust.lm /usr/share/runtests kong ~ # emerge -pvO dev-util/colm These are the packages that would be merged, in order: [ebuild R ] dev-util/colm-0.14.6::gentoo USE="-doc" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB ``` Bizarre. Right, can you file an upstream issue? (In reply to Gary E. Miller from comment #11) > https://github.com/adrian-thurston/ragel/issues/63 Thank you! Can anyone hitting this please look at the linked GH issue and test the tarball there? Thanks. (In reply to Sam James from comment #13) > Can anyone hitting this please look at the linked GH issue and test the > tarball there? Thanks. Done. Works for "-j1" but still fails with "-j6". The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf8fa214188de701ecab444a08baa360e3c1f34 commit 9bf8fa214188de701ecab444a08baa360e3c1f34 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-21 07:54:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-21 08:02:42 +0000 dev-util/colm: bump to 0.14.7 See: https://github.com/adrian-thurston/ragel/issues/63 Closes: https://bugs.gentoo.org/766327 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> dev-util/colm/Manifest | 1 + dev-util/colm/colm-0.14.7.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad3ad5bc43b210d3bc649c46feb1f828254b6cc commit 3ad3ad5bc43b210d3bc649c46feb1f828254b6cc Author: Sam James <sam@gentoo.org> AuthorDate: 2021-02-21 08:00:50 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-02-21 08:02:42 +0000 dev-util/ragel: bump to 7.0.4 See: https://github.com/adrian-thurston/ragel/issues/63 Bug: https://bugs.gentoo.org/766327 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org> dev-util/ragel/Manifest | 1 + dev-util/ragel/ragel-7.0.4.ebuild | 61 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) |