I would like to make a blog, and for some reason i have a wordpress
account even though i do not want to interact with the wordpress
software. I have read of org2blog, an extension for emacs to facilitate
posting from org-mode to wordpress. So far all the extensions to emacs
I'm using in Guix are installed via guix, so I am trying to make an
org2blog package. 

I started with the Guix Packager found at
https://guix-hpc.gitlabpages.inria.fr/guix-packager/ to generate a
template to start with. After some hand-editing I have this:

'''
(define-module (guix-packager)
  #:use-module (guix)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (gnu packages)
  #:use-module (guix build-system emacs)
  #:use-module (guix git-download))

(define-public org2blog
  (package
    (name "org2blog")
    (version "d016860")
    (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/org2blog/org2blog.git";)
              (commit "d016860")))
        (file-name (git-file-name name version))
        (sha256 (base32
"1idz1jcxccicl6r45a6zbgjkhdc7p0pg1w1bp67yk10dhm2gvpsy"))))
    (build-system emacs-build-system)
   (arguments (list #:tests? #f))
    (home-page "https://github.com/org2blog";)
    (synopsis " Blog from Org mode to WordPress.")
    (description "An emacs org-mode facility for editing blog posts and
publishing same to a wordpress instance.")
    (license license:gpl3+)))
org2blog

'''

which, when running `guix build -f org2blog.scm`, yields the following
error, pasted in here from the build log, beginning from the first
mention of error: please advise if it is helpful to include the rest of
the log?

'''
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program:
"/gnu/store/w2kr6fan3wlpcwl2z0a25kdz31xd75qs-emacs-minimal-30.2/bin/emacs"
arguments: ("--quick" "--batch" "--eval=(eval '(let ((byte-compile-debug
t) (byte+native-compile (native-comp-available-p)) (files
(directory-files-recursively
\"/gnu/store/0f1xnsjqvx93kmf0plnz96j0mrwwd4ly-org2blog-d016860/share/emacs/site-lisp/org2blog-d016860\"
\"\\\\.el$\")) (write-bytecode (and (native-comp-available-p) (progn
(require (quote comp)) (if (fboundp (quote comp-write-bytecode-file))
(quote comp-write-bytecode-file) (quote comp--write-bytecode-file))))))
(mapc (lambda (file) (message \"Compiling `%s'\" (file-relative-name
file
\"/gnu/store/0f1xnsjqvx93kmf0plnz96j0mrwwd4ly-org2blog-d016860/share/emacs/site-lisp/org2blog-d016860\"))
(let (byte-to-native-output-buffer-file (eln-dir (and
(native-comp-available-p) (cadr native-comp-eln-load-path)))) (if
byte+native-compile (native-compile file (comp-el-to-eln-filename
(file-relative-name file
\"/gnu/store/0f1xnsjqvx93kmf0plnz96j0mrwwd4ly-org2blog-d016860/share/emacs/site-lisp/org2blog-d016860\")
eln-dir)) (byte-compile-file file)) (unless (null
byte-to-native-output-buffer-file) (funcall write-bytecode nil))))
files)) nil)") exit-status: 255 term-signal: #f stop-signal: #f> 
phase `build' failed after 0.0 seconds
command
"/gnu/store/w2kr6fan3wlpcwl2z0a25kdz31xd75qs-emacs-minimal-30.2/bin/emacs"
"--quick" "--batch" "--eval=(eval '(let ((byte-compile-debug t)
(byte+native-compile (native-comp-available-p)) (files
(directory-files-recursively
\"/gnu/store/0f1xnsjqvx93kmf0plnz96j0mrwwd4ly-org2blog-d016860/share/emacs/site-lisp/org2blog-d016860\"
\"\\\\.el$\")) (write-bytecode (and (native-comp-available-p) (progn
(require (quote comp)) (if (fboundp (quote comp-write-bytecode-file))
(quote comp-write-bytecode-file) (quote comp--write-bytecode-file))))))
(mapc (lambda (file) (message \"Compiling `%s'\" (file-relative-name
file
\"/gnu/store/0f1xnsjqvx93kmf0plnz96j0mrwwd4ly-org2blog-d016860/share/emacs/site-lisp/org2blog-d016860\"))
(let (byte-to-native-output-buffer-file (eln-dir (and
(native-comp-available-p) (cadr native-comp-eln-load-path)))) (if
byte+native-compile (native-compile file (comp-el-to-eln-filename
(file-relative-name file
\"/gnu/store/0f1xnsjqvx93kmf0plnz96j0mrwwd4ly-org2blog-d016860/share/emacs/site-lisp/org2blog-d016860\")
eln-dir)) (byte-compile-file file)) (unless (null
byte-to-native-output-buffer-file) (funcall write-bytecode nil))))
files)) nil)" failed with status 255
build process 14 exited with status 256

'''

What all am i doing wrong?

Reply via email to