You are not logged in.

#1 2021-06-19 10:25:38

hwittenborn
Member
Registered: 2021-04-18
Posts: 18

[SOLVED]Why does makepkg give errors when only using '--printsrcinfo'?

I have makepkg running in some CI pipelines so my PKGBUILDs can automatically update when the upstream updates their packages.

Right now, the Git repositories are cloned under the root user, and then makepkg is ran under a user I create. I currently don't 'chmod' the directory or anything, which is, as normally expected, causing issues.

I know normally makepkg would need write permissions, but why so when all I'm asking it to do is generate text for a .SRCINFO file?

Yes, I could simply 'chown' the directory, and it's what I'm gonna do for now, but it doesn't make sense to me that it should be like that.

Any chance makepkg could skip write errors when only '--printsrcinfo' is called (and quite frankly root checks too)?

Last edited by hwittenborn (2021-06-19 10:37:21)


makedeb: create Debian archives from PKGBUILDs

Offline

#2 2021-06-19 10:32:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,059
Website

Re: [SOLVED]Why does makepkg give errors when only using '--printsrcinfo'?

File a feature request in the bug tracker.

Offline

#3 2021-06-19 10:36:58

hwittenborn
Member
Registered: 2021-04-18
Posts: 18

Re: [SOLVED]Why does makepkg give errors when only using '--printsrcinfo'?

Will do, thanks!


makedeb: create Debian archives from PKGBUILDs

Offline

Board footer

Powered by FluxBB