melpa / package-build

Tools for assembling a package archive
https://github.com/melpa/melpa
25 stars 34 forks source link

`(package-build-all)` succeeds but prints about the building package failed #27

Closed ramboman closed 5 years ago

ramboman commented 6 years ago

(package-build-all) builds correctly the archive, but it prints:

...
Successfully built 0 of 1 packagesBuilding 1 packages failed:

at the end of the output.

Here is the structure of my personal melpa directory:

<personal-melpa-dir>
 |- archive
 |   \- (empty)
 |- recipes
 |   \- smex
 \- working
     \- (empty)

recipes/smex:

(smex :repo "nonsequitur/smex" :fetcher github)

test.el

#!emacs --script

(add-to-list 'load-path "<package-build-git-repo-dir>")

(require 'package-build)

(setq local-melpa-dir "<personal-melpa-dir>")
(setq package-build-archive-dir (expand-file-name "archive" local-melpa-dir))
(setq package-build-recipes-dir (expand-file-name "recipes" local-melpa-dir))
(setq package-build-working-dir (expand-file-name "working" local-melpa-dir))

(package-build-all)

Here are other things I have noticed:

package-build commit: 0a22c3f

tarsius commented 5 years ago

Sorry this took so long.