Can't Build qt5 with slackrepo in VM
I am trying to build qt5 using slackrepo and the SBo build script inside a virtualbox VM.
I get the following error: Code:
tar: qt-everywhere-opensource-src-5.7.1/qtbase/include/QtCore/QJsonParseError: Cannot write: No space left on device The VM has 4 GB RAM, 30GB vdi, 4GB swap which leaves 26GB for the file system. About 15GB are free. Default size of tmpfs is 1/2 RAM (2GB). I ran the slackBuild without slackrepo and the source untars without a problem. The expanded source size is 1.8GB, close to the size of tmpfs. I tried disabling tmpfs and I tried increasing its size. Neither worked. Maybe that means tmpfs is not the problem or maybe I did it wrong? Is there someway to tell slackrepo to not use tmpfs so I can tell for sure if that is the problem? |
Do you have /tmp/ as tmpfs? If so, that is likely your problem. All of the extracting and building occurs in /tmp/, starting with copying the source over and extracting it.
You could try changing the following entry in your /etc/slackrepo/slackrepo_SBo.conf file to a place on your drive that isn't tmpfs. Code:
TMP="/tmp/%REPO%" |
can you build it on your real system then get the tzx ( i think its called. could be txz .. ) then install it on the VM OS?
or maybe Alien Bob got one already built you can use. |
Quote:
|
Quote:
wait... slackrepo is an independent of and not a 'nick name' for slacks mirrors. Ok. I googled it to update my data base Code:
Slackrepo is a highly automated tool for Slackware users to manage their own package repositories. |
Quote:
Code:
tmpfs /dev/shm tmpfs defaults 0 0 I just changed the ram for the VM to 6GB (the host only has 8GB). tar stopped giving "No space left on device" error and qt5 is compiling. My estimate is 1.5 to 2 hours to finish. Code:
mount |grep tmp |
Quote:
Quote:
Code:
wget https://github.com/idlemoor/slackrepo/archive/e150e2b/slackrepo-e150e2bff690788dca49cd68086a7dac0b1478bb.tar.gz |
Quote:
Quote:
I'm out(again): cause: not qualified for this question. |
Quote:
If you want to keep the text you posted but correct information you already typed, you can use [strike][/strike] to strike out your test. It makes it much easier for people to follow what you're typing. |
Quote:
here let me just wipe it but one part.. even this is a screwy post now. |
hi, yes the newest version of slackrepo in git now uses tmpfs during the build, this is experimental and (especially after your feedback) I'll be providing some way of turning it off and making it more responsive to the size of what it's building. Sorry this bit you. I should have a fixed version in the next couple of days; I'll post again here when it's done.
Or a quick fix would be to provide say 10Gb of swap. |
Quote:
Code:
cp: cannot stat 'etc/ponce/default_hintfiles': No such file or directory Code:
#VERSION=${VERSION:-0.2.0} |
You may want to try the SlackBuild from that git version (use the raw link to directly download it).
https://github.com/idlemoor/slackrep...epo.SlackBuild If that still kicks out errors, I'll try to work up a revised SlackBuild later tonight or tomorrow (depending on how soon we go to bed tonight -- it's 11PM now). EDIT: Another option is to just grab the 2.0rc1 package from my server. This is the version I downloaded from his dropbox before dropbox broke public folders, which broke his link. http://bassmadrigal.tk/temp/slackrep...arch-1_dbs.txz |
Quote:
|
Quote:
|
All times are GMT -5. The time now is 09:23 PM. |