Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766327 - dev-util/colm-0.14.6 -- field ‘indent’ has incomplete type ‘indent_impl’
Summary: dev-util/colm-0.14.6 -- field ‘indent’ has incomplete type ‘indent_impl’
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
Depends on:
Blocks: 766051
  Show dependency tree
Reported: 2021-01-20 21:50 UTC by Gary E. Miller
Modified: 2021-02-21 08:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (dev-util:colm-0.14.6:20210120-190731.log,12.07 KB, text/plain)
2021-01-20 21:50 UTC, Gary E. Miller

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2021-01-20 21:50:08 UTC
Fails to emerge.

Reproducible: Always

Steps to Reproduce:
1. emerge colm
Actual Results:  

Expected Results:  

kong ~ # emerge -pqv '=dev-util/colm-0.14.6::gentoo'
[ebuild     U ] dev-util/colm-0.14.6 [] USE="-doc%" 
[blocks B     ] <dev-util/ragel-7.0.3 ("<dev-util/ragel-7.0.3" is blocking dev-util/colm-0.14.6)

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:


  (dev-util/colm-0.14.6:0/0::gentoo, ebuild scheduled for merge) USE="-doc" ABI_X86="(64)" pulled in by
    =dev-util/colm-0.14.6::gentoo (Argument)

  (dev-util/colm-, installed) USE="" ABI_X86="(64)" pulled in by
    ~dev-util/colm- required by (dev-util/ragel-, installed) USE="vim-syntax" ABI_X86="(64)"
    ^              ^^^^^^^^                                                                                                                                                                                          

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (dev-util/ragel-, installed) pulled in by
    dev-util/ragel required by (dev-ruby/json-2.5.1:2/2::gentoo, installed) USE="-doc -test" ABI_X86="(64)" RUBY_TARGETS="ruby26 ruby30 -ruby25 -ruby27"

kong ~ # emerge --info '=dev-util/colm-0.14.6::gentoo'
Portage 3.0.14 (python 3.9.1-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r7, 5.10.4-gentoo x86_64)
                         System Settings
System uname: Linux-5.10.4-gentoo-x86_64-AMD_Ryzen_5_3600_6-Core_Processor-with-glibc2.32
KiB Mem:    16355396 total,   5724396 free
KiB Swap:   33554428 total,  31718824 free
Timestamp of repository gentoo: Wed, 20 Jan 2021 16:45:01 +0000
Head commit of repository gentoo: 30982b173dfb766b162fff65a89a46a84f9b87b7
sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
ccache version 4.1 [disabled]
app-shells/bash:          5.1_p4::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          2.7.18-r6::gentoo, 3.6.12-r1::gentoo, 3.7.9-r2::gentoo, 3.8.7-r1::gentoo, 3.9.1-r1::gentoo, 3.10.0_alpha3-r1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.19.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo

    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: --exclude ChangeLog* --delete-excluded
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24

    location: /var/lib/layman/brother-overlay
    sync-type: laymansync
    masters: gentoo
    priority: 50

    location: /var/lib/layman/guru
    sync-type: laymansync
    masters: gentoo
    priority: 50

    location: /var/lib/layman/vifino-overlay
    sync-type: laymansync
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=znver2 -O2 -pipe"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /opt/brother/scanner/brscan4/brsanenetdevice4.cfg /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver2 -O2 -pipe"
EMERGE_DEFAULT_OPTS="--keep-going=y --backtrack=5"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j6 -l3"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude ChangeLog* --delete-excluded"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="12bit 256-color X a52 aac aacplus aacs aalib acl acpi additions adns ads aes afterimage aio alsa amarok amazon amd64 ao apache2 appindicator applet ares aspell asyncdns attica audiofile auth autoipd avahi avx avx2 background bash-completion bcmath berkdb binfilter bl blink bluetooth bluray bogofilter bonjour bonobo bookmarks boost bootsplash branding bzip2 cacert cairo calf caps cdaudio cdda cdinstall cdr celt cgi cgroup chromecast chroot clang cle266 cli command-args contentcache corba corefonts crypt cscope css csv ctype cups curl curlwrappers cursors cxx daap dane dav1d dba dbm dbus dbx dcc dcraw declarative devfs26 device-mapper dirac disassembler discard-path divx dlz dmi dmx dnssec docbook dpms dri dri3 drm dtmf dts dv dvb dvbcsa dvben50221 dvd dvdr dvdread dvi dynagraph dynamicplugin ecc edl egl elogind emboss encode equalizer escreen espeak ethereal etwin exif expat exscalibar extensions extramodules faac faad fading-colors faillog fame fat fdk festival ffmpeg ffmpeg-mt fftw fits flac flatfile fltk fma fma3 fmod fontconfig foomatic-db foomaticdb fortran fpm fpx freetts ftp g3dvl gadu gajim gallium gcj gconf gd gdal gdbm gdu gecko-mediaplayer geoip geometry geonames geotiff gif gimp gimpprint git glamor glew glib glitz glut gmath gmedia gml gmp gmplayer gnuplot gnustep gnutls go gpg gphoto2 gpm gps grammar graphviz grass gs gsl gsm gstreamer gtk gtk3 gtkhtml gtkspell gui guile h323 hardened harfbuzz hdf5 hdhomerun hdri highlight hostip howl howl-compat http http2 httpd icecast iconv icq icu id3 idea ilbc imagemagick imap imlib imlib2 inkjar inode inotify insecure-savers int64 introspection ipmi ipsec iptv ipv6 iso14755 jabber jadetex java javascript jbig jce jingle john jpeg karma keybinder kpathsea ladspa lame lastfm latex lcms libass libcanberra libedit libextractor libglvnd libinput libnotify libsamplerate libtirpc libv4l2 libvisual lm-sensors lm_sensors lmdb logrotate lpr lto lua lv2 lxc lyrics lzma lzo mad manual map mapnik marble mariadb matroska mbox md5sum mda-lv2 mdadm mdnsresponder-compat menubar microdns midi mikmod milter mime mimencode mmap mmx mmxext mng mnogosearch mod modplug mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpm-worker mtp multilib multimedia munin-apache munin-dhcp munin-irc munin-squid munin-surfboard musepack musicbrainz mysqli mythtv na_dd na_icons nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses net netlink network networking nfs nfsv4 nfsv41 nls nodrm nominatim nptl nsplugin offensive ogg oggvorbis on-the-fly-crypt openal opencl openctl openexr opengl openmp openssh openssl opensslcrypt opus oscar osmesa otr pam pango parse-clocks passfile passwdqc passwordsave paste64 pcap pci pcmcia pcntl pcre pdf pdfimport perl pgo php pidgin pixbuf player plazes plotutils png pnm policykit pop3d popcnt portage portaudio posix postproc ppds print printsupport priority procmail proj pulseaudio pvr python pyzor qml qt5 quicktime rar raw razor rc5 rdesktop readline realmedia realtime recursor remix rle romio rpc rpz rrdcgi rrdtool rss rtc rtf rtmp rtsp rubberband run-as-root scanner schroedinger screen scripts scrypt sctp sdk sdl seccomp secure-delete sendmail sendto sensord serial server sftp sftplogging shape sharedext sharedmem shmvideo shorten shout silc sip sipim skins slp smi smime smp smtp sndfile snmp soap sockets sofia-sip softfax sound sox spamassassin speex spell spf split-usr sqlite sqlite3 srtp sse sse2 sse3 sse4_1 sse4_2 ssh ssl ssse3 startup-notification static-libs static-modules stats stream subtitles subversion svg svgz swat swig syntax-check sysfs syslog sysvipc szip t1lib taglib tagwriting tcl tcltk tcpd template tetex tga themes theora thesaurus threads threadsafe thumbnail thunar thunderbird tiff timidity tk tokenizer tokyocabinet toolame toolbar tools transcode tremor truetype twolame type1 udev udf udisks ugly unbound unicode unzip update_drivedb upnp upower ups urandom uriparser usb utils v4l v4l2 vaapi vala valgrind vdpau vdr vhosts video vim vim-syntax visualization vlc vlm vnc vorbis vorbis-psy vulkan vxml watchdog wav wavpack web webkit webkit2 webp wfs wg-quick widescreen wikipedia winbind wma wmf wmp wxwindows x264 x265 xattr xcb xcomposite xface xft xine xinerama xml xmlrpc xmltv xorg xosd xpm xrandr xrender xscreensaver xsettings xsl xslt xterm xulrunner xv xvfb xvid xz yaepg yahoo yahoo-geo zeroconf zip zlib zrtp zstd zvbai zvbi" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu gentoo_platforms_efi-32 gentoo_platforms_efi-64 pc" INPUT_DEVICES="evdev roccat_savu libinput joystick" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_9 python3_7 python3_8" QEMU_SOFTMMU_TARGETS="arm ppc ppc64 x86_64" QEMU_USER_TARGETS="arm ppc ppc64 x86_64" RUBY_TARGETS="ruby30" SANE_BACKENDS="gphoto2 abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_pp mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u xerox_mfp" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Comment 1 Gary E. Miller 2021-01-20 21:50:52 UTC
Created attachment 683932 [details]

build log
Comment 2 Gary E. Miller 2021-01-20 21:51:38 UTC
>>> 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 '' || echo './'`
In file included from cstring.h:35,
                 from parsetree.h:40,
                 from compiler.h:42,
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
Comment 3 inasprecali 2021-01-21 13:55:04 UTC
I can confirm this exact same bug on an ~amd64 machine.
Comment 4 Sam James archtester gentoo-dev Security 2021-01-28 02:31:44 UTC
I'm sorry, I can't reproduce this.

Could you report this upstream? ( Upstream are quite friendly.

Does it happen with -j1?
Comment 5 Gary E. Miller 2021-01-28 02:37:53 UTC
(In reply to Sam James from comment #4)
> I'm sorry, I can't reproduce this.
> Could you report this upstream?
> ( Upstream are quite
> friendly.
> Does it happen with -j1?

I just tried:

kong ~ # emerge -j1 colm

Same results.
Comment 6 Gary E. Miller 2021-01-28 02:40:43 UTC
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.
Comment 7 Sam James archtester gentoo-dev Security 2021-01-28 02:44:38 UTC
(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?
Comment 8 Gary E. Miller 2021-01-28 02:46:49 UTC
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/' || echo './'`gen/
gen/ 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.
Comment 9 Gary E. Miller 2021-01-28 02:48:30 UTC
kong ~ # equery f dev-util/colm
 * Searching for colm in dev-util ...
 * Contents of dev-util/colm-0.14.6:
/usr/lib64/ ->
/usr/lib64/ ->
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

Comment 10 Sam James archtester gentoo-dev Security 2021-01-28 02:57:12 UTC
Bizarre. Right, can you file an upstream issue?
Comment 11 Gary E. Miller 2021-01-28 03:06:22 UTC
Comment 12 Sam James archtester gentoo-dev Security 2021-01-30 04:01:40 UTC
(In reply to Gary E. Miller from comment #11)

Thank you!
Comment 13 Sam James archtester gentoo-dev Security 2021-02-05 03:46:15 UTC
Can anyone hitting this please look at the linked GH issue and test the tarball there? Thanks.
Comment 14 Gary E. Miller 2021-02-05 04:01:24 UTC
(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".
Comment 15 Larry the Git Cow gentoo-dev 2021-02-21 08:02:46 UTC
The bug has been closed via the following commit(s):

commit 9bf8fa214188de701ecab444a08baa360e3c1f34
Author:     Sam James <>
AuthorDate: 2021-02-21 07:54:20 +0000
Commit:     Sam James <>
CommitDate: 2021-02-21 08:02:42 +0000

    dev-util/colm: bump to 0.14.7
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <>

 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):

commit 3ad3ad5bc43b210d3bc649c46feb1f828254b6cc
Author:     Sam James <>
AuthorDate: 2021-02-21 08:00:50 +0000
Commit:     Sam James <>
CommitDate: 2021-02-21 08:02:42 +0000

    dev-util/ragel: bump to 7.0.4
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <>

 dev-util/ragel/Manifest           |  1 +
 dev-util/ragel/ragel-7.0.4.ebuild | 61 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)