[colm-users] colm-0.13.0.5 fails to build on Gentoo Prefix on 32bit OS on a VM
Adrian Thurston
thurston at colm.net
Thu May 3 16:50:52 UTC 2018
Just got docker installed, but getting to the image part ... 5 gigs is
too much for me to download right now. Any chance you could give me a
user on a machine I can reach?
On 2018-05-01 17:02, Sam Pfeiffer wrote:
> 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 [2]
>
> 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 [3] | sudo apt-key add -
> sudo add-apt-repository
> "deb [arch=amd64] https://download.docker.com/linux/ubuntu [4]
> $(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 [5]
>
> Or shortened:
>
> sudo su
> wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc [6] -O- | sudo apt-key add -
> wget -q https://www.virtualbox.org/download/oracle_vbox.asc [7] -O- | sudo apt-key add -
> echo "deb http://download.virtualbox.org/virtualbox/debian [8] 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 [9] ;
> 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 [10]
> 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 [10]
>
> 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 [11]
>
> 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 [11] 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 [12]
> wget http://inai.de/files/colm/COLM-initrd [13]
>
> wget http://inai.de/files/colm/COLM-kernel [14]
> wget http://inai.de/files/colm/COLM-start [15]
>
> 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 list
> colm-users at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/colm-users [1]
>
> _______________________________________________
> colm-users mailing list
> colm-users at colm.net
> http://www.colm.net/cgi-bin/mailman/listinfo/colm-users [1]
--
SAMMY PFEIFFER
PhD Candidate at The Magic Lab within UTS.
_______________________________________________
colm-users mailing list
colm-users at colm.net
http://www.colm.net/cgi-bin/mailman/listinfo/colm-users [1]
_______________________________________________
colm-users mailing list
colm-users at colm.net
http://www.colm.net/cgi-bin/mailman/listinfo/colm-users [1]
--
SAMMY PFEIFFER
PhD Candidate at The Magic Lab within UTS.
_______________________________________________
colm-users mailing list
colm-users at colm.net
http://www.colm.net/cgi-bin/mailman/listinfo/colm-users [1]
Links:
------
[1] http://www.colm.net/cgi-bin/mailman/listinfo/colm-users
[2]
https://docs.docker.com/install/linux/docker-ce/ubuntu/#set-up-the-repository
[3] https://download.docker.com/linux/ubuntu/gpg
[4] https://download.docker.com/linux/ubuntu
[5] https://www.virtualbox.org/wiki/Linux_Downloads
[6] https://www.virtualbox.org/download/oracle_vbox_2016.asc
[7] https://www.virtualbox.org/download/oracle_vbox.asc
[8] http://download.virtualbox.org/virtualbox/debian
[9]
http://download.virtualbox.org/virtualbox/${VBOX_VERSION}/Oracle_VM_VirtualBox_Extension_Pack-${VBOX_VERSION}.vbox-extpack
[10] https://github.com/awesomebytes/colm_docker
[11] http://www.colm.net/pipermail/colm-users/2017-June/000175.html
[12] http://inai.de/files/colm/COLM-img
[13] http://inai.de/files/colm/COLM-initrd
[14] http://inai.de/files/colm/COLM-kernel
[15] http://inai.de/files/colm/COLM-start
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.colm.net/pipermail/colm-users/attachments/20180503/ba51d79d/attachment.html>
More information about the colm-users
mailing list