[colm-users] colm-0.13.0.5 fails to build on Gentoo Prefix on 32bit OS on a VM
Sam Pfeiffer
sammypfeiffer at gmail.com
Tue May 1 21:02:37 UTC 2018
Oh, docker is wonderful, specially for this kind of "reproduce my case"
scenarios.
If your machine is veeeeery old... this may not even work cause of missing
virtualization stuff on your CPU (I have a little server with that problem).
But, in any case, if you are using Ubuntu (16.04 I'd hope), you can follow
the official guide to install docker:
https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository
Shortened is this:
sudo apt-get install -y apt-transport-https ca-certificates curl
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
sudo apt-get update
sudo apt-get install -y docker-ce
sudo usermod -aG docker $USER
That's probably 100Mb?
I also installed virtualbox-5.2... I think it installs some kernel modules
that will be needed by the Docker I made. But I'm not sure. You can try
without.
In any case the installation instructions are here:
https://www.virtualbox.org/wiki/Linux_Downloads
Or shortened:
sudo su
wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo
apt-key add -
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo
apt-key add -
echo "deb http://download.virtualbox.org/virtualbox/debian xenial contrib"
>> /etc/apt/sources.list.d/virtualbox.list
apt-get update
apt-get install -y --allow-unauthenticated dkms virtualbox-5.2
virtualbox-dkms
VBOX_VERSION=`dpkg -s virtualbox-5.2 | grep '^Version: ' | sed -e
's/Version: \([0-9\.]*\)\-.*/\1/'` ; \
wget -q
http://download.virtualbox.org/virtualbox/${VBOX_VERSION}/Oracle_VM_VirtualBox_Extension_Pack-${VBOX_VERSION}.vbox-extpack
; \
VBoxManage extpack install
Oracle_VM_VirtualBox_Extension_Pack-${VBOX_VERSION}.vbox-extpack
--accept-license=56be48f923303c8cababb0bb4c478284b688ed23f16d775d729b89a2e8e5f9eb;
\
rm Oracle_VM_VirtualBox_Extension_Pack-${VBOX_VERSION}.vbox-extpack
apt-get install -y linux-headers-generic virtualbox-dkms
# Change the group of /dev/vbox* to vboxusers
chgrp vboxusers /dev/vbox*
# Change permissions
chmod g+rw /dev/vbox*
Probably another 100Mb there.
But the really big guy is when you do, from the README of the repo:
https://github.com/awesomebytes/colm_docker
docker pull awesomebytes/colm_environment:1
That's 5.1GB of an image. It contains a 4GB file which is some kind of
snapshotted VM with the problem.
Alternatively, I could provide you access via ssh to some machine with the
system already setup. If that would be more convenient for you, drop me a
mail privately. Note that I'm in Sydney, we may have quite a challenge on
timezones.
On Tue, May 1, 2018 at 1:33 AM, Adrian Thurston <thurston at colm.net> wrote:
> Okay thanks. I haven't used docker before (although a huge fan of linux
> namespaces). I'm assuming I need to do a lot of downloading to get this
> going? I'm not currently on a good internet connection, and I'm stuck on a
> very old laptop after leaving my good one on the top of my car and getting
> on the highway. Is there anything about this docker image that expires?
>
> On 2018-04-28 01:42, Sam Pfeiffer wrote:
>
> Hello,
>
> I made a Docker image that you may use to (hopefully) quickly reproduce
> the bug. The instructions on how to use it are here:
>
> https://github.com/awesomebytes/colm_docker
>
> Mainly:
>
> docker pull awesomebytes/colm_environment:1
>
> docker run --privileged -v $HOME:/shared -it awesomebytes/colm_environment:
> 1
>
> ./COLM-start
>
>
> su - abuild
>
>
> cd ~/rpmbuild/BUILD/colm-0.13.0.5
> make clean
> ./configure
> make
>
> Extra info is in the README of the github repo.
>
> Thank you for taking a look into it again!
>
>
> On Sat, Apr 28, 2018 at 8:32 AM, Adrian Thurston <thurston at colm.net>
> wrote:
>
>> Can I get onto the VM where it can be reproduced?
>>
>> On 2018-04-26 22:58, Sam Pfeiffer wrote:
>>
>> Hello,
>>
>> (Sorry if this mail may be received twice in the list).
>>
>> I've seen that you had some conversation about that already at:
>>
>> http://www.colm.net/pipermail/colm-users/2017-June/000175.html
>>
>> But it never got anywhere, I think. The last comment of Adrian Thurston
>> says that build dependencies are missing.
>>
>> I tried reproducing the same thing and it did work for me (so I got the
>> same compilation error). I did miss the first time doing:
>>
>> su - abuild
>>
>>
>> As explained in http://www.colm.net/pipermail/
>> colm-users/2017-June/000175.html by Jan Engelhardt.
>>
>> Which gave me the same errors mentioned by Adrian.
>>
>> So, to reproduce it I did (just for clarity):
>>
>> cd tmp
>> wget http://inai.de/files/colm/COLM-img
>> wget http://inai.de/files/colm/COLM-initrd
>> wget http://inai.de/files/colm/COLM-kernel
>> wget http://inai.de/files/colm/COLM-start
>>
>> chmod +x COLM-start
>> ./COLM-start
>>
>> su - abuild
>>
>> cd ~/rpmbuild/BUILD/colm-0.13.0.5
>> make clean
>> ./configure
>> make
>>
>>
>> And I got back to:
>>
>> bootstrap1: tree.c:953: colm_tree_downref: Assertion `tree->refs > 0'
>> failed.
>>
>>
>> (I have a VM where I can reproduce it also, but I can't share it
>> publicly).
>>
>> --
>>
>> *Sammy Pfeiffer*
>> PhD Candidate at The Magic Lab within UTS.
>>
>> _______________________________________________
>> colm-users mailing listcolm-users at colm.nethttp://www.colm.net/cgi-bin/mailman/listinfo/colm-users
>>
>>
>> _______________________________________________
>> colm-users mailing list
>> colm-users at colm.net
>> http://www.colm.net/cgi-bin/mailman/listinfo/colm-users
>
>
>
>
> --
>
> *Sammy Pfeiffer*
> PhD Candidate at The Magic Lab within UTS.
>
> _______________________________________________
> colm-users mailing listcolm-users at colm.nethttp://www.colm.net/cgi-bin/mailman/listinfo/colm-users
>
>
> _______________________________________________
> colm-users mailing list
> colm-users at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/colm-users
>
--
*Sammy Pfeiffer*
PhD Candidate at The Magic Lab within UTS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/colm-users/attachments/20180502/3fba6406/attachment.html>
More information about the colm-users
mailing list