unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50066: core-update: Raw origin tarballs are not handled correctly.
@ 2021-08-15  8:42 Mathieu Othacehe
  2021-08-27  4:19 ` Maxim Cournoyer
  0 siblings, 1 reply; 7+ messages in thread
From: Mathieu Othacehe @ 2021-08-15  8:42 UTC (permalink / raw)
  To: 50066; +Cc: Maxim Cournoyer


Hello,

When building "emacs-org-contrib" on core-updates-frozen, the following
message is printed:

--8<---------------cut here---------------start------------->8---
tar: Exiting with failure status due to previous errors
error: in phase 'unpack': uncaught exception:
%exception #<&invoke-error program: "tar" arguments: ("xvf" "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar") exit-status: 2 term-signal: #f stop-signal: #f> 
phase `unpack' failed after 0.0 seconds
command "tar" "xvf" "/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar" failed with status 2
note: keeping build directory `/tmp/guix-build-emacs-org-contrib-20210809.drv-6'
builder for `/gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv' failed with exit code 1
build of /gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv failed
View build log at '/var/log/guix/drvs/52/jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv.bz2'.
guix build: error: build of `/gnu/store/52jcx6rwnf0wrkrpcwkyz766fzg6asjy-emacs-org-contrib-20210809.drv' failed
--8<---------------cut here---------------end--------------->8---

That's because
"/gnu/store/r3v4gkqqbxp2w739a0llvk9nrda9xn89-org-plus-contrib-20210809.tar"
is empty. I believe this is a consequence of:
cfcead2e515c0dae02127e5a76496463898be6b6, and in particular this
section:

--8<---------------cut here---------------start------------->8---
              ;; If SOURCE is a directory (such as a checkout), return a
              ;; directory.  Otherwise create a tarball.
              (cond
               ((file-is-directory? #+source)
                (copy-recursively directory #$output
                                  #:log (%make-void-port "w")))
               ((not #+comp)
                (copy-file file #$output)) <---------- We should call repack instead here for raw tarballs?
               (else
                (repack directory #$output)))))))
--8<---------------cut here---------------end--------------->8---

Maxim, could you please have a look?

Thanks,

Mathieu




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

end of thread, other threads:[~2021-12-19 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-15  8:42 bug#50066: core-update: Raw origin tarballs are not handled correctly Mathieu Othacehe
2021-08-27  4:19 ` Maxim Cournoyer
2021-08-31  3:50   ` Maxim Cournoyer
2021-09-01  7:09     ` Mathieu Othacehe
2021-09-01 12:57       ` Maxim Cournoyer
2021-09-03 13:30       ` Maxim Cournoyer
2021-12-19 16:40         ` Mathieu Othacehe

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).