unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* mtimes babi
@ 2022-10-23 15:36 jgart
  2022-10-23 18:44 ` Michael Rohleder
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-10-23 15:36 UTC (permalink / raw)
  To: Guix Devel

hi,

I'm packaging babi and mtimes phase fails:

error: in phase 'ensure-no-mtimes-pre-1980': uncaught exception:
system-error "utime" "~A" ("No such file or directory") (2)
phase `ensure-no-mtimes-pre-1980' failed after 0.0 seconds
Backtrace:
          13 (primitive-load "/gnu/store/4f5x3b0yvbh1aj44gvjj75dp6xf…")
In guix/build/gnu-build-system.scm:
    906:2 12 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In srfi/srfi-1.scm:
    634:9 10 (for-each #<procedure 7ffff5f3fca0 at guix/build/gnu-b…> …)
In ice-9/boot-9.scm:
  1752:10  9 (with-exception-handler _ _ #:unwind? _ # _)
In guix/build/gnu-build-system.scm:
   927:23  8 (_)
In ice-9/boot-9.scm:
  1747:15  7 (with-exception-handler #<procedure 7ffff46e2360 at ic…> …)
In ice-9/ftw.scm:
   329:34  6 (go _)
In srfi/srfi-1.scm:
    634:9  5 (for-each #<procedure 7ffff46eb800 at ice-9/ftw.scm:33…> …)
In ice-9/ftw.scm:
   325:38  4 (go "./.activate.sh")
In guix/build/python-build-system.scm:
   274:17  3 (_ "./.activate.sh" #(42 41792 41471 1 936 995 0 17 # …) …)
In unknown file:
           2 (utime "./.activate.sh" 315619200 315619200 #<undefined> …)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
In procedure utime: No such file or directory
builder for `/gnu/store/fja5faknsszcw6dm0i0ii9xm7111m5jz-babi-1.5.3.drv' failed with exit code 1

package:
(define-public babi
  (package
    (name "babi")
    (version "1.5.3")
    (source
      (origin
        (method git-fetch)
          (uri 
            (git-reference
            (url "https://github.com/asottile/babi")
            (commit (string-append "v" version))))
        (sha256
         (base32
          "0d3a6km2bshym4lc4sdn8lhir4vc986d8hyhm1l3sm8ab0yzmawz"))))
    (build-system python-build-system)
    (arguments
     '(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key tests? inputs #:allow-other-keys)
             (when tests?
               (invoke "pytest")))))))
    (native-inputs (list python-pytest))
    (propagated-inputs 
      (list python-babi-grammars 
            python-identify
            python-importlib-metadata 
            python-onigurumacffi))
    (home-page "https://github.com/asottile/babi/")
    (synopsis "Text editor inspired by nano")
    (description
"A text editor written in Python and inspired by @code{nano}.")
    (license license:expat)))
  

WDYT


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: mtimes babi
  2022-10-23 15:36 mtimes babi jgart
@ 2022-10-23 18:44 ` Michael Rohleder
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Rohleder @ 2022-10-23 18:44 UTC (permalink / raw)
  To: jgart; +Cc: Guix Devel

[-- Attachment #1: Type: text/plain, Size: 422 bytes --]

jgart <jgart@dismail.de> writes:
> I'm packaging babi and mtimes phase fails:
>
> error: in phase 'ensure-no-mtimes-pre-1980': uncaught exception:
> system-error "utime" "~A" ("No such file or directory") (2)
> phase `ensure-no-mtimes-pre-1980' failed after 0.0 seconds

Try "(delete 'ensure-no-mtimes-pre-1980)" like in `guix edit
python-identify`.

-- 
"Das Leben ist hart." - "Verglichen womit?"	(Voltaire)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-24  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-23 15:36 mtimes babi jgart
2022-10-23 18:44 ` Michael Rohleder

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).