Yay: Build packages with the chroot-based build tools

Created on 3 Oct 2018  路  3Comments  路  Source: Jguer/yay

Affected Version




yay v8.1139 - libalpm v11.0.1

Issue

Per https://aur.archlinux.org/packages/vmware-ovftool/#comment-665275, some AUR packages must be built not via makepkg but instead via some random "makechrootpkg" toolset from the devtools package.

Steps to reproduce

  1. yay -S --editmenu vmware-ovftool
  2. Edit icu58's PKGBUILD per its AUR comments so that it builds correctly.

Output





==> Starting build()...
Extracting VMware Installer...done.
User interface initialization failed.  Exiting.  Check the log for details.

Most helpful comment

@Morganamilo Is this still out of scope? I came across https://aur.archlinux.org/packages/sphinxbase/ which does not build correctly under Yay, and the maintainer says it's a WONTFIX because you should always build packages in a chroot. Is there a workaround for such packages besides either not using Yay or figuring out a special one-time hack for each package?

All 3 comments

I'm not too sure what you're trying to say. If this is a feature request for building in a chroot then that's out of scope right now and would require a huge amount of changes.

Correct.

@Morganamilo Is this still out of scope? I came across https://aur.archlinux.org/packages/sphinxbase/ which does not build correctly under Yay, and the maintainer says it's a WONTFIX because you should always build packages in a chroot. Is there a workaround for such packages besides either not using Yay or figuring out a special one-time hack for each package?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

AdrienLemaire picture AdrienLemaire  路  3Comments

GermanG picture GermanG  路  4Comments

pantuts picture pantuts  路  3Comments

muesli picture muesli  路  4Comments

nowshed-imran picture nowshed-imran  路  5Comments