[colm] colm-0.13.0.5 fails to build on IA32

Adrian Thurston thurston at colm.net
Sat Jun 24 16:07:35 UTC 2017


So I've got the VM up and running and found the partially built colm 
package, but as you said it seems build dependencies are missing. When I 
touch a file and make I get things like:

gcc: error trying to exec 'cc1': execvp: No such file or directory

Or if I just try to compile a test C++ file:

g++: error trying to exec 'cc1plus': execvp: No such file or directory

Is there anything I can do to make the system usable for building?

-Adrian

On 2017-06-13 17:24, Jan Engelhardt wrote:
> On Tuesday 2017-06-13 00:58, Adrian Thurston wrote:
> 
>> Hmm I tried to reproduce this the other day on a fresh Ubuntu VM but 
>> couldn't.  Can you give more
>> platform information?
> 
> It seems to only happen within KVM. I have a image files ready if you
> want to try. These are image extracts from the OBS (which means they
> don't have all the software). These may be found at
> http://inai.de/files/colm/ .
> 
> 
> $ ./COLM-start
> [    1.206078] dracut-pre-udev[175]: modprobe: FATAL: Module kqemu not
> found in directory /lib/modules/4.11.3-1-default
> [    1.213907] dracut-pre-udev[175]: modprobe: FATAL: Module ext2 not
> found in directory /lib/modules/4.11.3-1-default
> [    1.217805] dracut-pre-udev[175]: modprobe: FATAL: Module ext3 not
> found in directory /lib/modules/4.11.3-1-default
> [    2.051420] dracut-pre-udev[175]: modprobe: FATAL: Module
> virtio_mmio not found in directory /lib/modules/4.11.3-1-default
> [    2.065650] dracut-pre-udev[175]: modprobe: FATAL: Module ibmvscsi
> not found in directory /lib/modules/4.11.3-1-default
> [    2.421544] dracut-pre-udev[175]: modprobe: FATAL: Module ibmveth
> not found in directory /lib/modules/4.11.3-1-default
> sh-4.4# su - abuild
> abuild at localhost:~> cd rpmbuild/BUILD/colm-0.13.0.5/src/
> abuild at localhost:~/rpmbuild/BUILD/colm-0.13.0.5/src> make
> make  all-am
> make[1]: Entering directory 
> '/home/abuild/rpmbuild/BUILD/colm-0.13.0.5/src'
> mkdir -p gen
> ./bootstrap1 -c -o gen/parse2.c -e gen/if2.h -x gen/if2.cc colm.lm
> bootstrap1: tree.c:953: colm_tree_downref: Assertion `tree->refs > 0' 
> failed.
> make[1]: *** [Makefile:1568: gen/parse2.c] Aborted (core dumped)
> 
> 
> Running the same bootstrap1 command from the host system completes
> fine.
> 
> # mount COLM-img /mnt
> # cd /mnt/home/abuild/rpmbuild/BUILD/colm-0.13.0.5/src
> # LD_LIBRARY_PATH=/mnt/lib:/mnt/usr/lib:$PWD/.libs
> /mnt/lib/ld-linux.so.2 .libs/bootstrap1 -c -o gen/parse2.c -e
> gen/if2.h -x gen/if2.cc colm.lm
> 
> It really starts to smell like a KVM issue, but I hope that that is
> not off-putting to debugging efforts. It does come a bit strange that
> it "only" affects colm out of all the other things people do in KVM.
> 
> _______________________________________________
> colm mailing list
> colm at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/colm




More information about the colm-users mailing list