You are not logged in.

#1 2013-05-14 02:12:15

flamusdiu
Member
Registered: 2013-05-10
Posts: 36

[SOLVED] Xen-Tools-Git: PKGBUILD Issues

I am trying to create a PKGBUILD for xen-tools git repo.

However, I have been beating my head against the wall with some strange issue. During the package() of the PKGBUILD, I need to create the man directories so I call "install -dm755 ${pkgdir}/man/man8" but for some strange reason makepkg creates the "pkg" directory with NO permissions and I cannot set them either. If I am real root, the PKGBUILD works.

Anyone know why the heck makepkg creates the "pkg/" directory with no permissions? I just finished another PKGBUILD without any issues. sad

Last edited by flamusdiu (2013-05-14 02:22:29)

Offline

#2 2013-05-14 02:15:43

flamusdiu
Member
Registered: 2013-05-10
Posts: 36

Re: [SOLVED] Xen-Tools-Git: PKGBUILD Issues

Just realized something: makepkg isn't calling fakeroot. This would explain why it's failing but no idea why it's not calling fakeroot though. sad

Offline

#3 2013-05-14 02:22:04

flamusdiu
Member
Registered: 2013-05-10
Posts: 36

Re: [SOLVED] Xen-Tools-Git: PKGBUILD Issues

Shoot; never mind. Moved it from build() to package() and it works fine now. tongue

Offline

Board footer

Powered by FluxBB