leungbk

sisu

Jan 18th, 2019
56
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;;; https://rubygems.org/gems/sisu
  2.  
  3. ;;;;
  4. DEPENDENCIES
  5. ------------
  6.  
  7. Here is a list of sisu' s current dependencies [...]
  8.  
  9. Package: sisu
  10. Depends: ruby | ruby-interpreter, openssl, rsync, unzip, zip
  11. Recommends: sisu-pdf, sisu-sqlite, [...]
  12. ;;;;
  13.  
  14. ;; in ruby.scm
  15.  
  16. (define-public ruby-sisu
  17. (package
  18. (name "ruby-sisu")
  19. (version "7.1.11")
  20. (source (origin
  21. (method url-fetch)
  22. (uri (rubygems-uri "sisu" version))
  23. (sha256
  24. (base32
  25. "069n5g9d7c4bym3p1za3q5al9nxnrddrnfip74lvjxwv4idbx1yx"))))
  26. (build-system ruby-build-system)
  27. (arguments '(#:tests? #f
  28. #:phases
  29. (modify-phases %standard-phases
  30. (add-after 'build 'purify
  31. (lambda _
  32. (invoke "gem" "pristine" "sisu")))
  33. )))
  34. ;; (native-inputs
  35. ;; `(("bundler" ,bundler)
  36. ;; ("rsync" ,rsync)
  37. ;; ("zip" ,zip)
  38. ;; ("unzip" ,unzip)))
  39. (synopsis
  40. "documents - structuring, publishing in multiple formats")
  41. (description
  42. "documents - structuring, publishing in multiple formats")
  43. (home-page "http://www.sisudoc.org")
  44. (license license:gpl3+)))
  45.  
  46.  
  47. ;;;;;;;;;;; bin/sisu is pointed out to be a symlink, so I'm trying to invoke "gem pristine sisu", but the gem doesn't seem to be there.
  48.  
  49. starting phase `set-SOURCE-DATE-EPOCH'
  50. phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
  51. starting phase `set-paths'
  52. environment variable `PATH' set to `/gnu/store/r9icr5yga7r47jdpvzrj5lbmqsw5s9b8-ruby-2.4.3/bin:/gnu/store/bl3pxxj6frg0dww8pj5dvh2d1akwvj47-tar-1.30/bin:/gnu/store/h0c398zan9ibhk4w0c944vp5pwgzkfpd-gzip-1.9/bin:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/bin:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/bin:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/bin:/gnu/store/4bzzz0lzjc9b7bfsnqbq2j22d4fvf433-diffutils-3.6/bin:/gnu/store/a4rxl40jr7gmq8bp3dryq4yq67cwkwiw-patch-2.7.6/bin:/gnu/store/fd621k6fmdnr1yiw0lbvw5spqaa169j3-findutils-4.6.0/bin:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/bin:/gnu/store/lmfddplnplxd03bcqv3w9pynbnr1fp8k-sed-4.5/bin:/gnu/store/02k245xy33cvcnr8vm3lagm9zmb1s2wa-grep-3.1/bin:/gnu/store/5s2nib1lrd2101bbrivcl17kjx1mspw6-coreutils-8.30/bin:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/bin:/gnu/store/q19l04vd2za80mk1845pz7r8cz29qk43-bash-minimal-4.4.23/bin:/gnu/store/9ysmg2739n1ms84lx6hifncgc5l2hiy9-ld-wrapper-0/bin:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/bin:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/bin:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/bin:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/sbin'
  53. environment variable `GEM_PATH' set to `/gnu/store/r9icr5yga7r47jdpvzrj5lbmqsw5s9b8-ruby-2.4.3/lib/ruby/vendor_ruby'
  54. environment variable `BASH_LOADABLES_PATH' unset
  55. environment variable `C_INCLUDE_PATH' set to `/gnu/store/r9icr5yga7r47jdpvzrj5lbmqsw5s9b8-ruby-2.4.3/include:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/include:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/include:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/include:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/include:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/include:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/include:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include:/gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67/include'
  56. environment variable `CPLUS_INCLUDE_PATH' set to `/gnu/store/r9icr5yga7r47jdpvzrj5lbmqsw5s9b8-ruby-2.4.3/include:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/include:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/include:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/include:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/include:/gnu/store/7j3941iannrngdvgbclyxid12vds5w9i-make-4.2.1/include:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/include:/gnu/store/n2p1zs14y89lwkg9da68y12pc10c6sw9-gcc-5.5.0/include:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/include:/gnu/store/xha1mk4qji8fmg62nygfzdx0l94ikdhm-linux-libre-headers-4.14.67/include'
  57. environment variable `LIBRARY_PATH' set to `/gnu/store/r9icr5yga7r47jdpvzrj5lbmqsw5s9b8-ruby-2.4.3/lib:/gnu/store/j74aabxwayjl9yfyrm6ni482gykxq48b-bzip2-1.0.6/lib:/gnu/store/9425b5dwpfc04bb4p58hsjypxghliyr3-xz-5.2.4/lib:/gnu/store/ypiyk8ngn79cz655jrl0hng37xv54yjr-file-5.33/lib:/gnu/store/l67sib1ld0fgyf0f4vrzyxnmn4yvimvb-gawk-4.2.1/lib:/gnu/store/02iklp4swqs0ipxhg5x9b2shmj6b30h1-binutils-2.31.1/lib:/gnu/store/h90vnqw0nwd0hhm1l5dgxsdrigddfmq4-glibc-2.28/lib:/gnu/store/a3p8zc23w5asxck5h4mswz4s8yl9s6pa-glibc-2.28-static/lib:/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib'
  58. environment variable `GUIX_LOCPATH' set to `/gnu/store/mn3ymm3f2r4xjqf8m9fgmadh6b8p6fvr-glibc-utf8-locales-2.28/lib/locale'
  59. phase `set-paths' succeeded after 0.0 seconds
  60. starting phase `install-locale'
  61. using 'en_US.utf8' locale for category "LC_ALL"
  62. phase `install-locale' succeeded after 0.0 seconds
  63. starting phase `unpack'
  64. Unpacked gem: '/tmp/guix-build-ruby-sisu-7.1.11.drv-0/1503y7z9hm5p96q9i3ph761v066kmw34-sisu-7.1.11'
  65. phase `unpack' succeeded after 0.3 seconds
  66. starting phase `patch-usr-bin-file'
  67. phase `patch-usr-bin-file' succeeded after 0.0 seconds
  68. starting phase `patch-source-shebangs'
  69. patch-shebang: ./bin/sisu: changing `/usr/bin/env ruby' to `/gnu/store/r9icr5yga7r47jdpvzrj5lbmqsw5s9b8-ruby-2.4.3/bin/ruby'
  70. phase `patch-source-shebangs' succeeded after 0.0 seconds
  71. starting phase `patch-generated-file-shebangs'
  72. phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
  73. starting phase `extract-gemspec'
  74. phase `extract-gemspec' succeeded after 0.2 seconds
  75. starting phase `replace-git-ls-files'
  76. phase `replace-git-ls-files' succeeded after 0.0 seconds
  77. starting phase `build'
  78. WARNING: license value 'GPL3' is invalid. Use a license identifier from
  79. http://spdx.org/licenses or 'Nonstandard' for a nonstandard license.
  80. Did you mean 'NGPL'?
  81. WARNING: bin/sisugem is a symlink, which is not supported on all platforms
  82. WARNING: See http://guides.rubygems.org/specification-reference/ for help
  83. Successfully built RubyGem
  84. Name: sisu
  85. Version: 7.1.11
  86. File: sisu-7.1.11.gem
  87. phase `build' succeeded after 0.6 seconds
  88. starting phase `purify'
  89. ERROR: While executing gem ... (Gem::Exception)
  90. Failed to find gems ["sisu"] >= 0
  91. Backtrace:
  92. 4 (primitive-load "/gnu/store/4zl46d472nnmi5acrr94w5cgyjd…")
  93. In ice-9/eval.scm:
  94. 191:35 3 (_ _)
  95. In srfi/srfi-1.scm:
  96. 863:16 2 (every1 #<procedure 715640 at /gnu/store/7jd83i4y0hckj…> …)
  97. In /gnu/store/7jd83i4y0hckjblnm97rd4vlb9crhchf-module-import/guix/build/gnu-build-system.scm:
  98. 799:28 1 (_ _)
  99. In /gnu/store/7jd83i4y0hckjblnm97rd4vlb9crhchf-module-import/guix/build/utils.scm:
  100. 616:6 0 (invoke _ . _)
  101.  
  102. /gnu/store/7jd83i4y0hckjblnm97rd4vlb9crhchf-module-import/guix/build/utils.scm:616:6: In procedure invoke:
  103. Throw to key `srfi-34' with args `(#<condition &invoke-error [program: "gem" arguments: ("pristine" "sisu") exit-status: 1 term-signal: #f stop-signal: #f] 491d00>)'.
  104. note: keeping build directory `/tmp/guix-build-ruby-sisu-7.1.11.drv-21'
  105. builder for `/gnu/store/kqxq5d4yxiz2fhrkff1rbhbqkj5a5hyd-ruby-sisu-7.1.11.drv' failed with exit code 1
  106. build of /gnu/store/kqxq5d4yxiz2fhrkff1rbhbqkj5a5hyd-ruby-sisu-7.1.11.drv failed
  107. View build log at '/var/log/guix/drvs/kq/xq5d4yxiz2fhrkff1rbhbqkj5a5hyd-ruby-sisu-7.1.11.drv.bz2'.
  108. guix build: error: build failed: build of `/gnu/store/kqxq5d4yxiz2fhrkff1rbhbqkj5a5hyd-ruby-sisu-7.1.11.drv' failed
RAW Paste Data