unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/1] Help wanted fixing a ruby-minitar bug
@ 2017-01-24 19:57 Leo Famulari
  2017-01-24 19:57 ` [PATCH 1/1] gnu: ruby-minitar: Fix an arbitrary file overwrite bug Leo Famulari
  2017-01-24 21:40 ` [PATCH 0/1] Help wanted fixing a ruby-minitar bug Ludovic Courtès
  0 siblings, 2 replies; 8+ messages in thread
From: Leo Famulari @ 2017-01-24 19:57 UTC (permalink / raw)
  To: guix-devel

I tried using this patch to fix a bug in ruby-minitar, but the build
fails as shown below. Any ideas?

$ ./pre-inst-env guix build ruby-minitar
The following derivations will be built:
   /gnu/store/naprvm320mvzlhv4ciax0436qqm3r8zj-ruby-minitar-0.5.4.drv
   /gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv
@ build-started /gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv - x86_64-linux /var/log/guix/drvs/vz//70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv.bz2
data.tar.gz
metadata.gz
source is under 'data.tar.gz'
Backtrace:
In ice-9/boot-9.scm:
 160: 10 [catch #t #<catch-closure 8cac60> ...]
In unknown file:
   ?: 9 [apply-smob/1 #<catch-closure 8cac60>]
In ice-9/boot-9.scm:
  66: 8 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 7 [eval # #]
In ice-9/boot-9.scm:
2404: 6 [save-module-excursion #<procedure 8ea7c0 at ice-9/boot-9.scm:4051:3 ()>]
4056: 5 [#<procedure 8ea7c0 at ice-9/boot-9.scm:4051:3 ()>]
1727: 4 [%start-stack load-stack #<procedure 8fcae0 at ice-9/boot-9.scm:4047:10 ()>]
1732: 3 [#<procedure 8fd6f0 ()>]
In unknown file:
   ?: 2 [primitive-load "/gnu/store/l936dy9y0hz8wxkp4n6y9birnl3fblbb-minitar-0.5.4.tar.xz-builder"]
In ice-9/eval.scm:
 432: 1 [eval # #]
In unknown file:
   ?: 0 [chdir "data.tar.gz"]

ERROR: In procedure chdir:
ERROR: In procedure chdir: Not a directory
builder for `/gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv' failed with exit code 1
@ build-failed /gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv - 1 builder for `/gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv' failed with exit code 1
cannot build derivation `/gnu/store/naprvm320mvzlhv4ciax0436qqm3r8zj-ruby-minitar-0.5.4.drv': 1 dependencies couldn't be built
guix build: error: build failed: build of `/gnu/store/naprvm320mvzlhv4ciax0436qqm3r8zj-ruby-minitar-0.5.4.drv' failed

Leo Famulari (1):
  gnu: ruby-minitar: Fix an arbitrary file overwrite bug.

 gnu/local.mk                                       |   1 +
 .../minitar-fix-arbitrary-file-overwrite.patch     | 253 +++++++++++++++++++++
 gnu/packages/ruby.scm                              |   1 +
 3 files changed, 255 insertions(+)
 create mode 100644 gnu/packages/patches/minitar-fix-arbitrary-file-overwrite.patch

-- 
2.11.0

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

end of thread, other threads:[~2017-01-25 23:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 19:57 [PATCH 0/1] Help wanted fixing a ruby-minitar bug Leo Famulari
2017-01-24 19:57 ` [PATCH 1/1] gnu: ruby-minitar: Fix an arbitrary file overwrite bug Leo Famulari
2017-01-24 21:41   ` Ludovic Courtès
2017-01-24 21:40 ` [PATCH 0/1] Help wanted fixing a ruby-minitar bug Ludovic Courtès
2017-01-24 23:32   ` Ben Woodcroft
2017-01-25 17:42     ` Leo Famulari
2017-01-25 22:30       ` Ben Woodcroft
2017-01-25 23:37         ` Leo Famulari

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