-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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.

> 
> > A solution might be to put the builder into a subdirectory rather than
> > directly in the root of the image. But I guess this must have worked
> > as-is at some point?
> 
> Yes, it does work as-is.

Yeah, I figured it must, since otherwise CI would be broken. Not sure
why this is an issue on my end yet.

Thanks,
Davíð

> 
> -- 
> 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?
> 
> -- 
> 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/20191115030041.GY5763%40mail-itl.
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEykYeTVy71V+1O28fFv/LUCW76uAFAl3OoYwACgkQFv/LUCW7
6uCTbQgAvZe6Mr6oEy5g7TykshdZvh7L+eCTUWJCll5w0n0ZJiM3qIY+T6fjIe5f
4nsg+Y2b6YX643pAG8Nzxr/55HInY4vhW5H/hUOEy8W5Z9EKLoG+Jw8z3jpL1mdv
ZV1SpVA2nU0oEfEJ0jLw1ZekX6u5FIwB+rWdkR2PC9tms5ppdLShAfW7nOerMhgb
hpKQUaEzWt85h2aZ7zVfNRHnOiH4GAhkN2JjCFk0Nm9/urf8kiYcVZVH8DPxP7j5
9OhKd61ecCVh1qPox+eX3nYqZtONv12rRVVPHakbDu2OXID8Y+Aumd1uqcphEfJV
ZuhbZGyf/LTVnlmyMsaNPi/knnaEYA==
=cme9
-----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/20191115130100.GC2100%40mail.

Reply via email to