Skip to content

Yay can't build locally created PKGBUILD files #2733

@Crandel

Description

@Crandel

Affected Version

yay v12.5.6 - libalpm v16.0.1

Describe the bug

I have my own PKGBUILD files, copied and refactored from AUR repos. I'm keeping them in my personal github repository, because they are relevant only for one working machine.
I used to build them via makepkg -si command and later via paru -Uic. Recently I found yay -Bi command, which should be an equivalent for them. But it is always failed with command

-> error merging .: fatal: No remote for the current branch.

Looks like yay tries to download it from AUR, but my package do not pushed there.

Reproduction Steps

  1. Create new PKGBUILD without pushing to AUR repo
  2. yay -Bi

Expected behavior

Package should be build without calling AUR repo, as currently makepkg -si and pary -Uic is working.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions