-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, Nov 15, 2019 at 01:01:00PM +0000, Davíð Steinn Geirsson wrote: > On Fri, Nov 15, 2019 at 04:00:41AM +0100, Marek Marczykowski-Górecki wrote: > > On Thu, Nov 14, 2019 at 10:10:56PM +0000, Davíð Steinn Geirsson wrote: > > > I'm trying to build a R4.0 fc30 template in dispvm, but it fails > > > at the "make build-id" step because the lost+found directory is > > > in the way. > > > > > > My build steps: > > > * Clone https://github.com/QubesOS/qubes-builder > > > * cp example-configs/qubes-os-r4.0.conf builder.conf > > > * make get-sources > > > * make get-sources-extra > > > * make template-in-dispvm-fc30 > > > > > > The build fails, the last messages in build-logs/template-fc30.log: > > > [...] > > > + make build-id DISTS_VM=fc30 > > (...) > > > warning: could not open directory 'lost+found/': Permission denied > > > *** ERROR: Component builder not clean - commit or stash the changes! > > > make: *** [Makefile:1030: build-id] Error 1 > > > --> Generating the package > > > ERROR: Didn't received root.img, build failed > > > > > > > > > Is this a known problem? Am I missing some steps in the build process? > > > > The "lost+found" message isn't a problem. The next one is - you have > > some uncommitted changes in the main builder directory. Check with 'git > > status'. > > Hm, I assumed the lost+found was the untracked file git was complaining > about, but you are right. > > I was originally trying to build a modified tree with my own commits, but > before posting I tried it again starting from a known-clean checkout. > > Indeed there is an untracked 'rpmdb/' in the tree now. I just tried another > clean build, following the above steps on a fc30 AppVM, running 'git status' > after every step. The rpmdb directory seems to be created by > 'make get-sources'. > > I'll have to investigate further exactly which step of get-sources causes > this.
See makefile of linux-dom0-updates, there is rpmdb directory created. It should be at qubes-src/linux-dom0-updates/rpmdb, but maybe something gone wrong? You can check each component separately with: make COMPONENTS=linux-dom0-updates get-sources - -- Best Regards, Marek Marczykowski-Górecki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAl3OpKsACgkQ24/THMrX 1ywUkwf9GEn85KEEWxKeUqJ7252TkbQ92UcT0dkNjUao7eFKG9rQmA0uRsRWJpjV hJ5kI+89KAYEqJ0wIFPZgdPLQN5f5x81dnWxDDV+MFnvdJhezv/s5kb6MkPJ/tBB Ak8kd16BtV91cvmKZWETUQyiWqllw+oBy7EI+2G+8SjNCyR9X7j/vnaJTsLVw151 RXnPKOQ73Ltb+E4pORwl5meMSCo9G0I/UEUYfq1tvJk1hHcTruM7UGV6mrR7QIyR WuJGohqzN2+sBaKyG5t1sXqSWFeWtks6kyjLckwhQaWRSUo0VyEBX7L6hyF+z7Up lwmB8knbaS2moTH4kpi92rhiztWuxw== =aS1F -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "qubes-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-devel/20191115131420.GC5763%40mail-itl.
