Package Details: openspec 1.6.0-2

Git Clone URL: https://aur.archlinux.org/openspec.git (read-only, click to copy)
Package Base: openspec
Description: AI-native system for spec-driven development
Upstream URL: https://github.com/Fission-AI/OpenSpec
Licenses: MIT
Submitter: robertfoster
Maintainer: robertfoster
Last Packager: robertfoster
Votes: 5
Popularity: 0.30
First Submitted: 2025-10-09 09:28 (UTC)
Last Updated: 2026-07-11 20:43 (UTC)

Latest Comments

samirnassar commented on 2026-06-07 09:25 (UTC)

I solved the issue with:

prepare() {
  cd "${srcdir}/OpenSpec-${pkgver}"
  # Provide pnpm-workspace.yaml with allowBuilds setting to allow esbuild build
  cp "${srcdir}/pnpm-workspace.yaml" .
  # Install all dependencies (needed for build)
  pnpm install --no-frozen-lockfile
}

and a pnpm-workspace.yaml:

allowBuilds:
  esbuild: true

https://codeberg.org/snassar/PKGBUILD/src/branch/development/OpenSpec

samirnassar commented on 2026-06-07 05:39 (UTC) (edited on 2026-06-07 05:39 (UTC) by samirnassar)

The issue with pnpm remains:

[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: esbuild@0.25.8

Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.
==> ERROR: A failure occurred in prepare().
    Aborting...

ismet commented on 2026-06-02 15:12 (UTC) (edited on 2026-06-02 15:13 (UTC) by ismet)

@robertfoster

Build itself (tsc) succeeds, but pnpm install aborts with ERR_PNPM_IGNORED_BUILDS: Ignored build scripts: esbuild@0.25.8, killing prepare().

Cause: Upstream's pnpm-workspace.yaml has a placeholder:

allowBuilds:
  esbuild: set this to true or false
strictDepBuilds: true 

(pnpm 10+ default) treats it as unreviewed → install exits non-zero. Note: --allow-build=esbuild is not a valid flag on pnpm install in pnpm 11.

Suggested fix:

 prepare() {
   cd "${srcdir}/OpenSpec-${pkgver}"
+  sed -i 's|^  esbuild:.*|  esbuild: true|' pnpm-workspace.yaml
   pnpm install --no-frozen-lockfile
 }

rakatan commented on 2026-06-02 12:54 (UTC)

got an install error:

[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: esbuild@0.25.8

Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'openspec-1.4.0-1':
error: packages failed to build: openspec-1.4.0-1

davidcharbonnier commented on 2026-02-05 13:13 (UTC) (edited on 2026-02-05 13:34 (UTC) by davidcharbonnier)

Since v1.0, there is a new OPSX workflow that provides schemas to write specs and related artifacts. I've found that since this version, this package is lacking something related to spec-driven default schema which prevents creating new changes. I haven't dig this really deeper and I might come back with more precise information later.

Edit: I found it and I'm going to open a MR to fix it!