http://farm4.static.flickr.com/3546/3400637131_42dd8d8eb0_m.jpg

Oh no! by play4smee

I was trying to compile Chromium browser on Gentoo AMD64, which is 32bit only browser. I couldn’t did it with emul-linux-x86-* libraries because libgio.so was not included in them. So, I decided to take chroot method and I don’t like that before or after. However, it didn’t work, either. Some path issues still remain, header files can’t be found, and I don’t know how to fix it and didn’t want to.

Chroot environment became useless to me, so I did rm -rf /mnt/gentoo32. If I completely followed the guide, I only need to emerge --sync to fix /usr/portage, Gentoo’s package (meta)data location.

Unfortunately, I did more than that:

mount -o bind /root /mnt/gentoo32/root >/dev/null &
mount -o bind /home /mnt/gentoo32/home >/dev/null &

Laziness made me. I wanted the environment bashrc, etc. And I also need the source code of Chromium, it’s already in my home directory, so I didn’t see it’s wrong to bind my home to chroot environment.

I still don’t think those two bindings are wrong actions. The only mistake I made is lacking of care — forgetting to umount. I am sure this won’t be the last time… :p