2017年3月6日月曜日

try pijul 0.3.0 on centos-release-7-3.1611.el7.centos.x86_64

pijul
https://pijul.org/
pijulをcentos7にインストールする。
pijulとは分散VSCである。
デーモンなどは動作しないプログラム。
ちなみにpijul本来の意味は、日本語では鳥のオオハシカッコウを表す様だ。

pijulに関する日本語の情報は、これを書いている2017/3/5の段階で非常に少ない。
なんらかの事情でgit以外の選択を迫られた場合、今後有効になるかも知れない。
開発中でバージョンは0.3.0となっている。

以下の方法で、インストールはできるが、いまだ開発中なので必ずしもこの通りのエラーに遭遇するとは限らない。
実際この投稿に書きまとめるまでの1週間程度の間で、エラーで止まる箇所が変わった。
能書きはともかく、操作しない事にはpijulの使い勝手がわからないのでインストール方法を記載する。
この通りのエラーともならない場合を想定して、解決策を提示する目的で冗長な説明を含めて書いている。

もし冗長な説明等不要でとにかく今すぐ使いたい場合は末尾にまとめた手順を実行する事でpijulを実行できる。

インストール方法は、pijulのソースを管理している、darcsというツールを使う。
darcsはHaskellを利用している。当然Haskellをインストールして使用する。
pijulのソース取得後、cargoというRustで使われるパッケージビルダーを利用して、pijulをインストールする。
cargoはRust製で、pijulビルドの際に、Rustもインストールする。
pijulそのものが、ssl、sshを利用しているので、この辺りのrpmを必要とする。
(もしgitなどがあってrpmのバージョンを変えたくないといった場合は留意が必要かもしれない。このあたりはどのVSCを使っても発生する留意点であると思う。)

まとめるとおおまかなインストール手順は
darcsのインストール(合わせてHaskellをインストール)
darcsによるpijulソースの取得。
cargoによるビルドインストール(pijulにRustが必要)
となる。

以上の点を踏まえ自己責任でインストールをして、pijulをお試しいただければと思う。

なお、以下手順ではcentos-release-7-3.1611.el7.centos.x86_64のMinimal構成にpijulをインストールした。
様々なrpmパッケージをインストールするので全てrootユーザで作業している。

まずdarcsが必要なのでこれをインストールする。
試しにhttp://darcs.net/Binariesにある、
2.4.4: http://progg.free.fr/darcs/darcs-2.4.4-ghc6.12.1-http-static.bin.bz2を実行すると以下の様になる。
# ./darcs-2.4.4-ghc6.12.1-http-static.bin
darcs-2.4.4-ghc6.12.1-http-static.bin: mkTextEncoding: invalid argument (Invalid argument)
適切な解決方法がわからないので、yumでインストールしてしまう。
epelにあるので、まずはレポジトリを追加。
以下は初回なので、GPGの追加も合わせて実行されている。
# yum install epel-release
Loaded plugins: fastestmirror
extras                                                                                                         | 3.4 kB  00:00:00     
updates                                                                                                        | 3.4 kB  00:00:00     
(1/2): extras/7/x86_64/primary_db                                                                              | 122 kB  00:00:00     
(2/2): updates/7/x86_64/primary_db                                                                             | 2.9 MB  00:00:01     
Loading mirror speeds from cached hostfile
 * base: www.ftp.ne.jp
 * extras: download.nus.edu.sg
 * updates: download.nus.edu.sg
Resolving Dependencies
--> Running transaction check
---> Package epel-release.noarch 0:7-9 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                              Arch                           Version                     Repository                      Size
======================================================================================================================================
Installing:
 epel-release                         noarch                         7-9                         extras                          14 k

Transaction Summary
======================================================================================================================================
Install  1 Package

Total download size: 14 k
Installed size: 24 k
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/extras/packages/epel-release-7-9.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEYA 
Public key for epel-release-7-9.noarch.rpm is not installed
epel-release-7-9.noarch.rpm                                                                                    |  14 kB  00:00:01     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Importing GPG key 0xF4A80EB5:
 Userid     : "CentOS-7 Key (CentOS 7 Official Signing Key) "
 Fingerprint: 6341 ab27 53d7 8a78 a7c2 7bb1 24c6 a8a7 f4a8 0eb5
 Package    : centos-release-7-3.1611.el7.centos.x86_64 (@anaconda)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : epel-release-7-9.noarch                                                                                            1/1 
  Verifying  : epel-release-7-9.noarch                                                                                            1/1 

Installed:
  epel-release.noarch 0:7-9                                                                                                           

Complete!
次にdarcsのインストール。
この際合わせて、haskellもインストールされる。 以下は初回なので、epelのGPGの追加も実行している。
# yum install darcs
Loaded plugins: fastestmirror
epel/x86_64/metalink                                                                                           | 5.5 kB  00:00:00     
epel                                                                                                           | 4.3 kB  00:00:00     
(1/3): epel/x86_64/group_gz                                                                                    | 170 kB  00:00:00     
(2/3): epel/x86_64/updateinfo                                                                                  | 745 kB  00:00:00     
(3/3): epel/x86_64/primary_db                                                                                  | 4.5 MB  00:00:03     
Loading mirror speeds from cached hostfile
 * base: www.ftp.ne.jp
 * epel: ftp.cuhk.edu.hk
 * extras: download.nus.edu.sg
 * updates: download.nus.edu.sg
Resolving Dependencies
--> Running transaction check
---> Package darcs.x86_64 0:2.8.4-4.el7 will be installed
--> Processing Dependency: ghc(zlib-0.5.4.1-13ba81ac0d7e6f3bdf1ee5ddce4e9aab) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(vector-0.10.0.1-869166d5d49db46ce6c328ea5f8defbf) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(utf8-string-0.3.7-26a8ed8ca48fe809983bde6faca943a9) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(unix-2.6.0.1-4f219f792083f70ec440ce406f12ce57) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(transformers-0.3.0.0-ff2bb6ac67241ebb987351a3db564af0) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(time-1.4.0.1-10dc4804a19dc0000fab79908f1a9f50) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(text-0.11.3.1-e38859e86485c167fa7c9441789e7607) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(terminfo-0.3.2.5-c4d61afa49f870e2fe81788680aa7d36) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(tar-0.4.0.1-907344c1240424224fde7bef0cb096e8) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(regex-posix-0.95.2-a7e936989950443fee47233b57a6ae5f) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(regex-compat-0.95.1-121c7124a3abcea107e3885c2f37e0cf) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(regex-base-0.93.2-f9403610b59f8cc474edd63a82806d18) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(random-1.0.1.1-43fdc5da991685d8a0ec8cb553880cf8) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(process-1.1.0.2-76e05340eb66705981411022731ca84a) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(primitive-0.5.0.1-8e5f40b409f7bb31ae1acfb125279700) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(parsec-3.1.3-6c6e21cb4ed4ef9d58fdf442940b152e) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(old-time-1.1.0.1-2f8ea093d0c7014780a8a5772f948883) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(old-locale-1.0.0.5-6729cb9d9cc62d150655de8fc5401b91) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(mmap-0.5.8-867b6ad07eb48ef9e7b327f980535c80) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(integer-gmp-0.5.0.0-2f15426f5b53fe4c6490832f9b20d8d7) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(html-1.0.1.2-50c4f9abf87a047261ace92afd5d4c6d) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(haskeline-0.7.0.3-605bae79a8f13adb80fd401c73428585) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(hashed-storage-0.5.10-cd7e61fb2c15c5cfcf9b7ea2632c1f8b) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(ghc-prim-0.3.0.0-d5221a8c8a269b66ab9a07bdc23317dd) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(filepath-1.3.0.1-b12cbe18566fe1532a1fda4c85e31cbe) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(extensible-exceptions-0.1.1.4-255a395b3b026cb94b23754e1c372785) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(directory-1.2.0.1-91a788fd88acd7f149f0f10f5f1e23f2) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(deepseq-1.3.0.1-5cc4cd89bdc2e8f6db1833d95ec36926) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(dataenc-0.14.0.5-53e97aa81238832bc61a10c7ff992b10) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(containers-0.5.0.0-ab1dae9a94cd3cc84e7b2805636ebfa2) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(bytestring-0.10.0.2-4f93248f75667c2c3321a7a6761b576f) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(binary-0.5.1.1-72ed744c57c32286a49da6dda4f660b7) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: ghc(array-0.4.0.1-3b78425c10ff2dad7acf7e8c8ae014c3) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSzlib-0.5.4.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSvector-0.10.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSutf8-string-0.3.7-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSunix-2.6.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHStransformers-0.3.0.0-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHStime-1.4.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHStext-0.11.3.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSterminfo-0.3.2.5-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHStar-0.4.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSrts_thr-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSregex-posix-0.95.2-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSregex-compat-0.95.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSregex-base-0.93.2-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSrandom-1.0.1.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSprocess-1.1.0.2-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSprimitive-0.5.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSparsec-3.1.3-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSold-time-1.1.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSold-locale-1.0.0.5-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSmtl-2.1.2-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSmmap-0.5.8-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSinteger-gmp-0.5.0.0-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHShtml-1.0.1.2-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHShaskeline-0.7.0.3-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHShashed-storage-0.5.10-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSghc-prim-0.3.0.0-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSfilepath-1.3.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSextensible-exceptions-0.1.1.4-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSdirectory-1.2.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSdeepseq-1.3.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSdataenc-0.14.0.5-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHScontainers-0.5.0.0-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSbytestring-0.10.0.2-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSbinary-0.5.1.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSbase-4.6.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Processing Dependency: libHSarray-0.4.0.1-ghc7.6.3.so()(64bit) for package: darcs-2.8.4-4.el7.x86_64
--> Running transaction check
---> Package ghc-array.x86_64 0:0.4.0.1-26.4.el7 will be installed
---> Package ghc-base.x86_64 0:4.6.0.1-26.4.el7 will be installed
---> Package ghc-binary.x86_64 0:0.5.1.1-26.4.el7 will be installed
---> Package ghc-bytestring.x86_64 0:0.10.0.2-26.4.el7 will be installed
---> Package ghc-containers.x86_64 0:0.5.0.0-26.4.el7 will be installed
---> Package ghc-dataenc.x86_64 0:0.14.0.5-3.el7 will be installed
---> Package ghc-deepseq.x86_64 0:1.3.0.1-26.4.el7 will be installed
---> Package ghc-directory.x86_64 0:1.2.0.1-26.4.el7 will be installed
---> Package ghc-extensible-exceptions.x86_64 0:0.1.1.4-13.el7 will be installed
---> Package ghc-filepath.x86_64 0:1.3.0.1-26.4.el7 will be installed
---> Package ghc-hashed-storage.x86_64 0:0.5.10-7.el7 will be installed
---> Package ghc-haskeline.x86_64 0:0.7.0.3-3.el7 will be installed
---> Package ghc-html.x86_64 0:1.0.1.2-29.el7 will be installed
---> Package ghc-mmap.x86_64 0:0.5.8-4.el7 will be installed
---> Package ghc-mtl.x86_64 0:2.1.2-27.el7 will be installed
---> Package ghc-old-locale.x86_64 0:1.0.0.5-26.4.el7 will be installed
---> Package ghc-old-time.x86_64 0:1.1.0.1-26.4.el7 will be installed
---> Package ghc-parsec.x86_64 0:3.1.3-31.el7 will be installed
---> Package ghc-primitive.x86_64 0:0.5.0.1-4.el7 will be installed
---> Package ghc-process.x86_64 0:1.1.0.2-26.4.el7 will be installed
---> Package ghc-random.x86_64 0:1.0.1.1-27.el7 will be installed
---> Package ghc-regex-base.x86_64 0:0.93.2-29.el7 will be installed
---> Package ghc-regex-compat.x86_64 0:0.95.1-35.el7 will be installed
---> Package ghc-regex-posix.x86_64 0:0.95.2-30.el7 will be installed
---> Package ghc-tar.x86_64 0:0.4.0.1-4.el7 will be installed
---> Package ghc-terminfo.x86_64 0:0.3.2.5-4.el7 will be installed
---> Package ghc-text.x86_64 0:0.11.3.1-2.el7 will be installed
---> Package ghc-time.x86_64 0:1.4.0.1-26.4.el7 will be installed
---> Package ghc-transformers.x86_64 0:0.3.0.0-34.el7 will be installed
---> Package ghc-unix.x86_64 0:2.6.0.1-26.4.el7 will be installed
---> Package ghc-utf8-string.x86_64 0:0.3.7-8.el7 will be installed
---> Package ghc-vector.x86_64 0:0.10.0.1-7.el7 will be installed
---> Package ghc-zlib.x86_64 0:0.5.4.1-27.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                                    Arch                    Version                               Repository             Size
======================================================================================================================================
Installing:
 darcs                                      x86_64                  2.8.4-4.el7                           epel                  1.1 M
Installing for dependencies:
 ghc-array                                  x86_64                  0.4.0.1-26.4.el7                      epel                  113 k
 ghc-base                                   x86_64                  4.6.0.1-26.4.el7                      epel                  1.6 M
 ghc-binary                                 x86_64                  0.5.1.1-26.4.el7                      epel                   94 k
 ghc-bytestring                             x86_64                  0.10.0.2-26.4.el7                     epel                  182 k
 ghc-containers                             x86_64                  0.5.0.0-26.4.el7                      epel                  287 k
 ghc-dataenc                                x86_64                  0.14.0.5-3.el7                        epel                   54 k
 ghc-deepseq                                x86_64                  1.3.0.1-26.4.el7                      epel                   45 k
 ghc-directory                              x86_64                  1.2.0.1-26.4.el7                      epel                   59 k
 ghc-extensible-exceptions                  x86_64                  0.1.1.4-13.el7                        epel                  7.5 k
 ghc-filepath                               x86_64                  1.3.0.1-26.4.el7                      epel                   60 k
 ghc-hashed-storage                         x86_64                  0.5.10-7.el7                          epel                  124 k
 ghc-haskeline                              x86_64                  0.7.0.3-3.el7                         epel                  231 k
 ghc-html                                   x86_64                  1.0.1.2-29.el7                        epel                   57 k
 ghc-mmap                                   x86_64                  0.5.8-4.el7                           epel                   24 k
 ghc-mtl                                    x86_64                  2.1.2-27.el7                          epel                   33 k
 ghc-old-locale                             x86_64                  1.0.0.5-26.4.el7                      epel                   50 k
 ghc-old-time                               x86_64                  1.1.0.1-26.4.el7                      epel                   88 k
 ghc-parsec                                 x86_64                  3.1.3-31.el7                          epel                  105 k
 ghc-primitive                              x86_64                  0.5.0.1-4.el7                         epel                   36 k
 ghc-process                                x86_64                  1.1.0.2-26.4.el7                      epel                   61 k
 ghc-random                                 x86_64                  1.0.1.1-27.el7                        epel                   64 k
 ghc-regex-base                             x86_64                  0.93.2-29.el7                         epel                   28 k
 ghc-regex-compat                           x86_64                  0.95.1-35.el7                         epel                   15 k
 ghc-regex-posix                            x86_64                  0.95.2-30.el7                         epel                   47 k
 ghc-tar                                    x86_64                  0.4.0.1-4.el7                         epel                   47 k
 ghc-terminfo                               x86_64                  0.3.2.5-4.el7                         epel                   41 k
 ghc-text                                   x86_64                  0.11.3.1-2.el7                        epel                  379 k
 ghc-time                                   x86_64                  1.4.0.1-26.4.el7                      epel                  187 k
 ghc-transformers                           x86_64                  0.3.0.0-34.el7                        epel                  100 k
 ghc-unix                                   x86_64                  2.6.0.1-26.4.el7                      epel                  160 k
 ghc-utf8-string                            x86_64                  0.3.7-8.el7                           epel                   43 k
 ghc-vector                                 x86_64                  0.10.0.1-7.el7                        epel                  402 k
 ghc-zlib                                   x86_64                  0.5.4.1-27.el7                        epel                   36 k

Transaction Summary
======================================================================================================================================
Install  1 Package (+33 Dependent packages)

Total download size: 5.9 M
Installed size: 34 M
Is this ok [y/d/N]: y
Downloading packages:
warning: /var/cache/yum/x86_64/7/epel/packages/ghc-bytestring-0.10.0.2-26.4.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Public key for ghc-bytestring-0.10.0.2-26.4.el7.x86_64.rpm is not installed
(1/34): ghc-bytestring-0.10.0.2-26.4.el7.x86_64.rpm                                                            | 182 kB  00:00:00     
(2/34): ghc-array-0.4.0.1-26.4.el7.x86_64.rpm                                                                  | 113 kB  00:00:01     
(3/34): ghc-binary-0.5.1.1-26.4.el7.x86_64.rpm                                                                 |  94 kB  00:00:01     
(4/34): ghc-deepseq-1.3.0.1-26.4.el7.x86_64.rpm                                                                |  45 kB  00:00:00     
(5/34): ghc-dataenc-0.14.0.5-3.el7.x86_64.rpm                                                                  |  54 kB  00:00:00     
(6/34): ghc-directory-1.2.0.1-26.4.el7.x86_64.rpm                                                              |  59 kB  00:00:00     
(7/34): ghc-extensible-exceptions-0.1.1.4-13.el7.x86_64.rpm                                                    | 7.5 kB  00:00:00     
(8/34): ghc-filepath-1.3.0.1-26.4.el7.x86_64.rpm                                                               |  60 kB  00:00:00     
(9/34): ghc-containers-0.5.0.0-26.4.el7.x86_64.rpm                                                             | 287 kB  00:00:00     
(10/34): ghc-hashed-storage-0.5.10-7.el7.x86_64.rpm                                                            | 124 kB  00:00:00     
(11/34): ghc-haskeline-0.7.0.3-3.el7.x86_64.rpm                                                                | 231 kB  00:00:00     
(12/34): ghc-mmap-0.5.8-4.el7.x86_64.rpm                                                                       |  24 kB  00:00:00     
(13/34): ghc-base-4.6.0.1-26.4.el7.x86_64.rpm                                                                  | 1.6 MB  00:00:02     
(14/34): darcs-2.8.4-4.el7.x86_64.rpm                                                                          | 1.1 MB  00:00:02     
(15/34): ghc-old-locale-1.0.0.5-26.4.el7.x86_64.rpm                                                            |  50 kB  00:00:00     
(16/34): ghc-mtl-2.1.2-27.el7.x86_64.rpm                                                                       |  33 kB  00:00:00     
(17/34): ghc-parsec-3.1.3-31.el7.x86_64.rpm                                                                    | 105 kB  00:00:00     
(18/34): ghc-old-time-1.1.0.1-26.4.el7.x86_64.rpm                                                              |  88 kB  00:00:00     
(19/34): ghc-primitive-0.5.0.1-4.el7.x86_64.rpm                                                                |  36 kB  00:00:00     
(20/34): ghc-html-1.0.1.2-29.el7.x86_64.rpm                                                                    |  57 kB  00:00:00     
(21/34): ghc-process-1.1.0.2-26.4.el7.x86_64.rpm                                                               |  61 kB  00:00:00     
(22/34): ghc-random-1.0.1.1-27.el7.x86_64.rpm                                                                  |  64 kB  00:00:00     
(23/34): ghc-regex-base-0.93.2-29.el7.x86_64.rpm                                                               |  28 kB  00:00:00     
(24/34): ghc-regex-compat-0.95.1-35.el7.x86_64.rpm                                                             |  15 kB  00:00:00     
(25/34): ghc-tar-0.4.0.1-4.el7.x86_64.rpm                                                                      |  47 kB  00:00:00     
(26/34): ghc-terminfo-0.3.2.5-4.el7.x86_64.rpm                                                                 |  41 kB  00:00:00     
(27/34): ghc-unix-2.6.0.1-26.4.el7.x86_64.rpm                                                                  | 160 kB  00:00:00     
(28/34): ghc-transformers-0.3.0.0-34.el7.x86_64.rpm                                                            | 100 kB  00:00:00     
(29/34): ghc-text-0.11.3.1-2.el7.x86_64.rpm                                                                    | 379 kB  00:00:00     
(30/34): ghc-regex-posix-0.95.2-30.el7.x86_64.rpm                                                              |  47 kB  00:00:00     
(31/34): ghc-utf8-string-0.3.7-8.el7.x86_64.rpm                                                                |  43 kB  00:00:00     
(32/34): ghc-time-1.4.0.1-26.4.el7.x86_64.rpm                                                                  | 187 kB  00:00:00     
(33/34): ghc-zlib-0.5.4.1-27.el7.x86_64.rpm                                                                    |  36 kB  00:00:00     
(34/34): ghc-vector-0.10.0.1-7.el7.x86_64.rpm                                                                  | 402 kB  00:00:00     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 1.8 MB/s | 5.9 MB  00:00:03     
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Importing GPG key 0x352C64E5:
 Userid     : "Fedora EPEL (7) "
 Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5
 Package    : epel-release-7-9.noarch (@extras)
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
Is this ok [y/N]: y
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ghc-base-4.6.0.1-26.4.el7.x86_64                                                                                  1/34 
  Installing : ghc-array-0.4.0.1-26.4.el7.x86_64                                                                                 2/34 
  Installing : ghc-deepseq-1.3.0.1-26.4.el7.x86_64                                                                               3/34 
  Installing : ghc-bytestring-0.10.0.2-26.4.el7.x86_64                                                                           4/34 
  Installing : ghc-old-locale-1.0.0.5-26.4.el7.x86_64                                                                            5/34 
  Installing : ghc-time-1.4.0.1-26.4.el7.x86_64                                                                                  6/34 
  Installing : ghc-containers-0.5.0.0-26.4.el7.x86_64                                                                            7/34 
  Installing : ghc-transformers-0.3.0.0-34.el7.x86_64                                                                            8/34 
  Installing : ghc-mtl-2.1.2-27.el7.x86_64                                                                                       9/34 
  Installing : ghc-unix-2.6.0.1-26.4.el7.x86_64                                                                                 10/34 
  Installing : ghc-filepath-1.3.0.1-26.4.el7.x86_64                                                                             11/34 
  Installing : ghc-directory-1.2.0.1-26.4.el7.x86_64                                                                            12/34 
  Installing : ghc-regex-base-0.93.2-29.el7.x86_64                                                                              13/34 
  Installing : ghc-regex-posix-0.95.2-30.el7.x86_64                                                                             14/34 
  Installing : ghc-dataenc-0.14.0.5-3.el7.x86_64                                                                                15/34 
  Installing : ghc-binary-0.5.1.1-26.4.el7.x86_64                                                                               16/34 
  Installing : ghc-old-time-1.1.0.1-26.4.el7.x86_64                                                                             17/34 
  Installing : ghc-zlib-0.5.4.1-27.el7.x86_64                                                                                   18/34 
  Installing : ghc-text-0.11.3.1-2.el7.x86_64                                                                                   19/34 
  Installing : ghc-mmap-0.5.8-4.el7.x86_64                                                                                      20/34 
  Installing : ghc-terminfo-0.3.2.5-4.el7.x86_64                                                                                21/34 
  Installing : ghc-primitive-0.5.0.1-4.el7.x86_64                                                                               22/34 
  Installing : ghc-extensible-exceptions-0.1.1.4-13.el7.x86_64                                                                  23/34 
  Installing : ghc-hashed-storage-0.5.10-7.el7.x86_64                                                                           24/34 
  Installing : ghc-vector-0.10.0.1-7.el7.x86_64                                                                                 25/34 
  Installing : ghc-haskeline-0.7.0.3-3.el7.x86_64                                                                               26/34 
  Installing : ghc-parsec-3.1.3-31.el7.x86_64                                                                                   27/34 
  Installing : ghc-tar-0.4.0.1-4.el7.x86_64                                                                                     28/34 
  Installing : ghc-regex-compat-0.95.1-35.el7.x86_64                                                                            29/34 
  Installing : ghc-process-1.1.0.2-26.4.el7.x86_64                                                                              30/34 
  Installing : ghc-random-1.0.1.1-27.el7.x86_64                                                                                 31/34 
  Installing : ghc-utf8-string-0.3.7-8.el7.x86_64                                                                               32/34 
  Installing : ghc-html-1.0.1.2-29.el7.x86_64                                                                                   33/34 
  Installing : darcs-2.8.4-4.el7.x86_64                                                                                         34/34 
  Verifying  : ghc-dataenc-0.14.0.5-3.el7.x86_64                                                                                 1/34 
  Verifying  : ghc-terminfo-0.3.2.5-4.el7.x86_64                                                                                 2/34 
  Verifying  : ghc-primitive-0.5.0.1-4.el7.x86_64                                                                                3/34 
  Verifying  : ghc-zlib-0.5.4.1-27.el7.x86_64                                                                                    4/34 
  Verifying  : ghc-vector-0.10.0.1-7.el7.x86_64                                                                                  5/34 
  Verifying  : ghc-parsec-3.1.3-31.el7.x86_64                                                                                    6/34 
  Verifying  : ghc-regex-base-0.93.2-29.el7.x86_64                                                                               7/34 
  Verifying  : ghc-binary-0.5.1.1-26.4.el7.x86_64                                                                                8/34 
  Verifying  : ghc-transformers-0.3.0.0-34.el7.x86_64                                                                            9/34 
  Verifying  : ghc-array-0.4.0.1-26.4.el7.x86_64                                                                                10/34 
  Verifying  : ghc-bytestring-0.10.0.2-26.4.el7.x86_64                                                                          11/34 
  Verifying  : ghc-haskeline-0.7.0.3-3.el7.x86_64                                                                               12/34 
  Verifying  : ghc-regex-compat-0.95.1-35.el7.x86_64                                                                            13/34 
  Verifying  : ghc-base-4.6.0.1-26.4.el7.x86_64                                                                                 14/34 
  Verifying  : ghc-html-1.0.1.2-29.el7.x86_64                                                                                   15/34 
  Verifying  : ghc-time-1.4.0.1-26.4.el7.x86_64                                                                                 16/34 
  Verifying  : ghc-filepath-1.3.0.1-26.4.el7.x86_64                                                                             17/34 
  Verifying  : ghc-hashed-storage-0.5.10-7.el7.x86_64                                                                           18/34 
  Verifying  : ghc-extensible-exceptions-0.1.1.4-13.el7.x86_64                                                                  19/34 
  Verifying  : ghc-old-locale-1.0.0.5-26.4.el7.x86_64                                                                           20/34 
  Verifying  : ghc-mtl-2.1.2-27.el7.x86_64                                                                                      21/34 
  Verifying  : ghc-text-0.11.3.1-2.el7.x86_64                                                                                   22/34 
  Verifying  : ghc-process-1.1.0.2-26.4.el7.x86_64                                                                              23/34 
  Verifying  : ghc-random-1.0.1.1-27.el7.x86_64                                                                                 24/34 
  Verifying  : ghc-deepseq-1.3.0.1-26.4.el7.x86_64                                                                              25/34 
  Verifying  : ghc-mmap-0.5.8-4.el7.x86_64                                                                                      26/34 
  Verifying  : darcs-2.8.4-4.el7.x86_64                                                                                         27/34 
  Verifying  : ghc-unix-2.6.0.1-26.4.el7.x86_64                                                                                 28/34 
  Verifying  : ghc-old-time-1.1.0.1-26.4.el7.x86_64                                                                             29/34 
  Verifying  : ghc-regex-posix-0.95.2-30.el7.x86_64                                                                             30/34 
  Verifying  : ghc-directory-1.2.0.1-26.4.el7.x86_64                                                                            31/34 
  Verifying  : ghc-containers-0.5.0.0-26.4.el7.x86_64                                                                           32/34 
  Verifying  : ghc-utf8-string-0.3.7-8.el7.x86_64                                                                               33/34 
  Verifying  : ghc-tar-0.4.0.1-4.el7.x86_64                                                                                     34/34 

Installed:
  darcs.x86_64 0:2.8.4-4.el7                                                                                                          

Dependency Installed:
  ghc-array.x86_64 0:0.4.0.1-26.4.el7                                   ghc-base.x86_64 0:4.6.0.1-26.4.el7                           
  ghc-binary.x86_64 0:0.5.1.1-26.4.el7                                  ghc-bytestring.x86_64 0:0.10.0.2-26.4.el7                    
  ghc-containers.x86_64 0:0.5.0.0-26.4.el7                              ghc-dataenc.x86_64 0:0.14.0.5-3.el7                          
  ghc-deepseq.x86_64 0:1.3.0.1-26.4.el7                                 ghc-directory.x86_64 0:1.2.0.1-26.4.el7                      
  ghc-extensible-exceptions.x86_64 0:0.1.1.4-13.el7                     ghc-filepath.x86_64 0:1.3.0.1-26.4.el7                       
  ghc-hashed-storage.x86_64 0:0.5.10-7.el7                              ghc-haskeline.x86_64 0:0.7.0.3-3.el7                         
  ghc-html.x86_64 0:1.0.1.2-29.el7                                      ghc-mmap.x86_64 0:0.5.8-4.el7                                
  ghc-mtl.x86_64 0:2.1.2-27.el7                                         ghc-old-locale.x86_64 0:1.0.0.5-26.4.el7                     
  ghc-old-time.x86_64 0:1.1.0.1-26.4.el7                                ghc-parsec.x86_64 0:3.1.3-31.el7                             
  ghc-primitive.x86_64 0:0.5.0.1-4.el7                                  ghc-process.x86_64 0:1.1.0.2-26.4.el7                        
  ghc-random.x86_64 0:1.0.1.1-27.el7                                    ghc-regex-base.x86_64 0:0.93.2-29.el7                        
  ghc-regex-compat.x86_64 0:0.95.1-35.el7                               ghc-regex-posix.x86_64 0:0.95.2-30.el7                       
  ghc-tar.x86_64 0:0.4.0.1-4.el7                                        ghc-terminfo.x86_64 0:0.3.2.5-4.el7                          
  ghc-text.x86_64 0:0.11.3.1-2.el7                                      ghc-time.x86_64 0:1.4.0.1-26.4.el7                           
  ghc-transformers.x86_64 0:0.3.0.0-34.el7                              ghc-unix.x86_64 0:2.6.0.1-26.4.el7                           
  ghc-utf8-string.x86_64 0:0.3.7-8.el7                                  ghc-vector.x86_64 0:0.10.0.1-7.el7                           
  ghc-zlib.x86_64 0:0.5.4.1-27.el7                                     

Complete!
2.8系がインストールできている。
# rpm -qa darcs
darcs-2.8.4-4.el7.x86_64
darcsがインストールできれば、一通りのコマンドが実行できる。
pijul自体のインストールはこちらの方法を参考にさせていただいた。
http://keens.github.io/blog/2016/09/29/pijulnoinsuto_ruganan_idotakainodekaisetsusuru/
pijulはカレントディレクトリ配下にインストールされる。
適宜インストール先のディレクトリに移動して実行する。
# darcs get https://pijul.org
Copying patches, to get lazy repository hit ctrl-C...
これで一旦、ソースの取得が出来ている様だ。
なお、以下の様に失敗する場合もある。
単に数分後、再実行して解決した。
# darcs get https://pijul.org
Copying patches, to get lazy repository hit ctrl-C...      
                                   
darcs failed:  Couldn't fetch `0000000239-f6272e5f9c3752718bae62eb05911d2dcf50f53756b5ea8003ae27d9b05d82d7'
in subdir patches from sources:

thisrepo:/root/pijul.org
cache:/root/.darcs/cache
repo:https://pijul.org


HINT: I could not reach the following repository:
        https://pijul.org
      If you're not using it, you should probably delete
      the corresponding entry from _darcs/prefs/sources.
続いてlibpijul以下にソースを取得する。
# cd pijul.org/pijul
# cp -R ../libpijul src
# cd src/libpijul/src
# darcs get https://pijul.org/sanakirja
WARNING: creating a nested repository.
Copying patches, to get lazy repository hit ctrl-C...
Finished getting.
WARNINGとなっているが問題なさそう。 とりあえず、ディレクトリ構成を把握する。
# cd ../../../
# pwd
/root/pijul.org/pijul
途中でcargoが必要になる。
cargoとはRustのビルドシステム兼パッケージマネージャらしい。
tarをダウンロードして展開して利用する。
/usr/local/src以下に配置した。
# cd /usr/local/src/
# curl -OL "https://static.rust-lang.org/cargo-dist/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 4427k  100 4427k    0     0   616k      0  0:00:07  0:00:07 --:--:--  857k
# tar zxvf cargo-nightly-x86_64-unknown-linux-gnu.tar.gz 
cargo-nightly-x86_64-unknown-linux-gnu/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/manifest.in
cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo
cargo-nightly-x86_64-unknown-linux-gnu/cargo/lib/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/lib/cargo/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/zsh/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/zsh/site-functions/_cargo
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-package.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-new.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustc.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-version.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-clean.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-pkgid.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-test.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-build.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-search.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-bench.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-yank.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-owner.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-update.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-metadata.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-login.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-publish.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-fetch.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-run.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-init.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-rustdoc.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-uninstall.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-install.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-generate-lockfile.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/man/man1/cargo-doc.1
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/LICENSE-THIRD-PARTY
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/LICENSE-APACHE
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/LICENSE-MIT
cargo-nightly-x86_64-unknown-linux-gnu/cargo/share/doc/cargo/README.md
cargo-nightly-x86_64-unknown-linux-gnu/cargo/etc/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/
cargo-nightly-x86_64-unknown-linux-gnu/cargo/etc/bash_completion.d/cargo
cargo-nightly-x86_64-unknown-linux-gnu/components
cargo-nightly-x86_64-unknown-linux-gnu/rust-installer-version
cargo-nightly-x86_64-unknown-linux-gnu/LICENSE-THIRD-PARTY
cargo-nightly-x86_64-unknown-linux-gnu/LICENSE-APACHE
cargo-nightly-x86_64-unknown-linux-gnu/version
cargo-nightly-x86_64-unknown-linux-gnu/LICENSE-MIT
cargo-nightly-x86_64-unknown-linux-gnu/README.md
cargo-nightly-x86_64-unknown-linux-gnu/install.sh
このtarに含まれている、
cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo
が実体。
これを実行できればいい。
pathも切らずpijiluのディレクトリで実行してしまう。
# cd /root/pijul.org/pijul
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to compile `pijul v0.3.0 (file:///root/pijul.org/pijul)`, intermediate artifacts can be found at `/root/pijul.org/pijul/target`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

To learn more, run the command again with --verbose.
faileとなり停止しているが、状況がわからないので--verboseを付けて実行してみる。
インストールコマンドの後に--verboseとする。
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to compile `pijul v0.3.0 (file:///root/pijul.org/pijul)`, intermediate artifacts can be found at `/root/pijul.org/pijul/target`

Caused by:
  failed to fetch `https://github.com/rust-lang/crates.io-index`

Caused by:
  [16/-17] The SSL certificate is invalid
どうやら、SSL周りの問題のようだ。
cargo certでgoogle検索した結果以下のissuesを見つけ出せた。
https://github.com/rust-lang/cargo/issues/598
これはubuntuでの解決方法らしい。
SSL_CERT_FILEを設定する様
まずcentos7にどの様なcrtファイルがあるか探してみた。
# find / -type f -name *.crt 
/etc/pki/ca-trust/extracted/openssl/ca-bundle.trust.crt
/usr/share/pki/ca-trust-legacy/ca-bundle.legacy.default.crt
/usr/share/pki/ca-trust-legacy/ca-bundle.legacy.disable.crt
/usr/share/pki/ca-trust-source/ca-bundle.neutral-trust.crt
/usr/share/pki/ca-trust-source/ca-bundle.trust.crt
レガシーとあるのは論外として、適当にca-bundle.trust.crt選択した。
正しい選択をした方がいいだろうが、pijulを動作させる事だけを目的としているので、次の様にSSL_CERT_FILEを設定した。
# export SSL_CERT_FILE=/usr/share/pki/ca-trust-source/ca-bundle.trust.crt
再度cargoを実行する。
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install --verbose
    Updating registry `https://github.com/rust-lang/crates.io-index`
error: failed to compile `pijul v0.3.0 (file:///root/pijul.org/pijul)`, intermediate artifacts can be found at `/root/pijul.org/pijul/target`

Caused by:
  could not execute process `rustc -vV` (never executed)

Caused by:
  No such file or directory (os error 2)
今度はrustcが実行できないで停止している。
とりあえずrpmの有無を確認する。
# yum search rust
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp.jaist.ac.jp
 * updates: ftp.jaist.ac.jp
========================================================= N/S matched: rust ==========================================================
ipa-server-trust-ad.x86_64 : Virtual package to install packages required for Active Directory trusts
p11-kit-trust.x86_64 : System trust module from p11-kit
rust.x86_64 : The Rust Programming Language
rust-doc.x86_64 : Documentation for Rust
rust-gdb.noarch : GDB pretty printers for Rust
rust-std-static.x86_64 : Standard library for Rust
trustedqsl.x86_64 : TrustedQSL ham-radio applications
cargo.x86_64 : Rust's package manager and build tool
libtnc.i686 : Library implementation of the Trusted Network Connect (TNC) specification
libtnc.x86_64 : Library implementation of the Trusted Network Connect (TNC) specification
monkeysphere.noarch : Use the OpenPGP web of trust to verify SSH connections
opencryptoki-tpmtok.i686 : Trusted Platform Module (TPM) device support for opencryptoki
opencryptoki-tpmtok.x86_64 : Trusted Platform Module (TPM) device support for opencryptoki
perl-Pod-Coverage-TrustPod.noarch : Allow a module's pod to contain Pod::Coverage hints
python-itsdangerous.noarch : Python library for passing trusted data to untrusted environments
strongimcv.i686 : Trusted Network Connect (TNC) Architecture
strongimcv.x86_64 : Trusted Network Connect (TNC) Architecture
strongswan-tnc-imcvs.x86_64 : Trusted network connect (TNC)'s IMC/IMV functionality
tncfhh.i686 : An open source implementation of the Trusted Network Connect (TNC) framework
tncfhh.x86_64 : An open source implementation of the Trusted Network Connect (TNC) framework
tqsllib.x86_64 : TrustedQSL library
tqsllib-devel.x86_64 : Development files the for TrustedQSL library
uncrustify.x86_64 : Reformat Source

  Name and summary matches only, use "search all" for everything.
rpmの呼称はrustで良い事がわかる。
yum install rustでRustはインストールできるが、glibc、gcc、kernel-headers等もインストールされるので、留意いただきたい。
# yum install rust
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp.jaist.ac.jp
 * updates: ftp.jaist.ac.jp
Resolving Dependencies
--> Running transaction check
---> Package rust.x86_64 0:1.15.1-2.el7 will be installed
--> Processing Dependency: rust-std-static(x86-64) = 1.15.1-2.el7 for package: rust-1.15.1-2.el7.x86_64
--> Processing Dependency: gcc for package: rust-1.15.1-2.el7.x86_64
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-11.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-11.el7 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-11.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-11.el7.x86_64
---> Package rust-std-static.x86_64 0:1.15.1-2.el7 will be installed
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-11.el7 will be installed
---> Package glibc-devel.x86_64 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: glibc-headers = 2.17-157.el7_3.1 for package: glibc-devel-2.17-157.el7_3.1.x86_64
--> Processing Dependency: glibc = 2.17-157.el7_3.1 for package: glibc-devel-2.17-157.el7_3.1.x86_64
--> Processing Dependency: glibc-headers for package: glibc-devel-2.17-157.el7_3.1.x86_64
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
--> Running transaction check
---> Package glibc.x86_64 0:2.17-157.el7 will be updated
--> Processing Dependency: glibc = 2.17-157.el7 for package: glibc-common-2.17-157.el7.x86_64
---> Package glibc.x86_64 0:2.17-157.el7_3.1 will be an update
---> Package glibc-headers.x86_64 0:2.17-157.el7_3.1 will be installed
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers-2.17-157.el7_3.1.x86_64
--> Processing Dependency: kernel-headers for package: glibc-headers-2.17-157.el7_3.1.x86_64
--> Running transaction check
---> Package glibc-common.x86_64 0:2.17-157.el7 will be updated
---> Package glibc-common.x86_64 0:2.17-157.el7_3.1 will be an update
---> Package kernel-headers.x86_64 0:3.10.0-514.10.2.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                            Arch                      Version                                Repository                  Size
======================================================================================================================================
Installing:
 rust                               x86_64                    1.15.1-2.el7                           epel                        29 M
Installing for dependencies:
 cpp                                x86_64                    4.8.5-11.el7                           base                       5.9 M
 gcc                                x86_64                    4.8.5-11.el7                           base                        16 M
 glibc-devel                        x86_64                    2.17-157.el7_3.1                       updates                    1.1 M
 glibc-headers                      x86_64                    2.17-157.el7_3.1                       updates                    668 k
 kernel-headers                     x86_64                    3.10.0-514.10.2.el7                    updates                    4.8 M
 libmpc                             x86_64                    1.0.1-3.el7                            base                        51 k
 mpfr                               x86_64                    3.1.1-4.el7                            base                       203 k
 rust-std-static                    x86_64                    1.15.1-2.el7                           epel                        12 M
Updating for dependencies:
 glibc                              x86_64                    2.17-157.el7_3.1                       updates                    3.6 M
 glibc-common                       x86_64                    2.17-157.el7_3.1                       updates                     11 M

Transaction Summary
======================================================================================================================================
Install  1 Package  (+8 Dependent packages)
Upgrade             ( 2 Dependent packages)

Total download size: 84 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
(1/11): glibc-devel-2.17-157.el7_3.1.x86_64.rpm                                                                | 1.1 MB  00:00:03     
(2/11): glibc-2.17-157.el7_3.1.x86_64.rpm                                                                      | 3.6 MB  00:00:05     
(3/11): cpp-4.8.5-11.el7.x86_64.rpm                                                                            | 5.9 MB  00:00:06     
(4/11): glibc-headers-2.17-157.el7_3.1.x86_64.rpm                                                              | 668 kB  00:00:04     
(5/11): libmpc-1.0.1-3.el7.x86_64.rpm                                                                          |  51 kB  00:00:02     
(6/11): kernel-headers-3.10.0-514.10.2.el7.x86_64.rpm                                                          | 4.8 MB  00:00:04     
(7/11): glibc-common-2.17-157.el7_3.1.x86_64.rpm                                                               |  11 MB  00:00:10     
(8/11): rust-1.15.1-2.el7.x86_64.rpm                                                                           |  29 MB  00:00:12     
(9/11): mpfr-3.1.1-4.el7.x86_64.rpm                                                                            | 203 kB  00:00:12     
(10/11): gcc-4.8.5-11.el7.x86_64.rpm                                                                           |  16 MB  00:00:23     
(11/11): rust-std-static-1.15.1-2.el7.x86_64.rpm                                                               |  12 MB  00:00:16     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 3.3 MB/s |  84 MB  00:00:25     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : glibc-2.17-157.el7_3.1.x86_64                                                                                     1/13 
warning: /etc/nsswitch.conf created as /etc/nsswitch.conf.rpmnew
  Updating   : glibc-common-2.17-157.el7_3.1.x86_64                                                                              2/13 
  Installing : mpfr-3.1.1-4.el7.x86_64                                                                                           3/13 
  Installing : libmpc-1.0.1-3.el7.x86_64                                                                                         4/13 
  Installing : cpp-4.8.5-11.el7.x86_64                                                                                           5/13 
  Installing : kernel-headers-3.10.0-514.10.2.el7.x86_64                                                                         6/13 
  Installing : glibc-headers-2.17-157.el7_3.1.x86_64                                                                             7/13 
  Installing : glibc-devel-2.17-157.el7_3.1.x86_64                                                                               8/13 
  Installing : gcc-4.8.5-11.el7.x86_64                                                                                           9/13 
  Installing : rust-std-static-1.15.1-2.el7.x86_64                                                                              10/13 
  Installing : rust-1.15.1-2.el7.x86_64                                                                                         11/13 
  Cleanup    : glibc-2.17-157.el7.x86_64                                                                                        12/13 
  Cleanup    : glibc-common-2.17-157.el7.x86_64                                                                                 13/13 
  Verifying  : glibc-headers-2.17-157.el7_3.1.x86_64                                                                             1/13 
  Verifying  : libmpc-1.0.1-3.el7.x86_64                                                                                         2/13 
  Verifying  : glibc-common-2.17-157.el7_3.1.x86_64                                                                              3/13 
  Verifying  : glibc-2.17-157.el7_3.1.x86_64                                                                                     4/13 
  Verifying  : rust-std-static-1.15.1-2.el7.x86_64                                                                               5/13 
  Verifying  : mpfr-3.1.1-4.el7.x86_64                                                                                           6/13 
  Verifying  : rust-1.15.1-2.el7.x86_64                                                                                          7/13 
  Verifying  : kernel-headers-3.10.0-514.10.2.el7.x86_64                                                                         8/13 
  Verifying  : cpp-4.8.5-11.el7.x86_64                                                                                           9/13 
  Verifying  : gcc-4.8.5-11.el7.x86_64                                                                                          10/13 
  Verifying  : glibc-devel-2.17-157.el7_3.1.x86_64                                                                              11/13 
  Verifying  : glibc-2.17-157.el7.x86_64                                                                                        12/13 
  Verifying  : glibc-common-2.17-157.el7.x86_64                                                                                 13/13 

Installed:
  rust.x86_64 0:1.15.1-2.el7                                                                                                          

Dependency Installed:
  cpp.x86_64 0:4.8.5-11.el7                  gcc.x86_64 0:4.8.5-11.el7                      glibc-devel.x86_64 0:2.17-157.el7_3.1   
  glibc-headers.x86_64 0:2.17-157.el7_3.1    kernel-headers.x86_64 0:3.10.0-514.10.2.el7    libmpc.x86_64 0:1.0.1-3.el7             
  mpfr.x86_64 0:3.1.1-4.el7                  rust-std-static.x86_64 0:1.15.1-2.el7         

Dependency Updated:
  glibc.x86_64 0:2.17-157.el7_3.1                                glibc-common.x86_64 0:2.17-157.el7_3.1                               

Complete!
Rustがインストールできたので、再度cargoを実行してみる。
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install --verbose
 Downloading env_logger v0.3.3
 Downloading term v0.2.14
 Downloading log v0.3.6
 Downloading clap v2.5.2
 Downloading rust-crypto v0.2.36
 Downloading ssh v0.1.4
 Downloading termios v0.2.2
 Downloading rand v0.3.14
 Downloading regex v0.1.71
 Downloading rustc-serialize v0.3.19
 Downloading serde_json v0.6.1
 Downloading hyper v0.7.2
 Downloading toml v0.1.30
 Downloading time v0.1.35
 Downloading thread_local v0.2.5
 Downloading aho-corasick v0.5.2
 Downloading regex-syntax v0.3.3
 Downloading memchr v0.1.11
 Downloading utf8-ranges v0.1.3
 Downloading thread-id v2.0.0
 Downloading libc v0.2.11
 Downloading kernel32-sys v0.2.2
 Downloading winapi v0.2.7
 Downloading winapi-build v0.1.1
 Downloading ansi_term v0.7.2
 Downloading vec_map v0.6.0
 Downloading strsim v0.4.1
 Downloading unicode-width v0.1.3
 Downloading bitflags v0.5.0
 Downloading gcc v0.3.28
 Downloading bitflags v0.3.3
 Downloading flate2 v0.2.14
 Downloading cbor v0.3.16
 Downloading miniz-sys v0.1.7
 Downloading byteorder v0.3.13
 Downloading fs2 v0.2.4
 Downloading memmap v0.3.0
 Downloading num v0.1.32
 Downloading serde v0.6.15
 Downloading num-integer v0.1.32
 Downloading num-complex v0.1.32
 Downloading num-traits v0.1.32
 Downloading num-iter v0.1.32
 Downloading num-bigint v0.1.32
 Downloading num-rational v0.1.32
 Downloading num_cpus v0.2.12
 Downloading openssl v0.7.13
 Downloading typeable v0.1.2
 Downloading mime v0.1.3
 Downloading cookie v0.2.4
 Downloading unicase v1.4.0
 Downloading solicit v0.4.4
 Downloading url v0.5.9
warning: TOML file found which contains invalid syntax and will soon not parse
at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`.

The TOML spec requires newlines after table definitions (e.g. `[a] b = 1` is
invalid), but this file has a table header which does not have a newline after
it. A newline needs to be added and this warning will soon become a hard error
in the future.
 Downloading traitobject v0.0.1
 Downloading language-tags v0.2.2
 Downloading httparse v1.1.2
 Downloading bitflags v0.7.0
 Downloading lazy_static v0.2.1
 Downloading openssl-sys-extras v0.7.13
 Downloading openssl-sys v0.7.13
 Downloading pkg-config v0.3.8
 Downloading url v1.1.0
 Downloading idna v0.1.0
 Downloading matches v0.1.2
 Downloading unicode-normalization v0.1.2
 Downloading unicode-bidi v0.2.3
 Downloading rustc_version v0.1.7
 Downloading semver v0.1.20
 Downloading hpack v0.2.0
 Downloading uuid v0.2.2
   Compiling typeable v0.1.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/typeable-0.1.2/src/lib.rs --crate-name typeable --crate-type lib -C opt-level=3 -C metadata=a369bc2379fd1684 -C extra-filename=-a369bc2379fd1684 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling libc v0.2.11
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.11/src/lib.rs --crate-name libc --crate-type lib -C opt-level=3 --cfg feature=\"default\" --cfg feature=\"use_std\" -C metadata=231c6934ae1f4eea -C extra-filename=-231c6934ae1f4eea --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling termios v0.2.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/termios-0.2.2/src/lib.rs --crate-name termios --crate-type lib -C opt-level=3 -C metadata=8caf4ba1c10ea1f5 -C extra-filename=-8caf4ba1c10ea1f5 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow`
   Compiling traitobject v0.0.1
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/traitobject-0.0.1/src/lib.rs --crate-name traitobject --crate-type lib -C opt-level=3 -C metadata=76fb5e9efd789d16 -C extra-filename=-76fb5e9efd789d16 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling bitflags v0.7.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.7.0/src/lib.rs --crate-name bitflags --crate-type lib -C opt-level=3 -C metadata=75b969e27d3be669 -C extra-filename=-75b969e27d3be669 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling num_cpus v0.2.12
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num_cpus-0.2.12/src/lib.rs --crate-name num_cpus --crate-type lib -C opt-level=3 -C metadata=2a6fcb8d249106e4 -C extra-filename=-2a6fcb8d249106e4 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow`
   Compiling utf8-ranges v0.1.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/utf8-ranges-0.1.3/src/lib.rs --crate-name utf8_ranges --crate-type lib -C opt-level=3 -C metadata=dcb91caced8c46dd -C extra-filename=-dcb91caced8c46dd --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling unicode-normalization v0.1.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-normalization-0.1.2/src/lib.rs --crate-name unicode_normalization --crate-type lib -C opt-level=3 -C metadata=18b6b7b520fe76ac -C extra-filename=-18b6b7b520fe76ac --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling bitflags v0.3.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.3.3/src/lib.rs --crate-name bitflags --crate-type lib -C opt-level=3 -C metadata=99b4bb31211a8680 -C extra-filename=-99b4bb31211a8680 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling semver v0.1.20
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/semver-0.1.20/src/lib.rs --crate-name semver --crate-type lib -C opt-level=3 -C metadata=ce7f2a28dfb39d6f -C extra-filename=-ce7f2a28dfb39d6f --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling rustc_version v0.1.7
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc_version-0.1.7/src/lib.rs --crate-name rustc_version --crate-type lib -C opt-level=3 -C metadata=fde89821b2af455c -C extra-filename=-fde89821b2af455c --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern semver=/root/pijul.org/pijul/target/release/deps/libsemver-ce7f2a28dfb39d6f.rlib --cap-lints allow`
   Compiling strsim v0.4.1
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/strsim-0.4.1/src/lib.rs --crate-name strsim --crate-type lib -C opt-level=3 -C metadata=e0d667b9de98dc74 -C extra-filename=-e0d667b9de98dc74 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling httparse v1.1.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/httparse-1.1.2/src/lib.rs --crate-name httparse --crate-type lib -C opt-level=3 -C metadata=e32aeaa123984026 -C extra-filename=-e32aeaa123984026 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling memchr v0.1.11
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/memchr-0.1.11/src/lib.rs --crate-name memchr --crate-type lib -C opt-level=3 -C metadata=e8ffe705a7a337af -C extra-filename=-e8ffe705a7a337af --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow`
   Compiling aho-corasick v0.5.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/aho-corasick-0.5.2/src/lib.rs --crate-name aho_corasick --crate-type lib -C opt-level=3 -C metadata=0ff9f44df26fc050 -C extra-filename=-0ff9f44df26fc050 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern memchr=/root/pijul.org/pijul/target/release/deps/libmemchr-e8ffe705a7a337af.rlib --cap-lints allow`
   Compiling rand v0.3.14
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rand-0.3.14/src/lib.rs --crate-name rand --crate-type lib -C opt-level=3 -C metadata=e6ec3ef634ec5eb1 -C extra-filename=-e6ec3ef634ec5eb1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow`
   Compiling unicase v1.4.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unicase-1.4.0/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=2e0e5b6194bd80c2 --out-dir /root/pijul.org/pijul/target/release/build/unicase-2e0e5b6194bd80c2 --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern rustc_version=/root/pijul.org/pijul/target/release/deps/librustc_version-fde89821b2af455c.rlib --cap-lints allow`
     Running `/root/pijul.org/pijul/target/release/build/unicase-2e0e5b6194bd80c2/build-script-build`
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unicase-1.4.0/src/lib.rs --crate-name unicase --crate-type lib -C opt-level=3 -C metadata=55cc8fd9d1125fbc -C extra-filename=-55cc8fd9d1125fbc --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow --cfg iter_cmp`
   Compiling winapi-build v0.1.1
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-build-0.1.1/src/lib.rs --crate-name build --crate-type lib -C opt-level=3 -C metadata=88cbfbaee159d23c -C extra-filename=-88cbfbaee159d23c --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling kernel32-sys v0.2.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=d6afa5bd3d7cfaef --out-dir /root/pijul.org/pijul/target/release/build/kernel32-sys-d6afa5bd3d7cfaef --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern build=/root/pijul.org/pijul/target/release/deps/libbuild-88cbfbaee159d23c.rlib --cap-lints allow`
   Compiling language-tags v0.2.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/language-tags-0.2.2/src/lib.rs --crate-name language_tags --crate-type lib -C opt-level=3 -C metadata=77e5b6b0134abf0f -C extra-filename=-77e5b6b0134abf0f --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling pkg-config v0.3.8
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pkg-config-0.3.8/src/lib.rs --crate-name pkg_config --crate-type lib -C opt-level=3 -C metadata=4d3498ba15af1327 -C extra-filename=-4d3498ba15af1327 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling openssl-sys v0.7.13
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.7.13/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=51a4072885038275 --out-dir /root/pijul.org/pijul/target/release/build/openssl-sys-51a4072885038275 --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern pkg_config=/root/pijul.org/pijul/target/release/deps/libpkg_config-4d3498ba15af1327.rlib --cap-lints allow`
     Running `/root/pijul.org/pijul/target/release/build/openssl-sys-51a4072885038275/build-script-build`
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-0.7.13/src/lib.rs --crate-name openssl_sys --crate-type lib -C opt-level=3 -C metadata=1829f186a2f1ff9f -C extra-filename=-1829f186a2f1ff9f --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow -l dylib=ssl -l dylib=crypto`
   Compiling regex-syntax v0.3.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-syntax-0.3.3/src/lib.rs --crate-name regex_syntax --crate-type lib -C opt-level=3 -C metadata=a56cad04dceb72c4 -C extra-filename=-a56cad04dceb72c4 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling lazy_static v0.2.1
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-0.2.1/src/lib.rs --crate-name lazy_static --crate-type lib -C opt-level=3 -C metadata=7038e6141956ec08 -C extra-filename=-7038e6141956ec08 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling log v0.3.6
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/log-0.3.6/src/lib.rs --crate-name log --crate-type lib -C opt-level=3 --cfg feature=\"use_std\" --cfg feature=\"default\" -C metadata=bf3efb8bd76ca4a7 -C extra-filename=-bf3efb8bd76ca4a7 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling hpack v0.2.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/hpack-0.2.0/src/lib.rs --crate-name hpack --crate-type lib -C opt-level=3 -C metadata=9ddb2ca78afe3185 -C extra-filename=-9ddb2ca78afe3185 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --cap-lints allow`
   Compiling solicit v0.4.4
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/solicit-0.4.4/src/lib.rs --crate-name solicit --crate-type lib -C opt-level=3 -C metadata=de754c34a767d18e -C extra-filename=-de754c34a767d18e --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern hpack=/root/pijul.org/pijul/target/release/deps/libhpack-9ddb2ca78afe3185.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --cap-lints allow`
   Compiling ssh v0.1.4
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ssh-0.1.4/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=ebb4188333c3f2d5 --out-dir /root/pijul.org/pijul/target/release/build/ssh-ebb4188333c3f2d5 --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
     Running `/root/pijul.org/pijul/target/release/build/ssh-ebb4188333c3f2d5/build-script-build`
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ssh-0.1.4/src/lib.rs --crate-name ssh --crate-type lib -C opt-level=3 -C metadata=c0e1b3ffaa755354 -C extra-filename=-c0e1b3ffaa755354 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern bitflags=/root/pijul.org/pijul/target/release/deps/libbitflags-99b4bb31211a8680.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --cap-lints allow -l dylib=ssh`
   Compiling byteorder v0.3.13
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-0.3.13/src/lib.rs --crate-name byteorder --crate-type lib -C opt-level=3 -C metadata=52ebe783de20a63d -C extra-filename=-52ebe783de20a63d --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling gcc v0.3.28
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.28/src/lib.rs --crate-name gcc --crate-type lib -C opt-level=3 -C metadata=013da65d06f59aec -C extra-filename=-013da65d06f59aec --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling openssl-sys-extras v0.7.13
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-extras-0.7.13/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=c284211a61168afa --out-dir /root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern gcc=/root/pijul.org/pijul/target/release/deps/libgcc-013da65d06f59aec.rlib --cap-lints allow`
   Compiling miniz-sys v0.1.7
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/miniz-sys-0.1.7/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=60c8d67696f63a43 --out-dir /root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43 --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern gcc=/root/pijul.org/pijul/target/release/deps/libgcc-013da65d06f59aec.rlib --cap-lints allow`
   Compiling ansi_term v0.7.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.7.2/src/lib.rs --crate-name ansi_term --crate-type lib -C opt-level=3 -C metadata=117c4bbcb24dd176 -C extra-filename=-117c4bbcb24dd176 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling rustc-serialize v0.3.19
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/lib.rs --crate-name rustc_serialize --crate-type lib -C opt-level=3 -C metadata=31c7cf2c67ab15aa -C extra-filename=-31c7cf2c67ab15aa --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling toml v0.1.30
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/toml-0.1.30/src/lib.rs --crate-name toml --crate-type lib -C opt-level=3 --cfg feature=\"default\" --cfg feature=\"rustc-serialize\" -C metadata=4991f78d06577435 -C extra-filename=-4991f78d06577435 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --cap-lints allow`
     Running `/root/pijul.org/pijul/target/release/build/kernel32-sys-d6afa5bd3d7cfaef/build-script-build`
   Compiling winapi v0.2.7
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/winapi-0.2.7/src/lib.rs --crate-name winapi --crate-type lib -C opt-level=3 -C metadata=fcfc94faa4293f50 -C extra-filename=-fcfc94faa4293f50 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/kernel32-sys-0.2.2/src/lib.rs --crate-name kernel32 --crate-type lib -C opt-level=3 -C metadata=42202d39a178792e -C extra-filename=-42202d39a178792e --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern winapi=/root/pijul.org/pijul/target/release/deps/libwinapi-fcfc94faa4293f50.rlib --cap-lints allow`
   Compiling time v0.1.35
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/time-0.1.35/src/lib.rs --crate-name time --crate-type lib -C opt-level=3 -C metadata=a2357f7e6d3ad780 -C extra-filename=-a2357f7e6d3ad780 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern kernel32=/root/pijul.org/pijul/target/release/deps/libkernel32-42202d39a178792e.rlib --extern winapi=/root/pijul.org/pijul/target/release/deps/libwinapi-fcfc94faa4293f50.rlib --cap-lints allow`
   Compiling fs2 v0.2.4
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/fs2-0.2.4/src/lib.rs --crate-name fs2 --crate-type lib -C opt-level=3 -C metadata=7ec9a39f6b48b5b8 -C extra-filename=-7ec9a39f6b48b5b8 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern winapi=/root/pijul.org/pijul/target/release/deps/libwinapi-fcfc94faa4293f50.rlib --extern kernel32=/root/pijul.org/pijul/target/release/deps/libkernel32-42202d39a178792e.rlib --cap-lints allow`
   Compiling memmap v0.3.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/memmap-0.3.0/src/lib.rs --crate-name memmap --crate-type lib -C opt-level=3 -C metadata=6fe6d87c2e3430d4 -C extra-filename=-6fe6d87c2e3430d4 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern fs2=/root/pijul.org/pijul/target/release/deps/libfs2-7ec9a39f6b48b5b8.rlib --extern winapi=/root/pijul.org/pijul/target/release/deps/libwinapi-fcfc94faa4293f50.rlib --extern kernel32=/root/pijul.org/pijul/target/release/deps/libkernel32-42202d39a178792e.rlib --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow`
   Compiling thread-id v2.0.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/thread-id-2.0.0/src/lib.rs --crate-name thread_id --crate-type lib -C opt-level=3 -C metadata=f49bb10822c205cd -C extra-filename=-f49bb10822c205cd --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern kernel32=/root/pijul.org/pijul/target/release/deps/libkernel32-42202d39a178792e.rlib --cap-lints allow`
   Compiling thread_local v0.2.5
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/thread_local-0.2.5/src/lib.rs --crate-name thread_local --crate-type lib -C opt-level=3 -C metadata=f3a96be1c215c46f -C extra-filename=-f3a96be1c215c46f --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern thread_id=/root/pijul.org/pijul/target/release/deps/libthread_id-f49bb10822c205cd.rlib --cap-lints allow`
   Compiling openssl v0.7.13
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.7.13/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=d799b404184be4f1 --out-dir /root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1 --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern gcc=/root/pijul.org/pijul/target/release/deps/libgcc-013da65d06f59aec.rlib --cap-lints allow`
   Compiling vec_map v0.6.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/vec_map-0.6.0/src/lib.rs --crate-name vec_map --crate-type lib -C opt-level=3 -C metadata=18957d7ea33348b8 -C extra-filename=-18957d7ea33348b8 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
     Running `/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/build-script-build`
error: failed to compile `pijul v0.3.0 (file:///root/pijul.org/pijul)`, intermediate artifacts can be found at `/root/pijul.org/pijul/target`

Caused by:
  failed to run custom build command for `openssl-sys-extras v0.7.13`
process didn't exit successfully: `/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-unknown-linux-gnu")
OPT_LEVEL = Some("3")
PROFILE = Some("release")
TARGET = Some("x86_64-unknown-linux-gnu")
debug=false opt-level=3
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-gnu = None
CC_x86_64_unknown_linux_gnu = None
HOST_CC = None
CC = None
HOST = Some("x86_64-unknown-linux-gnu")
TARGET = Some("x86_64-unknown-linux-gnu")
HOST = Some("x86_64-unknown-linux-gnu")
CFLAGS_x86_64-unknown-linux-gnu = None
CFLAGS_x86_64_unknown_linux_gnu = None
HOST_CFLAGS = None
CFLAGS = None
running: "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-m64" "-fPIC" "-o" "/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out/src/openssl_shim.o" "-c" "src/openssl_shim.c"
ExitStatus(ExitStatus(256))


command did not execute successfully, got: exit code: 1



--- stderr
src/openssl_shim.c:1:26: fatal error: openssl/hmac.h: No such file or directory
 #include 
                          ^
compilation terminated.
thread 'main' panicked at 'explicit panic', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/gcc-0.3.28/src/lib.rs:840
note: Run with `RUST_BACKTRACE=1` for a backtrace.
ところどころ気になる点はあるものの、最終的にはopenssl/hmac.hというファイルが無く中断している。
まずはインストール済みのssl関連rpmを確認した。
# rpm -qa | grep ssl
openssl-libs-1.0.1e-60.el7.x86_64
openssl-1.0.1e-60.el7.x86_64
上記以外のssl関連のrpmを探す。
# yum --disablerepo=\* --enablerepo=base search openssl
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
======================================================== N/S matched: openssl ========================================================
apr-util-openssl.x86_64 : APR utility library OpenSSL crytpo support
openssl-devel.i686 : Files for development of applications which will use OpenSSL
openssl-devel.x86_64 : Files for development of applications which will use OpenSSL
openssl-perl.x86_64 : Perl scripts provided with OpenSSL
openssl-static.i686 : Libraries for static linking of applications which will use OpenSSL
openssl-static.x86_64 : Libraries for static linking of applications which will use OpenSSL
perl-Crypt-OpenSSL-Bignum.x86_64 : Perl interface to OpenSSL for Bignum
perl-Crypt-OpenSSL-RSA.x86_64 : Perl interface to OpenSSL for RSA
perl-Crypt-OpenSSL-Random.x86_64 : Perl interface to OpenSSL for Random
pyOpenSSL.x86_64 : Python wrapper module around the OpenSSL library
pyOpenSSL-doc.noarch : Documentation for pyOpenSSL
xmlsec1-openssl.i686 : OpenSSL crypto plugin for XML Security Library
xmlsec1-openssl.x86_64 : OpenSSL crypto plugin for XML Security Library
xmlsec1-openssl-devel.i686 : OpenSSL crypto plugin for XML Security Library
xmlsec1-openssl-devel.x86_64 : OpenSSL crypto plugin for XML Security Library
m2crypto.x86_64 : Support for using OpenSSL in python scripts
nss_compat_ossl.i686 : Source-level compatibility library for OpenSSL to NSS porting
nss_compat_ossl.x86_64 : Source-level compatibility library for OpenSSL to NSS porting
openssl.x86_64 : Utilities from the general purpose cryptography library with TLS implementation
openssl-libs.i686 : A general purpose cryptography library with TLS implementation
openssl-libs.x86_64 : A general purpose cryptography library with TLS implementation
openssl098e.i686 : A compatibility version of a general cryptography and TLS library
openssl098e.x86_64 : A compatibility version of a general cryptography and TLS library
perl-Crypt-SSLeay.x86_64 : Crypt::SSLeay - OpenSSL glue that provides LWP https support
perl-Net-SSLeay.x86_64 : Perl extension for using OpenSSL
qca-ossl.i686 : OpenSSL plugin for the Qt Cryptographic Architecture v2
qca-ossl.x86_64 : OpenSSL plugin for the Qt Cryptographic Architecture v2

  Name and summary matches only, use "search all" for everything.
なので、openssl-develをインストールしてみる。
# yum --disablerepo=\* --enablerepo=base install openssl-devel
Loaded plugins: fastestmirror
base                                                                                                           | 3.6 kB  00:00:00     
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
Resolving Dependencies
--> Running transaction check
---> Package openssl-devel.x86_64 1:1.0.1e-60.el7 will be installed
--> Processing Dependency: zlib-devel(x86-64) for package: 1:openssl-devel-1.0.1e-60.el7.x86_64
--> Processing Dependency: krb5-devel(x86-64) for package: 1:openssl-devel-1.0.1e-60.el7.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.14.1-26.el7 will be installed
--> Processing Dependency: libkadm5(x86-64) = 1.14.1-26.el7 for package: krb5-devel-1.14.1-26.el7.x86_64
--> Processing Dependency: libverto-devel for package: krb5-devel-1.14.1-26.el7.x86_64
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.14.1-26.el7.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.14.1-26.el7.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.14.1-26.el7.x86_64
---> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.5.8-3.el7 will be installed
---> Package libcom_err-devel.x86_64 0:1.42.9-9.el7 will be installed
---> Package libkadm5.x86_64 0:1.14.1-26.el7 will be installed
---> Package libselinux-devel.x86_64 0:2.5-6.el7 will be installed
--> Processing Dependency: libsepol-devel(x86-64) >= 2.5-6 for package: libselinux-devel-2.5-6.el7.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.5-6.el7.x86_64
--> Processing Dependency: pkgconfig(libpcre) for package: libselinux-devel-2.5-6.el7.x86_64
---> Package libverto-devel.x86_64 0:0.2.5-4.el7 will be installed
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.5-6.el7 will be installed
---> Package pcre-devel.x86_64 0:8.32-15.el7_2.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                                Arch                      Version                               Repository               Size
======================================================================================================================================
Installing:
 openssl-devel                          x86_64                    1:1.0.1e-60.el7                       base                    1.2 M
Installing for dependencies:
 keyutils-libs-devel                    x86_64                    1.5.8-3.el7                           base                     37 k
 krb5-devel                             x86_64                    1.14.1-26.el7                         base                    651 k
 libcom_err-devel                       x86_64                    1.42.9-9.el7                          base                     31 k
 libkadm5                               x86_64                    1.14.1-26.el7                         base                    172 k
 libselinux-devel                       x86_64                    2.5-6.el7                             base                    186 k
 libsepol-devel                         x86_64                    2.5-6.el7                             base                     74 k
 libverto-devel                         x86_64                    0.2.5-4.el7                           base                     12 k
 pcre-devel                             x86_64                    8.32-15.el7_2.1                       base                    479 k
 zlib-devel                             x86_64                    1.2.7-17.el7                          base                     50 k

Transaction Summary
======================================================================================================================================
Install  1 Package (+9 Dependent packages)

Total download size: 2.8 M
Installed size: 5.9 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): keyutils-libs-devel-1.5.8-3.el7.x86_64.rpm                                                             |  37 kB  00:00:00     
(2/10): libcom_err-devel-1.42.9-9.el7.x86_64.rpm                                                               |  31 kB  00:00:00     
(3/10): libverto-devel-0.2.5-4.el7.x86_64.rpm                                                                  |  12 kB  00:00:00     
(4/10): libsepol-devel-2.5-6.el7.x86_64.rpm                                                                    |  74 kB  00:00:00     
(5/10): krb5-devel-1.14.1-26.el7.x86_64.rpm                                                                    | 651 kB  00:00:01     
(6/10): pcre-devel-8.32-15.el7_2.1.x86_64.rpm                                                                  | 479 kB  00:00:00     
(7/10): zlib-devel-1.2.7-17.el7.x86_64.rpm                                                                     |  50 kB  00:00:00     
(8/10): openssl-devel-1.0.1e-60.el7.x86_64.rpm                                                                 | 1.2 MB  00:00:01     
(9/10): libkadm5-1.14.1-26.el7.x86_64.rpm                                                                      | 172 kB  00:00:02     
(10/10): libselinux-devel-2.5-6.el7.x86_64.rpm                                                                 | 186 kB  00:00:02     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 1.1 MB/s | 2.8 MB  00:00:02     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libsepol-devel-2.5-6.el7.x86_64                                                                                   1/10 
  Installing : libcom_err-devel-1.42.9-9.el7.x86_64                                                                              2/10 
  Installing : libkadm5-1.14.1-26.el7.x86_64                                                                                     3/10 
  Installing : libverto-devel-0.2.5-4.el7.x86_64                                                                                 4/10 
  Installing : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                            5/10 
  Installing : zlib-devel-1.2.7-17.el7.x86_64                                                                                    6/10 
  Installing : pcre-devel-8.32-15.el7_2.1.x86_64                                                                                 7/10 
  Installing : libselinux-devel-2.5-6.el7.x86_64                                                                                 8/10 
  Installing : krb5-devel-1.14.1-26.el7.x86_64                                                                                   9/10 
  Installing : 1:openssl-devel-1.0.1e-60.el7.x86_64                                                                             10/10 
  Verifying  : pcre-devel-8.32-15.el7_2.1.x86_64                                                                                 1/10 
  Verifying  : zlib-devel-1.2.7-17.el7.x86_64                                                                                    2/10 
  Verifying  : keyutils-libs-devel-1.5.8-3.el7.x86_64                                                                            3/10 
  Verifying  : libverto-devel-0.2.5-4.el7.x86_64                                                                                 4/10 
  Verifying  : 1:openssl-devel-1.0.1e-60.el7.x86_64                                                                              5/10 
  Verifying  : libkadm5-1.14.1-26.el7.x86_64                                                                                     6/10 
  Verifying  : libcom_err-devel-1.42.9-9.el7.x86_64                                                                              7/10 
  Verifying  : libsepol-devel-2.5-6.el7.x86_64                                                                                   8/10 
  Verifying  : krb5-devel-1.14.1-26.el7.x86_64                                                                                   9/10 
  Verifying  : libselinux-devel-2.5-6.el7.x86_64                                                                                10/10 

Installed:
  openssl-devel.x86_64 1:1.0.1e-60.el7                                                                                                

Dependency Installed:
  keyutils-libs-devel.x86_64 0:1.5.8-3.el7      krb5-devel.x86_64 0:1.14.1-26.el7        libcom_err-devel.x86_64 0:1.42.9-9.el7     
  libkadm5.x86_64 0:1.14.1-26.el7               libselinux-devel.x86_64 0:2.5-6.el7      libsepol-devel.x86_64 0:2.5-6.el7          
  libverto-devel.x86_64 0:0.2.5-4.el7           pcre-devel.x86_64 0:8.32-15.el7_2.1      zlib-devel.x86_64 0:1.2.7-17.el7           

Complete!
インストールした結果、以下のその他のrpmが9種インストールされてしまう。
pcre、zlibなどを既に利用している場合は留意が必要。
keyutils-libs-devel.x86_64 0:1.5.8-3.el7.rpm
krb5-devel.x86_64 0:1.14.1-26.el7.rpm
libcom_err-devel.x86_64 0:1.42.9-9.el7.rpm
kadm5.x86_64 0:1.14.1-26.el7.rpm
libselinux-devel.x86_64 0:2.5-6.el7.rpm
libsepol-devel.x86_64 0:2.5-6.el7.rpm
libverto-devel.x86_64 0:0.2.5-4.el7.rpm
pcre-devel.x86_64 0:8.32-15.el7_2.1.rpm
zlib-devel.x86_64 0:1.2.7-17.el7.rpm

一応、 hmac.hがrpmに含まれているか確認。
# rpm -ql openssl-devel | grep hmac.h
/usr/include/openssl/hmac.h
これで再度、cargoを実行してみる。
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install --verbose
warning: TOML file found which contains invalid syntax and will soon not parse
at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`.

The TOML spec requires newlines after table definitions (e.g. `[a] b = 1` is
invalid), but this file has a table header which does not have a newline after
it. A newline needs to be added and this warning will soon become a hard error
in the future.
       Fresh strsim v0.4.1
       Fresh rustc-serialize v0.3.19
       Fresh log v0.3.6
       Fresh hpack v0.2.0
       Fresh typeable v0.1.2
   Compiling matches v0.1.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/matches-0.1.2/lib.rs --crate-name matches --crate-type lib -C opt-level=3 -C metadata=0c2de63a6d9d196d -C extra-filename=-0c2de63a6d9d196d --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
       Fresh traitobject v0.0.1
       Fresh semver v0.1.20
       Fresh gcc v0.3.28
   Compiling rust-crypto v0.2.36
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-crypto-0.2.36/build.rs --crate-name build_script_build --crate-type bin -C opt-level=3 -C metadata=ed6f35bcd4283630 --out-dir /root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630 --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern gcc=/root/pijul.org/pijul/target/release/deps/libgcc-013da65d06f59aec.rlib --cap-lints allow`
       Fresh unicode-normalization v0.1.2
   Compiling num-traits v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-traits-0.1.32/src/lib.rs --crate-name num_traits --crate-type lib -C opt-level=3 -C metadata=b1532fddd589e79f -C extra-filename=-b1532fddd589e79f --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
   Compiling num-integer v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-integer-0.1.32/src/lib.rs --crate-name num_integer --crate-type lib -C opt-level=3 -C metadata=72c344ee9db0da04 -C extra-filename=-72c344ee9db0da04 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern num_traits=/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib --cap-lints allow`
       Fresh ansi_term v0.7.2
     Running `/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/build-script-build`
       Fresh libc v0.2.11
       Fresh num_cpus v0.2.12
       Fresh rand v0.3.14
   Compiling num-bigint v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-bigint-0.1.32/src/lib.rs --crate-name num_bigint --crate-type lib -C opt-level=3 --cfg feature=\"default\" --cfg feature=\"rustc-serialize\" --cfg feature=\"rand\" -C metadata=57ff2633df1f6fcf -C extra-filename=-57ff2633df1f6fcf --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern num_traits=/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern num_integer=/root/pijul.org/pijul/target/release/deps/libnum_integer-72c344ee9db0da04.rlib --cap-lints allow`
   Compiling uuid v0.2.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/uuid-0.2.2/src/lib.rs --crate-name uuid --crate-type lib -C opt-level=3 --cfg feature=\"v4\" --cfg feature=\"rand\" -C metadata=ad873e1a65fba58d -C extra-filename=-ad873e1a65fba58d --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --cap-lints allow`
   Compiling num-rational v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-rational-0.1.32/src/lib.rs --crate-name num_rational --crate-type lib -C opt-level=3 --cfg feature=\"rustc-serialize\" --cfg feature=\"default\" --cfg feature=\"num-bigint\" --cfg feature=\"bigint\" -C metadata=3914dbd25c5644db -C extra-filename=-3914dbd25c5644db --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern num_integer=/root/pijul.org/pijul/target/release/deps/libnum_integer-72c344ee9db0da04.rlib --extern num_traits=/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib --extern num_bigint=/root/pijul.org/pijul/target/release/deps/libnum_bigint-57ff2633df1f6fcf.rlib --cap-lints allow`
       Fresh pkg-config v0.3.8
       Fresh winapi-build v0.1.1
   Compiling num-complex v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-complex-0.1.32/src/lib.rs --crate-name num_complex --crate-type lib -C opt-level=3 --cfg feature=\"default\" --cfg feature=\"rustc-serialize\" -C metadata=038dc9221f28c87a -C extra-filename=-038dc9221f28c87a --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern num_traits=/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --cap-lints allow`
   Compiling miniz-sys v0.1.7
     Running `/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/build-script-build`
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/miniz-sys-0.1.7/lib.rs --crate-name miniz_sys --crate-type lib -C opt-level=3 -C metadata=bff142974d62cad7 -C extra-filename=-bff142974d62cad7 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out -l static=miniz`
   Compiling unicode-width v0.1.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-width-0.1.3/src/lib.rs --crate-name unicode_width --crate-type lib -C opt-level=3 --cfg feature=\"default\" -C metadata=64342cb086526dea -C extra-filename=-64342cb086526dea --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
       Fresh bitflags v0.3.3
       Fresh bitflags v0.7.0
       Fresh openssl-sys v0.7.13
   Compiling openssl-sys-extras v0.7.13
     Running `/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/build-script-build`
   Compiling flate2 v0.2.14
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/flate2-0.2.14/src/lib.rs --crate-name flate2 --crate-type lib -C opt-level=3 --cfg feature=\"miniz-sys\" --cfg feature=\"default\" -C metadata=a6c701e65511ba5f -C extra-filename=-a6c701e65511ba5f --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern miniz_sys=/root/pijul.org/pijul/target/release/deps/libminiz_sys-bff142974d62cad7.rlib --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out`
   Compiling bitflags v0.5.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/bitflags-0.5.0/src/lib.rs --crate-name bitflags --crate-type lib -C opt-level=3 -C metadata=0d0368ffb498bf53 -C extra-filename=-0d0368ffb498bf53 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --cap-lints allow`
       Fresh winapi v0.2.7
       Fresh kernel32-sys v0.2.2
       Fresh time v0.1.35
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/rust-crypto-0.2.36/src/lib.rs --crate-name crypto --crate-type lib -C opt-level=3 -C metadata=f83d849de3974049 -C extra-filename=-f83d849de3974049 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -l static=_rust_crypto_helpers`
   Compiling term v0.2.14
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/term-0.2.14/src/lib.rs --crate-name term --crate-type lib -C opt-level=3 -C metadata=7cf5ff65a4814993 -C extra-filename=-7cf5ff65a4814993 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern kernel32=/root/pijul.org/pijul/target/release/deps/libkernel32-42202d39a178792e.rlib --extern winapi=/root/pijul.org/pijul/target/release/deps/libwinapi-fcfc94faa4293f50.rlib --cap-lints allow`
       Fresh thread-id v2.0.0
       Fresh thread_local v0.2.5
       Fresh fs2 v0.2.4
       Fresh memmap v0.3.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-sys-extras-0.7.13/src/lib.rs --crate-name openssl_sys_extras --crate-type lib -C opt-level=3 -C metadata=38273e27347e82aa -C extra-filename=-38273e27347e82aa --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern openssl_sys=/root/pijul.org/pijul/target/release/deps/libopenssl_sys-1829f186a2f1ff9f.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out -l static=openssl_shim`
       Fresh httparse v1.1.2
   Compiling unicode-bidi v0.2.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.2.3/src/lib.rs --crate-name unicode_bidi --crate-type lib -C opt-level=3 -C metadata=a5fd9cddb6cb4ce5 -C extra-filename=-a5fd9cddb6cb4ce5 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern matches=/root/pijul.org/pijul/target/release/deps/libmatches-0c2de63a6d9d196d.rlib --cap-lints allow`
   Compiling idna v0.1.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/idna-0.1.0/src/lib.rs --crate-name idna --crate-type lib -C opt-level=3 -C metadata=6790675c414d56a4 -C extra-filename=-6790675c414d56a4 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern unicode_bidi=/root/pijul.org/pijul/target/release/deps/libunicode_bidi-a5fd9cddb6cb4ce5.rlib --extern matches=/root/pijul.org/pijul/target/release/deps/libmatches-0c2de63a6d9d196d.rlib --extern unicode_normalization=/root/pijul.org/pijul/target/release/deps/libunicode_normalization-18b6b7b520fe76ac.rlib --cap-lints allow`
   Compiling url v1.1.0
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/url-1.1.0/src/lib.rs --crate-name url --crate-type lib -C opt-level=3 -C metadata=8c37fce4699fffdb -C extra-filename=-8c37fce4699fffdb --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern matches=/root/pijul.org/pijul/target/release/deps/libmatches-0c2de63a6d9d196d.rlib --extern idna=/root/pijul.org/pijul/target/release/deps/libidna-6790675c414d56a4.rlib --cap-lints allow`
   Compiling num-iter v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-iter-0.1.32/src/lib.rs --crate-name num_iter --crate-type lib -C opt-level=3 -C metadata=1528723a2af3f710 -C extra-filename=-1528723a2af3f710 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern num_traits=/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib --extern num_integer=/root/pijul.org/pijul/target/release/deps/libnum_integer-72c344ee9db0da04.rlib --cap-lints allow`
   Compiling url v0.5.9
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/src/lib.rs --crate-name url --crate-type lib -C opt-level=3 -C metadata=1f5222fa00222bb0 -C extra-filename=-1f5222fa00222bb0 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern uuid=/root/pijul.org/pijul/target/release/deps/libuuid-ad873e1a65fba58d.rlib --extern unicode_normalization=/root/pijul.org/pijul/target/release/deps/libunicode_normalization-18b6b7b520fe76ac.rlib --extern matches=/root/pijul.org/pijul/target/release/deps/libmatches-0c2de63a6d9d196d.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern unicode_bidi=/root/pijul.org/pijul/target/release/deps/libunicode_bidi-a5fd9cddb6cb4ce5.rlib --cap-lints allow`
       Fresh toml v0.1.30
       Fresh ssh v0.1.4
       Fresh termios v0.2.2
       Fresh vec_map v0.6.0
   Compiling clap v2.5.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-2.5.2/src/lib.rs --crate-name clap --crate-type lib -C opt-level=3 --cfg feature=\"suggestions\" --cfg feature=\"strsim\" --cfg feature=\"wrap_help\" --cfg feature=\"ansi_term\" --cfg feature=\"libc\" --cfg feature=\"unicode-width\" --cfg feature=\"color\" --cfg feature=\"default\" -C metadata=12ae30445f022765 -C extra-filename=-12ae30445f022765 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern vec_map=/root/pijul.org/pijul/target/release/deps/libvec_map-18957d7ea33348b8.rlib --extern bitflags=/root/pijul.org/pijul/target/release/deps/libbitflags-0d0368ffb498bf53.rlib --extern unicode_width=/root/pijul.org/pijul/target/release/deps/libunicode_width-64342cb086526dea.rlib --extern strsim=/root/pijul.org/pijul/target/release/deps/libstrsim-e0d667b9de98dc74.rlib --extern ansi_term=/root/pijul.org/pijul/target/release/deps/libansi_term-117c4bbcb24dd176.rlib --cap-lints allow`
   Compiling num v0.1.32
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/num-0.1.32/src/lib.rs --crate-name num --crate-type lib -C opt-level=3 --cfg feature=\"num-rational\" --cfg feature=\"num-bigint\" --cfg feature=\"num-complex\" --cfg feature=\"rustc-serialize\" --cfg feature=\"bigint\" --cfg feature=\"default\" --cfg feature=\"complex\" --cfg feature=\"rational\" -C metadata=3dece1aa21302fe4 -C extra-filename=-3dece1aa21302fe4 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern num_integer=/root/pijul.org/pijul/target/release/deps/libnum_integer-72c344ee9db0da04.rlib --extern num_bigint=/root/pijul.org/pijul/target/release/deps/libnum_bigint-57ff2633df1f6fcf.rlib --extern num_rational=/root/pijul.org/pijul/target/release/deps/libnum_rational-3914dbd25c5644db.rlib --extern num_traits=/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib --extern num_complex=/root/pijul.org/pijul/target/release/deps/libnum_complex-038dc9221f28c87a.rlib --extern num_iter=/root/pijul.org/pijul/target/release/deps/libnum_iter-1528723a2af3f710.rlib --cap-lints allow`
   Compiling serde v0.6.15
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde-0.6.15/src/lib.rs --crate-name serde --crate-type lib -C opt-level=3 -C metadata=e7b6efd58ca9f8cc -C extra-filename=-e7b6efd58ca9f8cc --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern num=/root/pijul.org/pijul/target/release/deps/libnum-3dece1aa21302fe4.rlib --cap-lints allow`
   Compiling serde_json v0.6.1
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-0.6.1/src/lib.rs --crate-name serde_json --crate-type lib -C opt-level=3 -C metadata=23182e87f137c239 -C extra-filename=-23182e87f137c239 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern serde=/root/pijul.org/pijul/target/release/deps/libserde-e7b6efd58ca9f8cc.rlib --extern num=/root/pijul.org/pijul/target/release/deps/libnum-3dece1aa21302fe4.rlib --cap-lints allow`
       Fresh lazy_static v0.2.1
       Fresh utf8-ranges v0.1.3
       Fresh solicit v0.4.4
       Fresh rustc_version v0.1.7
       Fresh memchr v0.1.11
       Fresh aho-corasick v0.5.2
       Fresh regex-syntax v0.3.3
   Compiling openssl v0.7.13
     Running `/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/build-script-build`
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/openssl-0.7.13/src/lib.rs --crate-name openssl --crate-type lib -C opt-level=3 -C metadata=10e15865b065de9b -C extra-filename=-10e15865b065de9b --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern openssl_sys_extras=/root/pijul.org/pijul/target/release/deps/libopenssl_sys_extras-38273e27347e82aa.rlib --extern openssl_sys=/root/pijul.org/pijul/target/release/deps/libopenssl_sys-1829f186a2f1ff9f.rlib --extern bitflags=/root/pijul.org/pijul/target/release/deps/libbitflags-75b969e27d3be669.rlib --extern lazy_static=/root/pijul.org/pijul/target/release/deps/liblazy_static-7038e6141956ec08.rlib --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -l static=c_helpers -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out`
   Compiling cookie v0.2.4
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cookie-0.2.4/src/lib.rs --crate-name cookie --crate-type lib -C opt-level=3 --cfg feature=\"rustc-serialize\" --cfg feature=\"openssl\" --cfg feature=\"secure\" -C metadata=1a49c5e56795a7fe -C extra-filename=-1a49c5e56795a7fe --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern openssl=/root/pijul.org/pijul/target/release/deps/libopenssl-10e15865b065de9b.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern url=/root/pijul.org/pijul/target/release/deps/liburl-8c37fce4699fffdb.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out`
       Fresh byteorder v0.3.13
   Compiling cbor v0.3.16
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/cbor-0.3.16/src/lib.rs --crate-name cbor --crate-type lib -C opt-level=3 -C metadata=dd972acac6c4bfd9 -C extra-filename=-dd972acac6c4bfd9 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern byteorder=/root/pijul.org/pijul/target/release/deps/libbyteorder-52ebe783de20a63d.rlib --cap-lints allow`
   Compiling mime v0.1.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/mime-0.1.3/src/lib.rs --crate-name mime --crate-type lib -C opt-level=3 -C metadata=0dcdced96d6be771 -C extra-filename=-0dcdced96d6be771 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern serde=/root/pijul.org/pijul/target/release/deps/libserde-e7b6efd58ca9f8cc.rlib --cap-lints allow`
       Fresh language-tags v0.2.2
   Compiling regex v0.1.71
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.71/src/lib.rs --crate-name regex --crate-type lib -C opt-level=3 -C metadata=c1868cddd06a41a1 -C extra-filename=-c1868cddd06a41a1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern utf8_ranges=/root/pijul.org/pijul/target/release/deps/libutf8_ranges-dcb91caced8c46dd.rlib --extern thread_local=/root/pijul.org/pijul/target/release/deps/libthread_local-f3a96be1c215c46f.rlib --extern memchr=/root/pijul.org/pijul/target/release/deps/libmemchr-e8ffe705a7a337af.rlib --extern aho_corasick=/root/pijul.org/pijul/target/release/deps/libaho_corasick-0ff9f44df26fc050.rlib --extern regex_syntax=/root/pijul.org/pijul/target/release/deps/libregex_syntax-a56cad04dceb72c4.rlib --cap-lints allow`
   Compiling env_logger v0.3.3
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/env_logger-0.3.3/src/lib.rs --crate-name env_logger --crate-type lib -C opt-level=3 -C metadata=896ca0126c3aeb71 -C extra-filename=-896ca0126c3aeb71 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern regex=/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib --cap-lints allow`
   Compiling sanakirja v0.4.4 (file:///root/pijul.org/pijul/src/libpijul/src/sanakirja)
     Running `rustc src/libpijul/src/sanakirja/src/lib.rs --crate-name sanakirja --crate-type lib -C opt-level=3 -C metadata=4a55281b38f7a679 -C extra-filename=-4a55281b38f7a679 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern fs2=/root/pijul.org/pijul/target/release/deps/libfs2-7ec9a39f6b48b5b8.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern env_logger=/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib --extern memmap=/root/pijul.org/pijul/target/release/deps/libmemmap-6fe6d87c2e3430d4.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib`
warning: unused import: `std::path::Path`, #[warn(unused_imports)] on by default
 --> src/libpijul/src/sanakirja/src/txn.rs:3:5
  |
3 | use std::path::Path;
  |     ^^^^^^^^^^^^^^^

warning: unused import: `std::fs::File`, #[warn(unused_imports)] on by default
 --> src/libpijul/src/sanakirja/src/txn.rs:5:5
  |
5 | use std::fs::File;
  |     ^^^^^^^^^^^^^

warning: unused import: `std::io::BufWriter`, #[warn(unused_imports)] on by default
 --> src/libpijul/src/sanakirja/src/txn.rs:6:5
  |
6 | use std::io::BufWriter;
  |     ^^^^^^^^^^^^^^^^^^

warning: unused import: `std::collections::HashSet`, #[warn(unused_imports)] on by default
 --> src/libpijul/src/sanakirja/src/txn.rs:7:5
  |
7 | use std::collections::HashSet;
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `std::io::Write`, #[warn(unused_imports)] on by default
 --> src/libpijul/src/sanakirja/src/txn.rs:9:5
  |
9 | use std::io::Write;
  |     ^^^^^^^^^^^^^^

warning: type alias is never used: `Error`, #[warn(dead_code)] on by default
  --> src/libpijul/src/sanakirja/src/txn.rs:69:1
   |
69 | type Error = transaction::Error;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

warning: unused import: `super::Transaction`, #[warn(unused_imports)] on by default
 --> src/libpijul/src/sanakirja/src/del.rs:5:5
  |
5 | use super::Transaction;
  |     ^^^^^^^^^^^^^^^^^^

   Compiling libpijul v0.3.0 (file:///root/pijul.org/pijul/src/libpijul)
     Running `rustc src/libpijul/src/lib.rs --crate-name libpijul --crate-type lib -C opt-level=3 -C metadata=c3de1ed8fb473c7b -C extra-filename=-c3de1ed8fb473c7b --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern crypto=/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib --extern bitflags=/root/pijul.org/pijul/target/release/deps/libbitflags-0d0368ffb498bf53.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern flate2=/root/pijul.org/pijul/target/release/deps/libflate2-a6c701e65511ba5f.rlib --extern libc=/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib --extern cbor=/root/pijul.org/pijul/target/release/deps/libcbor-dd972acac6c4bfd9.rlib --extern sanakirja=/root/pijul.org/pijul/target/release/deps/libsanakirja-4a55281b38f7a679.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out`
warning: unused import: `std::io::prelude`, #[warn(unused_imports)] on by default
  --> src/libpijul/src/error.rs:18:5
   |
18 | use std::io::prelude::*;
   |     ^^^^^^^^^^^^^^^^

warning: unused import: `Decodable`, #[warn(unused_imports)] on by default
  --> src/libpijul/src/patch.rs:41:39
   |
41 | use self::rustc_serialize::{Encodable,Decodable};
   |                                       ^^^^^^^^^

       Fresh unicase v1.4.0
   Compiling hyper v0.7.2
     Running `rustc /root/.cargo/registry/src/github.com-1ecc6299db9ec823/hyper-0.7.2/src/lib.rs --crate-name hyper --crate-type lib -C opt-level=3 --cfg feature=\"default\" --cfg feature=\"cookie\" --cfg feature=\"openssl\" --cfg feature=\"ssl\" -C metadata=7c4e0e09a644ec07 -C extra-filename=-7c4e0e09a644ec07 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern url=/root/pijul.org/pijul/target/release/deps/liburl-1f5222fa00222bb0.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern mime=/root/pijul.org/pijul/target/release/deps/libmime-0dcdced96d6be771.rlib --extern unicase=/root/pijul.org/pijul/target/release/deps/libunicase-55cc8fd9d1125fbc.rlib --extern httparse=/root/pijul.org/pijul/target/release/deps/libhttparse-e32aeaa123984026.rlib --extern typeable=/root/pijul.org/pijul/target/release/deps/libtypeable-a369bc2379fd1684.rlib --extern language_tags=/root/pijul.org/pijul/target/release/deps/liblanguage_tags-77e5b6b0134abf0f.rlib --extern solicit=/root/pijul.org/pijul/target/release/deps/libsolicit-de754c34a767d18e.rlib --extern openssl=/root/pijul.org/pijul/target/release/deps/libopenssl-10e15865b065de9b.rlib --extern cookie=/root/pijul.org/pijul/target/release/deps/libcookie-1a49c5e56795a7fe.rlib --extern traitobject=/root/pijul.org/pijul/target/release/deps/libtraitobject-76fb5e9efd789d16.rlib --extern num_cpus=/root/pijul.org/pijul/target/release/deps/libnum_cpus-2a6fcb8d249106e4.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --cap-lints allow -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out`
   Compiling pijul v0.3.0 (file:///root/pijul.org/pijul)
     Running `rustc src/main.rs --crate-name pijul --crate-type bin -C opt-level=3 -C metadata=b233de532252c3b1 -C extra-filename=-b233de532252c3b1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern clap=/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib --extern libpijul=/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib --extern termios=/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern regex=/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern term=/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib --extern crypto=/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib --extern serde_json=/root/pijul.org/pijul/target/release/deps/libserde_json-23182e87f137c239.rlib --extern ssh=/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib --extern toml=/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib --extern env_logger=/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib --extern hyper=/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out`
warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
 --> src/commands/fs_operation.rs:6:41
  |
6 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
  |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/remote.rs:24:41
   |
24 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, branch_changes_base_path,branch_changes_file,PIJUL_DIR_NAME,PATCHES_DIR_NAME,patch_path};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/record.rs:26:41
   |
26 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/ls.rs:24:41
   |
24 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/revert.rs:26:41
   |
26 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `self::rustc_serialize::Encodable`, #[warn(unused_imports)] on by default
  --> src/meta.rs:29:5
   |
29 | use self::rustc_serialize::Encodable;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/root/pijul.org/pijul/target/release/deps/pijul-b233de532252c3b1.0.o" "-o" "/root/pijul.org/pijul/target/release/deps/pijul-b233de532252c3b1" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-L" "/root/pijul.org/pijul/target/release/deps" "-L" "/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out" "-L" "/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out" "-L" "/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out" "-L" "/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib" "/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib" "/root/pijul.org/pijul/target/release/deps/libvec_map-18957d7ea33348b8.rlib" "/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib" "/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib" "/root/pijul.org/pijul/target/release/deps/libsolicit-de754c34a767d18e.rlib" "/root/pijul.org/pijul/target/release/deps/liburl-1f5222fa00222bb0.rlib" "/root/pijul.org/pijul/target/release/deps/libtypeable-a369bc2379fd1684.rlib" "/root/pijul.org/pijul/target/release/deps/libunicode_width-64342cb086526dea.rlib" "/root/pijul.org/pijul/target/release/deps/libcookie-1a49c5e56795a7fe.rlib" "/root/pijul.org/pijul/target/release/deps/libopenssl-10e15865b065de9b.rlib" "/root/pijul.org/pijul/target/release/deps/libbitflags-75b969e27d3be669.rlib" "/root/pijul.org/pijul/target/release/deps/liburl-8c37fce4699fffdb.rlib" "/root/pijul.org/pijul/target/release/deps/libidna-6790675c414d56a4.rlib" "/root/pijul.org/pijul/target/release/deps/libunicode_bidi-a5fd9cddb6cb4ce5.rlib" "/root/pijul.org/pijul/target/release/deps/libtraitobject-76fb5e9efd789d16.rlib" "/root/pijul.org/pijul/target/release/deps/libunicode_normalization-18b6b7b520fe76ac.rlib" "/root/pijul.org/pijul/target/release/deps/libopenssl_sys_extras-38273e27347e82aa.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_cpus-2a6fcb8d249106e4.rlib" "/root/pijul.org/pijul/target/release/deps/libmime-0dcdced96d6be771.rlib" "/root/pijul.org/pijul/target/release/deps/libserde-e7b6efd58ca9f8cc.rlib" "/root/pijul.org/pijul/target/release/deps/libnum-3dece1aa21302fe4.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_rational-3914dbd25c5644db.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_bigint-57ff2633df1f6fcf.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_complex-038dc9221f28c87a.rlib" "/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib" "/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib" "/root/pijul.org/pijul/target/release/deps/libutf8_ranges-dcb91caced8c46dd.rlib" "/root/pijul.org/pijul/target/release/deps/libregex_syntax-a56cad04dceb72c4.rlib" "/root/pijul.org/pijul/target/release/deps/libaho_corasick-0ff9f44df26fc050.rlib" "/root/pijul.org/pijul/target/release/deps/libmemchr-e8ffe705a7a337af.rlib" "/root/pijul.org/pijul/target/release/deps/libansi_term-117c4bbcb24dd176.rlib" "/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib" "/root/pijul.org/pijul/target/release/deps/libflate2-a6c701e65511ba5f.rlib" "/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib" "/root/pijul.org/pijul/target/release/deps/libsanakirja-4a55281b38f7a679.rlib" "/root/pijul.org/pijul/target/release/deps/libfs2-7ec9a39f6b48b5b8.rlib" "/root/pijul.org/pijul/target/release/deps/libbitflags-0d0368ffb498bf53.rlib" "/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib" "/root/pijul.org/pijul/target/release/deps/libcbor-dd972acac6c4bfd9.rlib" "/root/pijul.org/pijul/target/release/deps/libbyteorder-52ebe783de20a63d.rlib" "/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib" "/root/pijul.org/pijul/target/release/deps/libbitflags-99b4bb31211a8680.rlib" "/root/pijul.org/pijul/target/release/deps/libmatches-0c2de63a6d9d196d.rlib" "/root/pijul.org/pijul/target/release/deps/libopenssl_sys-1829f186a2f1ff9f.rlib" "/root/pijul.org/pijul/target/release/deps/libhttparse-e32aeaa123984026.rlib" "/root/pijul.org/pijul/target/release/deps/liblanguage_tags-77e5b6b0134abf0f.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_iter-1528723a2af3f710.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_integer-72c344ee9db0da04.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib" "/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib" "/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib" "/root/pijul.org/pijul/target/release/deps/libstrsim-e0d667b9de98dc74.rlib" "/root/pijul.org/pijul/target/release/deps/libmemmap-6fe6d87c2e3430d4.rlib" "/root/pijul.org/pijul/target/release/deps/libminiz_sys-bff142974d62cad7.rlib" "/root/pijul.org/pijul/target/release/deps/libthread_local-f3a96be1c215c46f.rlib" "/root/pijul.org/pijul/target/release/deps/libthread_id-f49bb10822c205cd.rlib" "/root/pijul.org/pijul/target/release/deps/libuuid-ad873e1a65fba58d.rlib" "/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib" "/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib" "/root/pijul.org/pijul/target/release/deps/liblazy_static-7038e6141956ec08.rlib" "/root/pijul.org/pijul/target/release/deps/libunicase-55cc8fd9d1125fbc.rlib" "/root/pijul.org/pijul/target/release/deps/libhpack-9ddb2ca78afe3185.rlib" "/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-570da8f8.rlib" "-l" "c" "-l" "ssh" "-l" "ssl" "-l" "crypto" "-l" "util" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "util"
  = note: /usr/bin/ld: cannot find -lssh
collect2: error: ld returned 1 exit status


error: aborting due to previous error

error: failed to compile `pijul v0.3.0 (file:///root/pijul.org/pijul)`, intermediate artifacts can be found at `/root/pijul.org/pijul/target`

Caused by:
  Could not compile `pijul`.

Caused by:
  process didn't exit successfully: `rustc src/main.rs --crate-name pijul --crate-type bin -C opt-level=3 -C metadata=b233de532252c3b1 -C extra-filename=-b233de532252c3b1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern clap=/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib --extern libpijul=/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib --extern termios=/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern regex=/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern term=/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib --extern crypto=/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib --extern serde_json=/root/pijul.org/pijul/target/release/deps/libserde_json-23182e87f137c239.rlib --extern ssh=/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib --extern toml=/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib --extern env_logger=/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib --extern hyper=/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out` (exit code: 101)
今度はsshのライブラリーが足りなくrustのコンパイルに失敗している。
yumでssh関連のパッケージを探してみる。
# yum --disablerepo=\* --enablerepo=base search ssh
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
========================================================== N/S matched: ssh ==========================================================
fence-agents-ilo-ssh.x86_64 : Fence agent for HP iLO devices via SSH
ksshaskpass.x86_64 : A KDE version of ssh-askpass with KWallet support
libssh2.i686 : A library implementing the SSH2 protocol
libssh2.x86_64 : A library implementing the SSH2 protocol
libssh2-devel.i686 : Development files for libssh2
libssh2-devel.x86_64 : Development files for libssh2
libssh2-docs.noarch : Documentation for libssh2
openssh.x86_64 : An open source implementation of SSH protocol versions 1 and 2
openssh-askpass.x86_64 : A passphrase dialog for OpenSSH and X
openssh-clients.x86_64 : An open source SSH client applications
openssh-keycat.x86_64 : A mls keycat backend for openssh
openssh-ldap.x86_64 : A LDAP support for open source SSH server daemon
openssh-server.x86_64 : An open source SSH server daemon
openssh-server-sysvinit.x86_64 : The SysV initscript to manage the OpenSSH server.
pam_ssh_agent_auth.i686 : PAM module for authentication with ssh-agent
pam_ssh_agent_auth.x86_64 : PAM module for authentication with ssh-agent
jsch.noarch : Pure Java implementation of SSH2

  Name and summary matches only, use "search all" for everything.
既にインストール済みのssh関連rpmは以下の通りだった。
# rpm -qa | grep ssh | sort
libssh2-1.4.3-10.el7_2.1.x86_64
openssh-6.6.1p1-31.el7.x86_64
openssh-clients-6.6.1p1-31.el7.x86_64
openssh-server-6.6.1p1-31.el7.x86_64
libssh2-develを追加する。
# yum --disablerepo=\* --enablerepo=base install libssh2-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
Resolving Dependencies
--> Running transaction check
---> Package libssh2-devel.x86_64 0:1.4.3-10.el7_2.1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                            Arch                        Version                               Repository                 Size
======================================================================================================================================
Installing:
 libssh2-devel                      x86_64                      1.4.3-10.el7_2.1                      base                       54 k

Transaction Summary
======================================================================================================================================
Install  1 Package

Total download size: 54 k
Installed size: 265 k
Is this ok [y/d/N]: y
Downloading packages:
libssh2-devel-1.4.3-10.el7_2.1.x86_64.rpm                                                                      |  54 kB  00:00:05     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libssh2-devel-1.4.3-10.el7_2.1.x86_64                                                                              1/1 
  Verifying  : libssh2-devel-1.4.3-10.el7_2.1.x86_64                                                                              1/1 

Installed:
  libssh2-devel.x86_64 0:1.4.3-10.el7_2.1                                                                                             

Complete!
再度cargoを実行してみる。
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install --verbose
warning: TOML file found which contains invalid syntax and will soon not parse
at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`.

The TOML spec requires newlines after table definitions (e.g. `[a] b = 1` is
invalid), but this file has a table header which does not have a newline after
it. A newline needs to be added and this warning will soon become a hard error
in the future.
       Fresh gcc v0.3.28
       Fresh typeable v0.1.2
       Fresh lazy_static v0.2.1
       Fresh vec_map v0.6.0
       Fresh winapi v0.2.7
       Fresh matches v0.1.2
       Fresh unicode-bidi v0.2.3
       Fresh libc v0.2.11
       Fresh rand v0.3.14
       Fresh uuid v0.2.2
       Fresh semver v0.1.20
       Fresh httparse v1.1.2
       Fresh num-traits v0.1.32
       Fresh ansi_term v0.7.2
       Fresh utf8-ranges v0.1.3
       Fresh bitflags v0.7.0
       Fresh strsim v0.4.1
       Fresh byteorder v0.3.13
       Fresh num-integer v0.1.32
       Fresh unicode-normalization v0.1.2
       Fresh idna v0.1.0
       Fresh url v1.1.0
       Fresh rustc-serialize v0.3.19
       Fresh url v0.5.9
       Fresh cbor v0.3.16
       Fresh num-bigint v0.1.32
       Fresh toml v0.1.30
       Fresh bitflags v0.3.3
       Fresh regex-syntax v0.3.3
       Fresh winapi-build v0.1.1
       Fresh kernel32-sys v0.2.2
       Fresh fs2 v0.2.4
       Fresh memmap v0.3.0
       Fresh thread-id v2.0.0
       Fresh thread_local v0.2.5
       Fresh term v0.2.14
       Fresh time v0.1.35
       Fresh termios v0.2.2
       Fresh rust-crypto v0.2.36
       Fresh num-complex v0.1.32
       Fresh bitflags v0.5.0
       Fresh log v0.3.6
       Fresh hpack v0.2.0
       Fresh solicit v0.4.4
       Fresh ssh v0.1.4
       Fresh num-iter v0.1.32
       Fresh pkg-config v0.3.8
       Fresh language-tags v0.2.2
       Fresh memchr v0.1.11
       Fresh aho-corasick v0.5.2
       Fresh regex v0.1.71
       Fresh env_logger v0.3.3
       Fresh sanakirja v0.4.4 (file:///root/pijul.org/pijul/src/libpijul/src/sanakirja)
       Fresh miniz-sys v0.1.7
       Fresh flate2 v0.2.14
       Fresh libpijul v0.3.0 (file:///root/pijul.org/pijul/src/libpijul)
       Fresh rustc_version v0.1.7
       Fresh unicode-width v0.1.3
       Fresh clap v2.5.2
       Fresh traitobject v0.0.1
       Fresh unicase v1.4.0
       Fresh num-rational v0.1.32
       Fresh num v0.1.32
       Fresh openssl-sys v0.7.13
       Fresh openssl-sys-extras v0.7.13
       Fresh openssl v0.7.13
       Fresh cookie v0.2.4
       Fresh num_cpus v0.2.12
       Fresh serde v0.6.15
       Fresh mime v0.1.3
       Fresh hyper v0.7.2
       Fresh serde_json v0.6.1
   Compiling pijul v0.3.0 (file:///root/pijul.org/pijul)
     Running `rustc src/main.rs --crate-name pijul --crate-type bin -C opt-level=3 -C metadata=b233de532252c3b1 -C extra-filename=-b233de532252c3b1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern clap=/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib --extern ssh=/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib --extern serde_json=/root/pijul.org/pijul/target/release/deps/libserde_json-23182e87f137c239.rlib --extern regex=/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib --extern termios=/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern toml=/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib --extern crypto=/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib --extern libpijul=/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern env_logger=/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib --extern hyper=/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern term=/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out`
warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
 --> src/commands/fs_operation.rs:6:41
  |
6 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
  |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/remote.rs:24:41
   |
24 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, branch_changes_base_path,branch_changes_file,PIJUL_DIR_NAME,PATCHES_DIR_NAME,patch_path};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/record.rs:26:41
   |
26 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/ls.rs:24:41
   |
24 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/revert.rs:26:41
   |
26 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `self::rustc_serialize::Encodable`, #[warn(unused_imports)] on by default
  --> src/meta.rs:29:5
   |
29 | use self::rustc_serialize::Encodable;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: linking with `cc` failed: exit code: 1
  |
  = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/root/pijul.org/pijul/target/release/deps/pijul-b233de532252c3b1.0.o" "-o" "/root/pijul.org/pijul/target/release/deps/pijul-b233de532252c3b1" "-Wl,--gc-sections" "-pie" "-Wl,-O1" "-nodefaultlibs" "-L" "/root/pijul.org/pijul/target/release/deps" "-L" "/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out" "-L" "/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out" "-L" "/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out" "-L" "/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out" "-L" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,-Bdynamic" "/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib" "/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib" "/root/pijul.org/pijul/target/release/deps/libvec_map-18957d7ea33348b8.rlib" "/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib" "/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib" "/root/pijul.org/pijul/target/release/deps/libsolicit-de754c34a767d18e.rlib" "/root/pijul.org/pijul/target/release/deps/liburl-1f5222fa00222bb0.rlib" "/root/pijul.org/pijul/target/release/deps/libtypeable-a369bc2379fd1684.rlib" "/root/pijul.org/pijul/target/release/deps/libunicode_width-64342cb086526dea.rlib" "/root/pijul.org/pijul/target/release/deps/libcookie-1a49c5e56795a7fe.rlib" "/root/pijul.org/pijul/target/release/deps/libopenssl-10e15865b065de9b.rlib" "/root/pijul.org/pijul/target/release/deps/libbitflags-75b969e27d3be669.rlib" "/root/pijul.org/pijul/target/release/deps/liburl-8c37fce4699fffdb.rlib" "/root/pijul.org/pijul/target/release/deps/libidna-6790675c414d56a4.rlib" "/root/pijul.org/pijul/target/release/deps/libunicode_bidi-a5fd9cddb6cb4ce5.rlib" "/root/pijul.org/pijul/target/release/deps/libtraitobject-76fb5e9efd789d16.rlib" "/root/pijul.org/pijul/target/release/deps/libunicode_normalization-18b6b7b520fe76ac.rlib" "/root/pijul.org/pijul/target/release/deps/libopenssl_sys_extras-38273e27347e82aa.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_cpus-2a6fcb8d249106e4.rlib" "/root/pijul.org/pijul/target/release/deps/libmime-0dcdced96d6be771.rlib" "/root/pijul.org/pijul/target/release/deps/libserde-e7b6efd58ca9f8cc.rlib" "/root/pijul.org/pijul/target/release/deps/libnum-3dece1aa21302fe4.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_rational-3914dbd25c5644db.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_bigint-57ff2633df1f6fcf.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_complex-038dc9221f28c87a.rlib" "/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib" "/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib" "/root/pijul.org/pijul/target/release/deps/libutf8_ranges-dcb91caced8c46dd.rlib" "/root/pijul.org/pijul/target/release/deps/libregex_syntax-a56cad04dceb72c4.rlib" "/root/pijul.org/pijul/target/release/deps/libaho_corasick-0ff9f44df26fc050.rlib" "/root/pijul.org/pijul/target/release/deps/libmemchr-e8ffe705a7a337af.rlib" "/root/pijul.org/pijul/target/release/deps/libansi_term-117c4bbcb24dd176.rlib" "/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib" "/root/pijul.org/pijul/target/release/deps/libflate2-a6c701e65511ba5f.rlib" "/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib" "/root/pijul.org/pijul/target/release/deps/libsanakirja-4a55281b38f7a679.rlib" "/root/pijul.org/pijul/target/release/deps/libfs2-7ec9a39f6b48b5b8.rlib" "/root/pijul.org/pijul/target/release/deps/libbitflags-0d0368ffb498bf53.rlib" "/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib" "/root/pijul.org/pijul/target/release/deps/libcbor-dd972acac6c4bfd9.rlib" "/root/pijul.org/pijul/target/release/deps/libbyteorder-52ebe783de20a63d.rlib" "/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib" "/root/pijul.org/pijul/target/release/deps/libbitflags-99b4bb31211a8680.rlib" "/root/pijul.org/pijul/target/release/deps/libmatches-0c2de63a6d9d196d.rlib" "/root/pijul.org/pijul/target/release/deps/libopenssl_sys-1829f186a2f1ff9f.rlib" "/root/pijul.org/pijul/target/release/deps/libhttparse-e32aeaa123984026.rlib" "/root/pijul.org/pijul/target/release/deps/liblanguage_tags-77e5b6b0134abf0f.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_iter-1528723a2af3f710.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_integer-72c344ee9db0da04.rlib" "/root/pijul.org/pijul/target/release/deps/libnum_traits-b1532fddd589e79f.rlib" "/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib" "/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib" "/root/pijul.org/pijul/target/release/deps/libstrsim-e0d667b9de98dc74.rlib" "/root/pijul.org/pijul/target/release/deps/libmemmap-6fe6d87c2e3430d4.rlib" "/root/pijul.org/pijul/target/release/deps/libminiz_sys-bff142974d62cad7.rlib" "/root/pijul.org/pijul/target/release/deps/libthread_local-f3a96be1c215c46f.rlib" "/root/pijul.org/pijul/target/release/deps/libthread_id-f49bb10822c205cd.rlib" "/root/pijul.org/pijul/target/release/deps/libuuid-ad873e1a65fba58d.rlib" "/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib" "/root/pijul.org/pijul/target/release/deps/liblibc-231c6934ae1f4eea.rlib" "/root/pijul.org/pijul/target/release/deps/liblazy_static-7038e6141956ec08.rlib" "/root/pijul.org/pijul/target/release/deps/libunicase-55cc8fd9d1125fbc.rlib" "/root/pijul.org/pijul/target/release/deps/libhpack-9ddb2ca78afe3185.rlib" "/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/librand-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcollections-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc_system-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_unicode-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-570da8f8.rlib" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-570da8f8.rlib" "-l" "c" "-l" "ssh" "-l" "ssl" "-l" "crypto" "-l" "util" "-l" "dl" "-l" "pthread" "-l" "gcc_s" "-l" "c" "-l" "m" "-l" "rt" "-l" "util"
  = note: /usr/bin/ld: cannot find -lssh
collect2: error: ld returned 1 exit status


error: aborting due to previous error

error: failed to compile `pijul v0.3.0 (file:///root/pijul.org/pijul)`, intermediate artifacts can be found at `/root/pijul.org/pijul/target`

Caused by:
  Could not compile `pijul`.

Caused by:
  process didn't exit successfully: `rustc src/main.rs --crate-name pijul --crate-type bin -C opt-level=3 -C metadata=b233de532252c3b1 -C extra-filename=-b233de532252c3b1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern clap=/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib --extern ssh=/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib --extern serde_json=/root/pijul.org/pijul/target/release/deps/libserde_json-23182e87f137c239.rlib --extern regex=/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib --extern termios=/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern toml=/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib --extern crypto=/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib --extern libpijul=/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern env_logger=/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib --extern hyper=/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern term=/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out` (exit code: 101)
同一のエラーによりコンパイルできなかった。
他のsshライブラリーが必要の様だ。
今度は全てのyumレポジトリを探してみる。
# yum search ssh
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp.jaist.ac.jp
 * updates: ftp.jaist.ac.jp
========================================================== N/S matched: ssh ==========================================================
autossh.x86_64 : Utility to autorestart SSH tunnels
erlang-ssh.x86_64 : Secure Shell application with sftp and ssh support
fence-agents-ilo-ssh.x86_64 : Fence agent for HP iLO devices via SSH
fuse-sshfs.x86_64 : FUSE-Filesystem to access remote filesystems via SSH
gsi-openssh.x86_64 : An implementation of the SSH protocol with GSI authentication
gsi-openssh-clients.x86_64 : SSH client applications with GSI authentication
gsi-openssh-server.x86_64 : SSH server daemon with GSI authentication
ksshaskpass.x86_64 : A KDE version of ssh-askpass with KWallet support
libguac-client-ssh.x86_64 : SSH support for guacd
libssh.x86_64 : A library implementing the SSH protocol
libssh-devel.x86_64 : Development files for libssh
libssh2.i686 : A library implementing the SSH2 protocol
libssh2.x86_64 : A library implementing the SSH2 protocol
libssh2-devel.i686 : Development files for libssh2
libssh2-devel.x86_64 : Development files for libssh2
libssh2-docs.noarch : Documentation for libssh2
lxqt-openssh-askpass.x86_64 : Askpass openssh transition dialog for LXQt desktop suite
lxqt-openssh-askpass-l10n.noarch : Translations for lxqt-openssh-askpass
mingw32-libssh2.noarch : MinGW Windows library implementation of the SSH2 protocol
mingw32-libssh2-static.noarch : Static version of the MinGW Windows SSH2 library
mingw64-libssh2.noarch : MinGW Windows library implementation of the SSH2 protocol
mingw64-libssh2-static.noarch : Static version of the MinGW Windows SSH2 library
mpssh.x86_64 : Parallel ssh tool
mussh.noarch : Multihost SSH wrapper
nagios-plugins-by_ssh.x86_64 : Nagios Plugin - check_by_ssh
nagios-plugins-ssh.x86_64 : Nagios Plugin - check_ssh
openssh.x86_64 : An open source implementation of SSH protocol versions 1 and 2
openssh-askpass.x86_64 : A passphrase dialog for OpenSSH and X
openssh-clients.x86_64 : An open source SSH client applications
openssh-keycat.x86_64 : A mls keycat backend for openssh
openssh-ldap.x86_64 : A LDAP support for open source SSH server daemon
openssh-server.x86_64 : An open source SSH server daemon
openssh-server-sysvinit.x86_64 : The SysV initscript to manage the OpenSSH server.
pam_ssh.x86_64 : PAM module for use with SSH keys and ssh-agent
pam_ssh_agent_auth.i686 : PAM module for authentication with ssh-agent
pam_ssh_agent_auth.x86_64 : PAM module for authentication with ssh-agent
pdsh-rcmd-ssh.x86_64 : Provides ssh rcmd capability to pdsh
perl-Net-OpenSSH.noarch : Perl SSH client package implemented on top of OpenSSH
php-pecl-ssh2.x86_64 : Bindings for the libssh2 library
php-phpseclib-net-ssh2.noarch : Pure-PHP implementation of SSHv2
pssh.noarch : Parallel SSH tools
rubygem-net-ssh.noarch : Net::SSH: a pure-Ruby implementation of the SSH2 client protocol
rubygem-net-ssh-doc.noarch : Documentation for rubygem-net-ssh
rubygem-net-ssh-gateway.noarch : A simple library to assist in establishing tunneled Net::SSH connections
rubygem-net-ssh-gateway-doc.noarch : Documentation for rubygem-net-ssh-gateway
rubygem-net-ssh-multi.noarch : Control multiple Net::SSH connections via a single interface
rubygem-net-ssh-multi-doc.noarch : Documentation for rubygem-net-ssh-multi
rubygem-sshkey.noarch : Generate private/public SSH key-pairs using pure Ruby
rubygem-sshkey-doc.noarch : Documentation for sshkey
salt-ssh.noarch : Agentless SSH-based version of Salt, a parallel remote execution system
sshpass.x86_64 : Non-interactive SSH authentication utility
ansible.noarch : SSH-based configuration management, deployment, and task execution system
ansible1.9.noarch : SSH-based configuration management, deployment, and task execution system
clusterssh.noarch : Secure concurrent multiple server terminal control
connect-proxy.x86_64 : SSH Proxy command helper
denyhosts.noarch : A script to help thwart ssh server attacks
dropbear.x86_64 : Lightweight SSH server and client
hash-slinger.noarch : Generate various DNS records such as RFC-4255 SSHFP and RFC-698 TLSA
jsch.noarch : Pure Java implementation of SSH2
monkeysphere.noarch : Use the OpenPGP web of trust to verify SSH connections
perl-Net-SFTP-Foreign.noarch : SSH File Transfer Protocol client
python-paramiko.noarch : SSH2 protocol library for python
python-paramiko-doc.noarch : Docs and demo for SSH2 protocol library for python
python2-paramiko.noarch : SSH2 protocol library for python
python2-spur.noarch : Run commands locally or over SSH using the same interface
python34-paramiko.noarch : SSH2 protocol library for python
python34-spur.noarch : Run commands locally or over SSH using the same interface
rho.noarch : An SSH system profiler
scponly.x86_64 : Restricted shell for ssh based file services
sshuttle.noarch : Transparent Proxy VPN
sslh.x86_64 : Applicative protocol(SSL/SSH) multiplexer

  Name and summary matches only, use "search all" for everything.
libssh-develというrpmもある様だ。 これをインストールしてみる。
# yum install libssh-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.jaist.ac.jp
 * epel: ftp.jaist.ac.jp
 * extras: ftp.jaist.ac.jp
 * updates: ftp.jaist.ac.jp
Resolving Dependencies
--> Running transaction check
---> Package libssh-devel.x86_64 0:0.7.1-2.el7 will be installed
--> Processing Dependency: libssh(x86-64) = 0.7.1-2.el7 for package: libssh-devel-0.7.1-2.el7.x86_64
--> Processing Dependency: cmake for package: libssh-devel-0.7.1-2.el7.x86_64
--> Processing Dependency: libssh_threads.so.4()(64bit) for package: libssh-devel-0.7.1-2.el7.x86_64
--> Processing Dependency: libssh.so.4()(64bit) for package: libssh-devel-0.7.1-2.el7.x86_64
--> Running transaction check
---> Package cmake.x86_64 0:2.8.12.2-2.el7 will be installed
--> Processing Dependency: libarchive.so.13()(64bit) for package: cmake-2.8.12.2-2.el7.x86_64
---> Package libssh.x86_64 0:0.7.1-2.el7 will be installed
--> Running transaction check
---> Package libarchive.x86_64 0:3.1.2-10.el7_2 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================================
 Package                           Arch                        Version                              Repository                   Size
======================================================================================================================================
Installing:
 libssh-devel                      x86_64                      0.7.1-2.el7                          extras                      273 k
Installing for dependencies:
 cmake                             x86_64                      2.8.12.2-2.el7                       base                        7.1 M
 libarchive                        x86_64                      3.1.2-10.el7_2                       base                        318 k
 libssh                            x86_64                      0.7.1-2.el7                          extras                      194 k

Transaction Summary
======================================================================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 7.8 M
Installed size: 31 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): libssh-devel-0.7.1-2.el7.x86_64.rpm                                                                     | 273 kB  00:00:00     
(2/4): libarchive-3.1.2-10.el7_2.x86_64.rpm                                                                    | 318 kB  00:00:00     
(3/4): libssh-0.7.1-2.el7.x86_64.rpm                                                                           | 194 kB  00:00:01     
(4/4): cmake-2.8.12.2-2.el7.x86_64.rpm                                                                         | 7.1 MB  00:00:03     
--------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                 2.5 MB/s | 7.8 MB  00:00:03     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : libarchive-3.1.2-10.el7_2.x86_64                                                                                   1/4 
  Installing : cmake-2.8.12.2-2.el7.x86_64                                                                                        2/4 
  Installing : libssh-0.7.1-2.el7.x86_64                                                                                          3/4 
  Installing : libssh-devel-0.7.1-2.el7.x86_64                                                                                    4/4 
  Verifying  : libssh-devel-0.7.1-2.el7.x86_64                                                                                    1/4 
  Verifying  : cmake-2.8.12.2-2.el7.x86_64                                                                                        2/4 
  Verifying  : libssh-0.7.1-2.el7.x86_64                                                                                          3/4 
  Verifying  : libarchive-3.1.2-10.el7_2.x86_64                                                                                   4/4 

Installed:
  libssh-devel.x86_64 0:0.7.1-2.el7                                                                                                   

Dependency Installed:
  cmake.x86_64 0:2.8.12.2-2.el7              libarchive.x86_64 0:3.1.2-10.el7_2              libssh.x86_64 0:0.7.1-2.el7             

Complete!
cmakeもインストールされてしまう。
既にcmakeを利用している場合は留意が必要と思われる。
再度cargoを実行してみる。
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install --verbose
warning: TOML file found which contains invalid syntax and will soon not parse
at `/root/.cargo/registry/src/github.com-1ecc6299db9ec823/url-0.5.9/Cargo.toml`.

The TOML spec requires newlines after table definitions (e.g. `[a] b = 1` is
invalid), but this file has a table header which does not have a newline after
it. A newline needs to be added and this warning will soon become a hard error
in the future.
       Fresh ansi_term v0.7.2
       Fresh libc v0.2.11
       Fresh winapi-build v0.1.1
       Fresh winapi v0.2.7
       Fresh bitflags v0.7.0
       Fresh utf8-ranges v0.1.3
       Fresh regex-syntax v0.3.3
       Fresh httparse v1.1.2
       Fresh termios v0.2.2
       Fresh lazy_static v0.2.1
       Fresh log v0.3.6
       Fresh rustc-serialize v0.3.19
       Fresh toml v0.1.30
       Fresh unicode-normalization v0.1.2
       Fresh num_cpus v0.2.12
       Fresh gcc v0.3.28
       Fresh semver v0.1.20
       Fresh rustc_version v0.1.7
       Fresh memchr v0.1.11
       Fresh language-tags v0.2.2
       Fresh typeable v0.1.2
       Fresh unicase v1.4.0
       Fresh hpack v0.2.0
       Fresh rand v0.3.14
       Fresh uuid v0.2.2
       Fresh num-traits v0.1.32
       Fresh num-complex v0.1.32
       Fresh bitflags v0.3.3
       Fresh byteorder v0.3.13
       Fresh cbor v0.3.16
       Fresh kernel32-sys v0.2.2
       Fresh time v0.1.35
       Fresh term v0.2.14
       Fresh thread-id v2.0.0
       Fresh fs2 v0.2.4
       Fresh memmap v0.3.0
       Fresh traitobject v0.0.1
       Fresh solicit v0.4.4
       Fresh strsim v0.4.1
       Fresh bitflags v0.5.0
       Fresh unicode-width v0.1.3
       Fresh matches v0.1.2
       Fresh unicode-bidi v0.2.3
       Fresh url v0.5.9
       Fresh idna v0.1.0
       Fresh url v1.1.0
       Fresh aho-corasick v0.5.2
       Fresh num-integer v0.1.32
       Fresh num-bigint v0.1.32
       Fresh num-rational v0.1.32
       Fresh num-iter v0.1.32
       Fresh miniz-sys v0.1.7
       Fresh flate2 v0.2.14
       Fresh ssh v0.1.4
       Fresh vec_map v0.6.0
       Fresh clap v2.5.2
       Fresh rust-crypto v0.2.36
       Fresh thread_local v0.2.5
       Fresh regex v0.1.71
       Fresh env_logger v0.3.3
       Fresh sanakirja v0.4.4 (file:///root/pijul.org/pijul/src/libpijul/src/sanakirja)
       Fresh libpijul v0.3.0 (file:///root/pijul.org/pijul/src/libpijul)
       Fresh pkg-config v0.3.8
       Fresh openssl-sys v0.7.13
       Fresh openssl-sys-extras v0.7.13
       Fresh openssl v0.7.13
       Fresh cookie v0.2.4
       Fresh num v0.1.32
       Fresh serde v0.6.15
       Fresh mime v0.1.3
       Fresh serde_json v0.6.1
       Fresh hyper v0.7.2
   Compiling pijul v0.3.0 (file:///root/pijul.org/pijul)
     Running `rustc src/main.rs --crate-name pijul --crate-type bin -C opt-level=3 -C metadata=b233de532252c3b1 -C extra-filename=-b233de532252c3b1 --out-dir /root/pijul.org/pijul/target/release/deps --emit=dep-info,link -L dependency=/root/pijul.org/pijul/target/release/deps --extern env_logger=/root/pijul.org/pijul/target/release/deps/libenv_logger-896ca0126c3aeb71.rlib --extern toml=/root/pijul.org/pijul/target/release/deps/libtoml-4991f78d06577435.rlib --extern serde_json=/root/pijul.org/pijul/target/release/deps/libserde_json-23182e87f137c239.rlib --extern time=/root/pijul.org/pijul/target/release/deps/libtime-a2357f7e6d3ad780.rlib --extern term=/root/pijul.org/pijul/target/release/deps/libterm-7cf5ff65a4814993.rlib --extern hyper=/root/pijul.org/pijul/target/release/deps/libhyper-7c4e0e09a644ec07.rlib --extern termios=/root/pijul.org/pijul/target/release/deps/libtermios-8caf4ba1c10ea1f5.rlib --extern ssh=/root/pijul.org/pijul/target/release/deps/libssh-c0e1b3ffaa755354.rlib --extern clap=/root/pijul.org/pijul/target/release/deps/libclap-12ae30445f022765.rlib --extern rand=/root/pijul.org/pijul/target/release/deps/librand-e6ec3ef634ec5eb1.rlib --extern log=/root/pijul.org/pijul/target/release/deps/liblog-bf3efb8bd76ca4a7.rlib --extern crypto=/root/pijul.org/pijul/target/release/deps/libcrypto-f83d849de3974049.rlib --extern libpijul=/root/pijul.org/pijul/target/release/deps/liblibpijul-c3de1ed8fb473c7b.rlib --extern rustc_serialize=/root/pijul.org/pijul/target/release/deps/librustc_serialize-31c7cf2c67ab15aa.rlib --extern regex=/root/pijul.org/pijul/target/release/deps/libregex-c1868cddd06a41a1.rlib -L native=/root/pijul.org/pijul/target/release/build/openssl-d799b404184be4f1/out -L native=/root/pijul.org/pijul/target/release/build/openssl-sys-extras-c284211a61168afa/out -L native=/root/pijul.org/pijul/target/release/build/rust-crypto-ed6f35bcd4283630/out -L native=/root/pijul.org/pijul/target/release/build/miniz-sys-60c8d67696f63a43/out`
warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
 --> src/commands/fs_operation.rs:6:41
  |
6 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
  |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/remote.rs:24:41
   |
24 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, branch_changes_base_path,branch_changes_file,PIJUL_DIR_NAME,PATCHES_DIR_NAME,patch_path};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/record.rs:26:41
   |
26 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/ls.rs:24:41
   |
24 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `repo_dir`, #[warn(unused_imports)] on by default
  --> src/commands/revert.rs:26:41
   |
26 | use self::libpijul::fs_representation::{repo_dir, pristine_dir, find_repo_root};
   |                                         ^^^^^^^^

warning: unused import: `self::rustc_serialize::Encodable`, #[warn(unused_imports)] on by default
  --> src/meta.rs:29:5
   |
29 | use self::rustc_serialize::Encodable;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    Finished release [optimized] target(s) in 64.78 secs
  Installing /root/.cargo/bin/pijul
warning: be sure to add `/root/.cargo/bin` to your PATH to be able to run the installed binaries
warnigが出るもの今度はインストールが出来た。
試しに、pijulを実行してみる。
/rootディレクトリで実行していたので、/root/.cargo/bin配下にインストールされてしまった様だ。
# /root/.cargo/bin/pijul
オプションがなければ、何も実行されない。
ヘルプメッセージでも見てみる。
# /root/.cargo/bin/pijul --help
pijul 0.3.0
Pierre-Étienne Meunier and Florent Becker
Version Control: fast, distributed, easy to use; pick any three

USAGE:
    pijul [FLAGS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

SUBCOMMANDS:
    add       add a file to the repository
    apply     apply a patch
    check     Check the sanity of a repository
    clone     clone a remote repository
    help      Prints this message or the help of the given subcommand(s)
    info      Get information about the current repository, if any
    init      Create a new repository
    login     Get an authentication link to a remote server.
    ls        list tracked files
    mv        Change file names
    pull      pull from a remote repository
    push      push to a remote repository
    record    record changes in the repository
    remove    remove file from the repository
    revert    Rewrite the working copy from the pristine
とりあえずのところ無事インストールされた様だ。
0.3.0というバージョンがインストールできた事が確認できる。
長くなったがtreeコマンドで確認したディレクトリ構成も載せておく。
pijul.org
|-- _darcs
|   |-- format
|   |-- hashed_inventory
|   |-- inventories
|   |   `-- 0000048091-293a4f0861a81647a5cf0b11619636e3625b1739090bd84d3852fad563e99194
|   |-- patches
|   |   |-- 0000000175-1a8846bb5cb9e0b7b6e91d6ce3bf9e4d7c64f331f242a03705c6e095cf0ed197
|   |   |-- 0000000211-d697a81c18621c497a36c1c2bb103da542ca5c2c8417b3c1d66f97134083b65a
|   |   |-- 0000000244-bae1a0137cddd6823cb457be9c2087faa83cc3cf0ce66fdb1f6ed9044d7bc960
|   |   |-- 0000000268-23994096eaedc78229512edf3b154ef26b0df3e2f8bab2615091f50537497f6c
|   |   |-- 0000000329-1250f7f645986a747bad74bae4451803ba848cbf0fd2ca8aba09fce1b12c5ed9
|   |   |-- 0000000339-29257d4b66812ebad2e128d9036ac98b5c66c77347c6e67512ac39cb5f7b8957
|   |   |-- 0000000354-de80ab904317950719c236a572aeb6b3ecf6270eec52271a012ae5d2d8f1ac96
|   |   |-- 0000000368-f410e3feb8cc46101cefd0d63d9563ce58e439fe38ce7109cbb2e1cd1b35ca1c
|   |   |-- 0000000386-b5e8a87c466c4933701cb6e08738b7f015d121f116e8ffeb16a82ce3e15615db
|   |   |-- 0000000458-9a5f0135076eea682efc29d6615e8fcb0b8ee5a052d5cf4901c43527592a9dd4
|   |   |-- 0000000579-8e8fe081d1e80b12ab11099cef7d11a6374a5520a8688389d2a7443c059544a8
|   |   |-- 0000000603-aecd13a9636d15cceb5bb53defdd607e934cf2b74e0919d71b2121895b7b8dbc
|   |   |-- 0000000616-ca2543fb8622e63d4516012e62513510306a399588e52daf4a75d0fba8f4aadf
|   |   |-- 0000000683-8d5ace188d9a147c88b394260dcc7a91cace3594026e0b2dc489be40a756c88c
|   |   |-- 0000000735-72be8da6eb04efe098834cc7a05c9066f0fe519db70d5e8801b7046ddb882a54
|   |   |-- 0000000740-586a35c437e1fd3882ce43981e68f722261c4a5202030d4cb50275ea006dbb94
|   |   |-- 0000000838-f15be46c18552d0b903f67689e1ee33b77321c5dd87cdf56ee82b9fbcd30e6b7
|   |   |-- 0000000934-1f6b18c4d10c660c5881dd4641ae05e0118b32691638542dd6a5f79bf43c69e0
|   |   |-- 0000001022-79947e3984a9b44ca5c4920bd1f61d10bfb4860c652e3b5b7bd911e2ed71fd8f
|   |   |-- 0000001024-0256dbf8eea831bf154ac22464719b200697aec15a2c81aa6ad90e2632434e73
|   |   |-- 0000001025-b40658618a406dc9a79a134df18205a6cb5bae2721d36031c9f16df13d148fa8
|   |   |-- 0000001068-736841b5818f03025752d1902625ed02b9c9391b0f2d3c59564141c5cf7b06ec
|   |   |-- 0000001206-e355480d833b3169771af34dc4f07e4ac7028f28ca1a316e0380c202a152b8c2
|   |   |-- 0000001214-58323768432c9759069bb01a0133e739af5207388999af93b8a6efa06c12e752
|   |   |-- 0000001259-33278bc598fd35931ad376e90264a6195f86d99b4931ef7cf1dde36bc8486c5d
|   |   |-- 0000001272-f6e06ea3c059ce1dbec01c45dbc3789c3f1ba143bf95c4bfdc3865cbf9a109c5
|   |   |-- 0000001296-e30ffcad0355b7aa164152e433a0feb7c7d96bcacfdf7a300c7d99712fc331d6
|   |   |-- 0000001414-6a183b4389183552b61c69b7fecc4f54bbf9d141552a1b2b033126ac778da22c
|   |   |-- 0000001458-8e3bbfdb96e234e33ed2530ca3202201a42b290d8dc02afa3eeb5a3be232f5ed
|   |   |-- 0000001733-4b5723fddcbf4c73048c5784c4e896a57945bc053a3af145c8222cf596af3ec1
|   |   |-- 0000001751-7503704ec3ff211e270bdd5370f1699ddfd015fa5dc54d6d6f1f24df1cf0a274
|   |   |-- 0000001752-fc2b554549efbe07695033e83a3f9fb5843e007bf5e2eaeee168f1dd429b4c68
|   |   |-- 0000001800-2a06df03c5bc3fee871d05e22161bb65db844a3b1cc9a3a4a4deb4384501035c
|   |   |-- 0000001871-2a72f4486d60140e63657aa75da98f853747eebba7d3b2a35b14a9feb57b10fe
|   |   |-- 0000002100-fc2f7413c0387ac77429ef2fdd6c21cd92c87f7bf58a74247b2ee9ad7c7e3819
|   |   |-- 0000002227-eae2d3e6f34831816ea25a5d04ed161481447dfe8a9f4bf748b131c6e4a54106
|   |   |-- 0000002236-d8f464624ed701b957c4a7dd136d5421b080edd0226f7d3e7bdf56c256624ddd
|   |   |-- 0000002257-8772d38d0737890f1802b3e003b9f446ef5aa3ccc72a7c076b8f64b6da39433b
|   |   |-- 0000002347-fdfccac759e0c37657231a2fa12bb961c5c4740fd3e7063ead1c1c5e091f774a
|   |   |-- 0000002585-dbc023a35478c5144327f99b71e6ff4b1b6c85287ec699f2d64293f63a5f634a
|   |   |-- 0000002600-806c09bec3b49f2a08b91cc92929a6d2dc971f89adabbc3807856b2bf81b404b
|   |   |-- 0000002668-10e15c64a03b62b0f774987b0546f43ac3d1b2560ebf6efcd056cc382d36d950
|   |   |-- 0000002920-399666d07b5db98cdde546ac7ca5397fc763b12697eb3a33628125257e102ef4
|   |   |-- 0000002926-773d0b9a424fa3afcc3fb152cada6a1d8cf4b4fce789b06e3c4371556dec0e45
|   |   |-- 0000003073-8f20beffb6dad699fce695b8ef69f9be76536cffd00be7419519975a51bac8c1
|   |   |-- 0000003122-5437aa6005e7c26475fb4cfcc99e6c325d0c753b3a7e3a108b54fb649ff07149
|   |   |-- 0000003320-88276dccc2c9d2a0fdf05de70a5894dedb0e66d69cbcf044d6dbc8afcd7fba17
|   |   |-- 0000003460-7e4c044c0812ab4828abca947a60cc0c74c7ef4d70a5cc4b4ff5ff97db8fc4a3
|   |   |-- 0000003508-86e334cdf98a755778f4573827dfbb23611a079b27788b9e27597db56044b9c4
|   |   |-- 0000003993-7a6fe53774c318f38845a47f2ea0ec296f6383876b08a2219abe817419c151c2
|   |   |-- 0000004014-20835cf74bf526bbb4c28a15959d07bad8fc883a4a4c3d67298dfcea9ca90ea9
|   |   |-- 0000004354-0f98f2f6aa1de62916e76afe1258cb5c5eb15cab0e894bad9943a2d38019dec2
|   |   |-- 0000004415-05854e7e4fca6715483ea5aba0ab189e3d2e12586f45e2c8abc50aba3f28d640
|   |   |-- 0000004598-6c23557386466c74a463954dcf53e2a882df31a80a1c7b8738bd5995f6da8b2f
|   |   |-- 0000004689-f8120304c1e57ff9d54a38d81df4fdbab53819f72591f162c31f9a78625998de
|   |   |-- 0000004707-f6c7b65d932bf443959cf15fa297713c486ec9eecd4cc7b1d206ea0e8bde6f92
|   |   |-- 0000004743-da18e3437c08803242ea7273c477b54730e35ce4bd49638c486378c4a05b05cf
|   |   |-- 0000004829-f99530788286f94629202c8f4f353f6d309b8629641404584548747f491a4bc4
|   |   |-- 0000004910-a35db43d07cb5bb745b10ebcd2f0be0f7a07c06ffbb89063782723b686f29ada
|   |   |-- 0000004926-be480dabaee7391e5f778b0bee8793383d016202d4c7a5aaa5421a117b79e838
|   |   |-- 0000005123-0e2872c3ecab0cea1d3bbc5c2cf8b8ee9fa42a022fc63d70733dc971dc2e433d
|   |   |-- 0000005420-5ba8ffdde5c134184eba3b7f0bb29efac41445084a512ffb1516b5da2a578e9b
|   |   |-- 0000005715-79a57d624cd91a51614a32d7392b5dfd9ab385531a6858312ccb1510a1e660b8
|   |   |-- 0000005739-a7fbf914b759e6230ff096977adb5c9fde16ba57f51fec19b6c9d44f71ab44f0
|   |   |-- 0000005972-64ce4dc210ac182fa45e4158721628635400498c4901c1015c6dfe6ac9b83f6d
|   |   |-- 0000006096-2b8498e684f6f92991e3ed80b86cd7d6af454c651b4ec02a111cbdd6c3c94ac9
|   |   |-- 0000006295-75b75ce785f8cc5ceb2e58c92f6ad7d4239ae3068b7ed4eec931f03ee399e94a
|   |   |-- 0000006746-35ab60362fe12d295606f07e7817511759408ed7133b2ab958e4f555a81d2a67
|   |   |-- 0000006987-c9d9e0686b20e5c47fa01857139bec23bbcb180ddc97551931be00ac6ba1b2ef
|   |   |-- 0000007354-ad00a852201671f96a4abc719703a044f8bfb185e584dde7a7870326444c5091
|   |   |-- 0000007490-68fd90f7bc427a611bb0961bfc3c8317d8cb7735a7c53187cec09cf96764d527
|   |   |-- 0000008067-1007d0edfe6b12987317599c10c8bc55fd52bb45d6e692143c20c5c5c0fac842
|   |   |-- 0000008524-0286d4812dfb87ee525a5e9eed5f0822287c0ac21f272a2073eaefb82d0a7532
|   |   |-- 0000009754-92ab54c04efa3361a7b9210288eea07e21811ecde6fefdad3680aec3cb629a53
|   |   |-- 0000010671-54c67f65264cf09eea83ab3ca00f9d09e63810fc17f5e00ede97bfe011fc142c
|   |   |-- 0000010984-4e71ed1ad2151e5cf48b5105b5cbc25e07a9547119fb9c34b03cd070d68f30d0
|   |   |-- 0000011007-926ca06c03f6d321bf2cde87915b19b1e4b0772ee696cefd933d737b65b6d2fd
|   |   |-- 0000011709-4b7fab4d89d727e90aee2bb40c6e1d89a7827134a5da7ca7600f35c17f00e567
|   |   |-- 0000014971-b6a05277a1256e73ded8b5baf65822997c476535275ffa2c93048807c9c367f0
|   |   |-- 0000015032-99886023c501d52e6a69caab7cfd2b2dfa1fe5afd3035e923a6dce028c1176db
|   |   |-- 0000015715-ff96db69ff11516993495b0a7439a362bc0c2187456eba1f513bf0547ca0cff2
|   |   |-- 0000015987-310c9ea64e84a14d6435c76db7a9494276932f639d8c651f6b17328f442d3118
|   |   |-- 0000017911-1fdc0198703894a4e5ef623141cd781207b2fd4fac5cbf1efab4a7dba9d3bd95
|   |   |-- 0000018082-fd46c16d8a5b9d4f7457ca4c18116f264afbf7965aa1fd6fa502be2b16f8e9cb
|   |   |-- 0000018287-b56ed8e3937ff05aa4713077f17db48d16db38dfa6e86cbca372bdec0c964aed
|   |   |-- 0000024831-d6e7e6fb08743844b94cb2fc86e1abffc810e8d4fd87282a1c15e5fde9218b37
|   |   |-- 0000031085-db8456b284bd32ce9841a40fa57a297b49f6b3f9f9b69ee6f743849c6c3a59e4
|   |   |-- 0000034683-15c72f2ecf75bf5ffa75fd4285d81ce8cf9a176b40e6e102ceddfb9097ba6433
|   |   |-- 0000039462-6b7f966ef552364157923dd3cf3b1662bf3319eb3d1bf925b4f8847e8d4d5be2
|   |   |-- 0000050211-6b5b24d50003bba2bfb180c45a7fe346eae98e6729037feed6f96e4f5394f89a
|   |   |-- 0000053906-0847cabd2a298d31e4688049d7fbd6bea296fb023d6a19808a656a97e915ff1d
|   |   |-- 0000070541-76bd00f506a162317b87627a5310351780ce8cb2e10ac07427c3b4342f7446cb
|   |   |-- 0000100014-d2f40ab13a7eaf45bb66a8833985afd43ea8ac2e6fd9d53e538baee41fa4c2b9
|   |   |-- 0000218169-40983405abf80996ac84ec002a61523f4b92beca1b8aaadea7bbc9edd7a0f33b
|   |   `-- pending.tentative
|   |-- prefs
|   |   |-- binaries
|   |   |-- boring
|   |   |-- defaultrepo
|   |   |-- motd
|   |   |-- prefs
|   |   |-- repos
|   |   `-- sources
|   |-- pristine.hashed
|   |   |-- 014a56344ea1c1425401db4d8246b7ed6158e664fa685efc2999ab9ce42384f4
|   |   |-- 03599fcfcae5edf0e058ce104b964822df59e64854cb2e7d618b28d2ddf12c4b
|   |   |-- 05b8e059f0367ba57f04204f1e268b254fd4ef8b90c82befd8484a5cbe5939f1
|   |   |-- 0612dfda090ecaf38e0d87156d9676f475c63e71f5f87441f3d85e9f660de033
|   |   |-- 06346e7acb6516254a1c01de8643d564254f663ae20838c11f837150294e4912
|   |   |-- 078870109f725a7befb1758d0d70aceaa7aabc24f509f076476a71c5e5cbd227
|   |   |-- 08c0902c279becb84dfb96dc7fdda836bf0f3a728552c32ec53e421f669f27e0
|   |   |-- 08c79314ccb4930480a8a600166a472d04a1caef794a39cbd057310a20889073
|   |   |-- 0a218ea547904a300fbe2d0ec7a2e92e709d8154cf326b2e0bdad61fb02770f7
|   |   |-- 0f2d8a203785c6bcdc6a5572692a56277ffe532622dca58830ad593ed33998d9
|   |   |-- 101d186b3e4bcfb088a615b6cf1908e7d7d46b41b2ff40c54b9078251874a48e
|   |   |-- 11286ba9e7b51b92a60c61311203fe76e408d7430f1b762fcda19e1d33ed9dea
|   |   |-- 1478e69edee67d9270585261eba6e38ef9065ffcd63cb116c9f9e226b0cd1b05
|   |   |-- 156d3e238d0acbc8358c747ad06ff2f93ba6cb75807c6ad3a16ae6e38b5d5152
|   |   |-- 198f65807003d03d15e1cc280f4a7974e5404f6dbae8435d08c1e9c88e781d7b
|   |   |-- 1bf3d415f6c77295094c59342b3526ee70cc059bcc0af5cfbcb18be72f181d58
|   |   |-- 233db2906336773b819ea69b270c4060e1908bcd0bea7196a9531fffc444e5d3
|   |   |-- 2edeb6d73f6a80e5344b5056b5ec7541c2967708fe240505f4f17d9a257918fe
|   |   |-- 3255c599a9ef502ea712100e637670e4ac93da1962fc731dddd8f2b34fcaae1d
|   |   |-- 356080bf01c4f99b7522090a25da0dea37e43a9999a4f09982edf2c8798dde41
|   |   |-- 3a76012b6df2443d440c049164c0c2f7cf8fe050aed80cb8956a198b8522adb1
|   |   |-- 405d0cb58a1bfe0372b8b9da0cd7c8b0f2d9617896b3e1f1af4515bb58349527
|   |   |-- 415020fa8b9cec768ad41e2b814eac763eb2fb3163586e0e763726b4a92eb42d
|   |   |-- 43c087f366695fb5cf45ed535aa1abbceb338226d8efc8eeae51805b859471b4
|   |   |-- 471cf4abd4f608a326fa592a4aa4eb81a4fe18c4ba3894723b3078f84454896a
|   |   |-- 489d0493531b5e5c885948060c5840ecdedd6d997c01bf2e453d4ad8de4d9191
|   |   |-- 4ad53700fd191d92988347afcb539f533159134342bcd7a8a0f8ff9b06395888
|   |   |-- 4f3b8ea135a4971e1baa578542b0c04796bbd638b023f47951422fb52ff92311
|   |   |-- 531fb6a7fd51b8bf63245f69fb9a4a565bb6c342862b152003d197476870274a
|   |   |-- 55bada8102b04af7af88f1fbb1ecb6f25c690695a8b48f7633b41123eb20420c
|   |   |-- 560267397d3917adafed9b30ffd4784ac79ed304315203ada06d0b5427456e2f
|   |   |-- 5e5635a50045f494d2da7e26623811a790a8f759125a7506ebf43ee2782730bb
|   |   |-- 6609edc98a37a56ab00dac01436f188c1ab1fa2ec98eae026f3321021326d07c
|   |   |-- 6b151c3f208a1e79df5a3ef44a54b75c7406043455caa23b6402a4a6b5a6211d
|   |   |-- 6c60ef9add439150ebe7fb2522c138c9d7fcb23a39dc249261f2d6de05b0ad18
|   |   |-- 7541165d7adf4db6c7ae30d5967bce92734114056d915af5f499e2ee1e81515f
|   |   |-- 78ff863d485e81674942248a73ff52539ba92b0ad21afd9a5c942a91fea0598e
|   |   |-- 7ce7f720d3e28ff1760f5da45cb2ffa5864ca94251cb620d59f5c3eb3326c1e0
|   |   |-- 7e880ac764fd1701a86dd3f01c71fb461b5c0a3bcf7a1413e959012c9993ebf8
|   |   |-- 80d4295d5b874b0df32f179134727e182d5beec006ab86f83581bcae0dfff269
|   |   |-- 82146913b48a9bafbb5cdf01b4f9ba133709c0657f50525378349c76fe95ca66
|   |   |-- 828b44ee059f5b97306a0c916fb0996004e5a944ba980c8894a84f7686d198f3
|   |   |-- 8824a5d53305da29c31f7edab55905a4850262ca14907374f71c2b7261c83a57
|   |   |-- 88c8d5e3832e341b6c694ba731f5bea4a20bd7cacaff498af4ad2e7db40047a6
|   |   |-- 9084534d996df5242d14ac3b4b6ca29ae071a74aa9f0ef9c72f86ad843f365c5
|   |   |-- 90eda94b897cbda8ccb451f52afed8229d8b305cca186db2cfe6d1e4c87fda5f
|   |   |-- 93de780195fe871b35aa973e613fddeaae5992c2de8c9bb70e9a4562dd99e70e
|   |   |-- 94679186c271548914096f2c2f8163e7cf655f79ef7de1852bef801428a61c8f
|   |   |-- 983a51cbd4617e68a516bcf4fa0fb03cf060f1134611533a16e9725a877db622
|   |   |-- 990653124f65f43e7a8f639be6dfd38f03188c2ca611e3d9e51c9a3cc19979cf
|   |   |-- 9f89a6e62837f97207261464dcbcac44bf9472b272e453ef16ad64815fb5ba99
|   |   |-- a3588bf15724dc7769ebde81ab5b42e29aac40e9e90831bfaced18775858bba2
|   |   |-- a37247e9c4deaac79463e79fa62e70d3473a05477451f5f51f8abf79877d5cd7
|   |   |-- abb44e4e01d1e4f09e021ea2214c7a8434fb6bcc905c84286d4ac12032c7eaf0
|   |   |-- ad28d8bd6e6c25586db79084b7853c5fbdb69aba989d24d9fcb48819caa0b57b
|   |   |-- b065dd01afbdd5ebb7a49c5681e45453d2d7af076b312563d7ec0696f728d065
|   |   |-- b0b15be8d6d1861b37fb1e6082b9c609c2b348a2c127c80310da3dcb30bddb8d
|   |   |-- b2f6f14ca02331bde71b38e050010f11179db8852987b3cda488ace89cae0bc9
|   |   |-- b315e6ffd05f47c4975c77c54144d42504de195e487da341f0f981577aec7372
|   |   |-- b57a9535e4523402c1a68166f868b06aff450a571c9219d1d17874fce75d8f0c
|   |   |-- b7a19abf755dac37c7a5365edecb2330c62ea4c743b6b9fb418f1c2084a48de2
|   |   |-- b7e80037d46cd9ffe3220a20808f1fad446d183124d849866560a4a6244329ef
|   |   |-- b9d8da9590dd37648eb3717b3e57d772d8290c5b8723108235399386ff6481f4
|   |   |-- c3b0ccefd967cce79cd3d8ede1ce0cc1d17df590ef4a05207c63a7ebab4f38bd
|   |   |-- c77a4aa5b10a534bbceb9921ad27a5285e961a73228e2942b285ff47d27e9a84
|   |   |-- c905f4410831ff983126b14f490a5cad58b6fe742bfed3382f792ef32649edd6
|   |   |-- c92e742422a20814e4bd7c900afb52427b9185f87bf5a9d91c392de75c7e7b8e
|   |   |-- d2d32a262226e012b3f5d009bf5eceaebeb2d10a1656d96c92d654cfd5a981af
|   |   |-- d649ed7ca59b450499a6293621acdf90b1e3c93b64c8461745a826b2c1e59236
|   |   |-- d6bec2f8b83f9553cf0b11e88ea7746bfd96707e9f2fe32b4b03f16651345885
|   |   |-- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|   |   |-- e414298e5be628b92da71181e3fbe6463a6890ec93fa8ab398872bee223fc6e1
|   |   |-- e462376ae1a77b245ca7a27030373d61863fcbac37c3d99fb0b75ddfb38a94f1
|   |   |-- e5943f748298d942d66f7cbfb29ca592ef4e25d35722bf5d3b2013db6feb69c9
|   |   |-- e8a394ff42fa9fbdaca22f3c11c097df2b950b9853bc7847475d2d4965e4d63e
|   |   |-- e8bdebfac85106758d6d1d22998f712458d2e0e1cfcaf4050c6c504ab77be993
|   |   |-- eca47f88dc1d2fbf14497537f89d2bb3b0f8d197b95f99f920e6508b9a1f0d71
|   |   |-- ef36e43539e7df175710f3255d70bd8d2fa680f7e107102b437d07b02e1df365
|   |   |-- f0b70c8066b3df241034830a4e5521c05024c89a4738dafde9cee2872eaa2c03
|   |   |-- f70e147d6ffd521ac3a7138901577ea8413dbf441b61c1d3d667e77018503a99
|   |   |-- f71c35f771e8fe77e420fcdf77bbeb6cc619af7c1713ce273c30e715e9151229
|   |   |-- f7a32323e47102384ada1fc49c01791c13b759a9f657c21a9dbef08367fa4050
|   |   |-- fa5db1f8964036f56a60a5e4f6a858de4c70fe130c94d6f8f6ac641ec3d7aaf6
|   |   `-- fb9ce8b6dfc4f65ccb572b54cc4b7b0bc2cc1189f62fd1357ee3b044b2c77fd8
|   |-- tentative_hashed_inventory
|   `-- tentative_pristine
|-- bindings
|   |-- Makefile
|   |-- c
|   |   |-- Cargo.toml
|   |   |-- pijul.h
|   |   `-- src
|   |       `-- lib.rs
|   |-- haskell
|   |   |-- Pijul.hsc
|   |   |-- configure
|   |   `-- pijul.cabal
|   |-- scala
|   |   `-- src
|   |       |-- Makefile
|   |       |-- main.scala
|   |       |-- pijul.scala
|   |       `-- scalapijul.c
|   `-- test_c_api.c
|-- default.nix
|-- libpijul
|   |-- Cargo.lock
|   |-- Cargo.toml
|   |-- LICENSE
|   |-- doc
|   |   `-- implementation_notes.md
|   `-- src
|       |-- apply.rs
|       |-- error.rs
|       |-- file_operations.rs
|       |-- fs_representation.rs
|       |-- graph.rs
|       |-- lib.rs
|       |-- lmdb.h
|       |-- lmdb.rs
|       |-- lmdb_backend.rs
|       |-- lmdb_repository.rs
|       |-- mdb.c
|       |-- mdb.rs
|       |-- midl.c
|       |-- midl.h
|       |-- optimal_diff.rs
|       |-- output.rs
|       |-- patch.rs
|       |-- record.rs
|       |-- repository.rs
|       |-- retrieve.c
|       `-- sanakirja_backend.rs
|-- pijul
|   |-- Cargo.lock
|   |-- Cargo.toml
|   |-- LICENSE
|   |-- src
|   |   |-- commands
|   |   |   |-- add.rs
|   |   |   |-- apply.rs
|   |   |   |-- ask.rs
|   |   |   |-- check.rs
|   |   |   |-- clone.rs
|   |   |   |-- error.rs
|   |   |   |-- escape.rs
|   |   |   |-- fs_operation.rs
|   |   |   |-- info.rs
|   |   |   |-- init.rs
|   |   |   |-- login.rs
|   |   |   |-- ls.rs
|   |   |   |-- mod.rs
|   |   |   |-- mv.rs
|   |   |   |-- pull.rs
|   |   |   |-- push.rs
|   |   |   |-- record.rs
|   |   |   |-- remote.rs
|   |   |   |-- remove.rs
|   |   |   |-- revert.rs
|   |   |   `-- test.rs
|   |   |-- libpijul
|   |   |   |-- Cargo.lock
|   |   |   |-- Cargo.toml
|   |   |   |-- LICENSE
|   |   |   |-- doc
|   |   |   |   `-- implementation_notes.md
|   |   |   `-- src
|   |   |       |-- apply.rs
|   |   |       |-- error.rs
|   |   |       |-- file_operations.rs
|   |   |       |-- fs_representation.rs
|   |   |       |-- graph.rs
|   |   |       |-- lib.rs
|   |   |       |-- lmdb.h
|   |   |       |-- lmdb.rs
|   |   |       |-- lmdb_backend.rs
|   |   |       |-- lmdb_repository.rs
|   |   |       |-- mdb.c
|   |   |       |-- mdb.rs
|   |   |       |-- midl.c
|   |   |       |-- midl.h
|   |   |       |-- optimal_diff.rs
|   |   |       |-- output.rs
|   |   |       |-- patch.rs
|   |   |       |-- record.rs
|   |   |       |-- repository.rs
|   |   |       |-- retrieve.c
|   |   |       |-- sanakirja
|   |   |       |   |-- Cargo.toml
|   |   |       |   |-- LICENSE
|   |   |       |   |-- _darcs
|   |   |       |   |   |-- format
|   |   |       |   |   |-- hashed_inventory
|   |   |       |   |   |-- inventories
|   |   |       |   |   |   |-- 0000000609-6c92383c628e68598bf0a6677368f419d347d0d11244c277434a1caecb6c9e7e
|   |   |       |   |   |   |-- 0000001040-903b77236237838b3167c4e4479b7dbf9aeabab8f5d1f8480a59ac34a0585e62
|   |   |       |   |   |   |-- 0000002694-4e1ad9df77861118a8fc918ed7e80f82c3dd94e04d02386b5811e16e4bcffef2
|   |   |       |   |   |   |-- 0000002897-0e7c63e3e9e4d06f9aa24995bad7b4176fcbdf388c203ecf7d5d55e4485cd274
|   |   |       |   |   |   |-- 0000010677-b5dfae570798302a18719b6944b8c22b4294440278748817a978ea6c29980b79
|   |   |       |   |   |   `-- 0000019720-eb49f7bce5f7136c3257c4ba2f8c9ea9f0bfe5684c230bbf572a98fc36761d40
|   |   |       |   |   |-- patches
|   |   |       |   |   |   |-- 0000000126-0157d67380c684fbb5c01d1ceb251fa761232b90a6ac88573cc7ba8da945dd03
|   |   |       |   |   |   |-- 0000000129-1c2ca685e88a56d33d2b91187788b455b16a1f713bb17d9b9a04c4f3ae0288da
|   |   |       |   |   |   |-- 0000000142-009666127503dcbe5e71d7a48dd2f36d4d6d029bfdb3a41128892fc0abd28b69
|   |   |       |   |   |   |-- 0000000148-95460d9713047f24bf1a71abc56a71787a484c5627fcbdb3b9ac80274b186e86
|   |   |       |   |   |   |-- 0000000149-4fd156cc24491adc686816ab63360c88ec9cad03da105033d226079fd24ef824
|   |   |       |   |   |   |-- 0000000150-b361288027cb56d249a05199558423b4f0bd983bb6c55c952415ba69b5fbdd02
|   |   |       |   |   |   |-- 0000000151-bfe97d96bd726b00c46a677504e22239becaf8790c2084d7b3ad669a1b0144b0
|   |   |       |   |   |   |-- 0000000171-1985ce754d6c07571ba92c7681259cc300d32629ac0abcf8e22d0c2aa13e7d6b
|   |   |       |   |   |   |-- 0000000193-5c1be2c680047b2357f81490c705d34cf1ba39e5b9b98027912298847ee3057b
|   |   |       |   |   |   |-- 0000000206-00d11ef9642f51d0d591a7bbacd52d5aca419b3098281d18e40fcaa627a1c3dd
|   |   |       |   |   |   |-- 0000000247-26daeecedb3e427ba9ef94993e926e6f64e1d025727824d0f8cab28d3b29a7a4
|   |   |       |   |   |   |-- 0000000266-2650082ba229fcde70f007ae93261d85530919ed628855c1453ef76616de03e5
|   |   |       |   |   |   |-- 0000000287-8c4037c9dc96ab35a63886e3fea0797d7996ce8b5bd424f3e6c538dca2f7befe
|   |   |       |   |   |   |-- 0000000303-5f5965d8f89124377108e0ca36a33522df17dec1f5117e5be258980db7ab762d
|   |   |       |   |   |   |-- 0000000352-364cf7eab3f14f840a9393083a493470f7524e387077b223ecea7929554066dd
|   |   |       |   |   |   |-- 0000000354-3fd91db1aacf8e1790d11c43382603cdcb8794f5b33bcf6ebc69ef971c0dc035
|   |   |       |   |   |   |-- 0000000355-909582e62acd3298f6b46581af2fabd30bfbc13ee9dbc35ad0ed050c7d64480c
|   |   |       |   |   |   |-- 0000000386-d3da4912167b98c14095c4ca8e630272b5d3be211815b5ee45d6aab291dcd144
|   |   |       |   |   |   |-- 0000000395-929c80fcfaf3093bd1b79bcc747b22e9b0f98b15144d8cec751544dd2a3945d8
|   |   |       |   |   |   |-- 0000000466-a149e0e687882658305c0cf2a0de84bfb7878b2190cac8fec77447002b37b80d
|   |   |       |   |   |   |-- 0000000473-f16ac29775763655ef40de1b0e7410cbec8cf3f23eea09bdf30385702811c5d4
|   |   |       |   |   |   |-- 0000000481-cfa978c5b5b8109e047bc4c9707160c0178e41098586c7f1aaf5063a82e0db93
|   |   |       |   |   |   |-- 0000000486-71cfb98496f0e92520a05ab8b572b1fdce707b26135f3cef907aba9e0fdf2971
|   |   |       |   |   |   |-- 0000000534-25087cad2c1372633dd4a45fca498bc7e28f2761401df8ccd975fe85cd37cd26
|   |   |       |   |   |   |-- 0000000536-9e8622af9f455a0c503530405d8647d9fea4f359a11e65d734e4e1c744233405
|   |   |       |   |   |   |-- 0000000538-e1f4b8da04b7ff01b1227c6ccc85bc304fd5eb28d740324d14365cf64a89a5cc
|   |   |       |   |   |   |-- 0000000579-813081770a936a138354d153c917a88f18a6aec325ff9aee583a1346661607be
|   |   |       |   |   |   |-- 0000000588-0da58ba2b23e38a6ec3cede1402cf6f7cb1fbeee94815c36431ec01da46f3b58
|   |   |       |   |   |   |-- 0000000622-8e8c3fddc22a0097e4ccbf397156ab5754178091ebd9e2acaecb757505f1932a
|   |   |       |   |   |   |-- 0000000638-48c54514ea8790763d8e532cf1350574c6f15290166345a05b23c13748da5787
|   |   |       |   |   |   |-- 0000000642-6f397953bd0d0f60ddae20f7abab8c7efa580b73d343c5ea5e1c5f5000aee165
|   |   |       |   |   |   |-- 0000000682-198d3c97ee07bf85e21eb0802c32d4d8b350fae2b5ae62995b6ff912647c622a
|   |   |       |   |   |   |-- 0000000684-0aaa74f9e7d71ad621b2b8550963bf5498d0ca9d692b4b96c1c663f6b75d485b
|   |   |       |   |   |   |-- 0000000731-fb4e60cd14870b1439e28f5f37592e0672c4e7cece07dd748bfb0f19d7347640
|   |   |       |   |   |   |-- 0000000743-73457ba1c9506d6d5d7890ffb6e6b5b15089dcd3b4de7c112e542d2ef529a5af
|   |   |       |   |   |   |-- 0000000787-0270c9afd29fdccb86a7e9908dd57d3db17d3174a563c76cd1c913c156b3851f
|   |   |       |   |   |   |-- 0000000801-888df1d34f56074992e2e56eb3ad990f10dc2dc3bf0224b27d52492ca1aee1ee
|   |   |       |   |   |   |-- 0000000817-49fe2321382bdf88c0a45e58371bfd4c834f7dcae17fd6c4a4d4691a5e50292f
|   |   |       |   |   |   |-- 0000000836-c668620b11090bdb24ca374341fb4fc91ae09abb1658e28beffae5cbf0142d2d
|   |   |       |   |   |   |-- 0000000923-33d4c94cd393432419f445011009576e9ed23e149003aceca9854807eacf3c5d
|   |   |       |   |   |   |-- 0000000946-422e65b5d455d0f1f7551dbe5ccd5745b7da7e87d278d6f7c78e8e7ddb480c87
|   |   |       |   |   |   |-- 0000000953-e52a015c3a550b0c72e536533559dfc11fe2cd0574cfffb2f77df8be34d9ec50
|   |   |       |   |   |   |-- 0000000954-4e770bfa8fef60551c05d81dba1caf60260406cfe8cc9144a8e0d66a8dce8fbd
|   |   |       |   |   |   |-- 0000001009-aed6d2d8e2ca9806c34e6b2e959442642e243ce9b77d3ded613d76515d38aec5
|   |   |       |   |   |   |-- 0000001075-a29e2212440b452413bb61f14d6295e576929a70e6036edfa9c8a416c97ad002
|   |   |       |   |   |   |-- 0000001102-556a03e025e6bfd5fcb23d05da37d233cb472ed002aaad855b21c7caad6543aa
|   |   |       |   |   |   |-- 0000001158-d263ba6e935d0da3c269a277eaba06b1c2c9316476460ce0f58698a3afd9ae54
|   |   |       |   |   |   |-- 0000001173-79747cd9bf6ac8752f100ac2d6d3558a5512daf5d5228719caf476429e290e30
|   |   |       |   |   |   |-- 0000001181-5f3938273d4f8d26b14e55b9e11d34af116ae9e7e0fb7c0f61dd43a40700570b
|   |   |       |   |   |   |-- 0000001231-a135e73ecb63c7bc8ac0f2e2a7e305689f761738ee3c8a626be7d2c5c6c06075
|   |   |       |   |   |   |-- 0000001261-636d867c1ba4ef32b46da927a42a07383322dbf6af9e3d249b00b7676c613c1b
|   |   |       |   |   |   |-- 0000001384-7b3909c3025168a5fafdce4afc591b065d2edc1f2a465e014e56c77e12302714
|   |   |       |   |   |   |-- 0000001400-e576224d067d3759200adfd2be139b901bfb4a1912985a9fcfe0c4a8ec6c9867
|   |   |       |   |   |   |-- 0000001432-87e577779e7a389122135448114ca3ad7821128a5f85417ae8ba1aee82449a65
|   |   |       |   |   |   |-- 0000001606-f371619776a117bb629a4c857c8076cedbd546dd2e3a651f25c091dc7e356b17
|   |   |       |   |   |   |-- 0000001612-83bb688a7703939152207e28a3f368e64c8c3cf840de8da2f7caa019cb2831f5
|   |   |       |   |   |   |-- 0000001620-e217d7d7fab9eaa5b493b3d55815975360d8f5f9c9c733b2a034e0fbdbdd4311
|   |   |       |   |   |   |-- 0000001703-5ef43c61221b8292fee8627a3a7f9818cfb9df6064e6d537d677ab7d465eb347
|   |   |       |   |   |   |-- 0000001709-857945815a44804a362e4470e1b9906fd91f38582fc96f9086b9435bc1b48a18
|   |   |       |   |   |   |-- 0000001739-b6d59c05c96fd6fa0bdebed0f379100eb6fb0d3f4bcc758d21f7a7d2546af728
|   |   |       |   |   |   |-- 0000001757-9bbb2a3ff8995024bb08b360de269f9eddf6b599a608d36554677a5172af6d7c
|   |   |       |   |   |   |-- 0000001758-9b03f00fcfd95049c3ebc1373607bb208a7be5c04d4a66a59cb077cd6ee47925
|   |   |       |   |   |   |-- 0000001777-cb8493456a53a6e81eb4dfd6f8abe08f4245915b8c899bffe043ce33657aae2a
|   |   |       |   |   |   |-- 0000001803-fe8133e4129ff7908a38e41ebec263e33e313209027677e581ea6657f72a9ba7
|   |   |       |   |   |   |-- 0000001829-9a756146c2dfce5dff8ef525cdb52ff9d258f8cb3bcf940d02830ba8f64de054
|   |   |       |   |   |   |-- 0000001939-5e9f5d8d7ff79ebdd8d68d79d6b438189775ee5f8618b8fb171af10e7a294b57
|   |   |       |   |   |   |-- 0000002066-9ef0eddcde5da000c0ff0b40eebe5339795ecd159b83e64d9f45bfe35557534e
|   |   |       |   |   |   |-- 0000002166-be4d00225a829076db77c5bb96db2d530d1ed54202a571c372f38ed49b93f173
|   |   |       |   |   |   |-- 0000002213-ebc98c3cf9c7f57dd834a46d690ba93f32ee43e07b166a6fb55a03bddf162764
|   |   |       |   |   |   |-- 0000002248-7f679ba51b76a8b9c468a76b54fff4d1ee46077193ae9f808f49d8044ba84fbb
|   |   |       |   |   |   |-- 0000002282-77678209079d61f179bfc1a176393071278bc6c4bd66b9397221aeead6a1097d
|   |   |       |   |   |   |-- 0000002312-8674c5c78ede0ed755bd5a0d844cbd176c7c8034a42367dc354e440c88acad83
|   |   |       |   |   |   |-- 0000002346-3e38a18e6f6353e8a1182067bee983f828af047234bd7efe8644694431d6c7fa
|   |   |       |   |   |   |-- 0000002560-7a058af79e6db2a1e984b9030123efdb976de02bfec8ee5bbd90ea5a805cf4e8
|   |   |       |   |   |   |-- 0000002562-3359f9376a6df6447460b7bec02b2537de8f989234880cd6fb91cc7d94897abc
|   |   |       |   |   |   |-- 0000002650-fdb9aef2d15c502babb45e0410424f30bf8383e4cc8234e789224979c9075728
|   |   |       |   |   |   |-- 0000002708-4e2160bb80ce00cded6824fbe7c57c0d276ef6ae788cc430ed55a748025c8290
|   |   |       |   |   |   |-- 0000002742-d78b5a45c09e089f61f881ce89060326e3761d4e7ef45ae7facb52167059a2d9
|   |   |       |   |   |   |-- 0000003234-b367ba47565968e2a860376c63cb635f92630eceb26a916350ea22b1df578131
|   |   |       |   |   |   |-- 0000003254-da3023c81dab4d0085f5d698785b4b53443e4f0fa421f86311ed458f3319fa97
|   |   |       |   |   |   |-- 0000003325-2533c608b8c84c6642f7a8eaaf42291be5168b5d290c17f84ff35839a7700a38
|   |   |       |   |   |   |-- 0000003599-25879251b668a0d0ce39c1b01b2f5d0727585da9e86b001da8a970cd2ac1bf12
|   |   |       |   |   |   |-- 0000003679-998c659004e4cc866842b1ffb9a7977d472c5e9475e16b0fb1aa1cdf993cc03f
|   |   |       |   |   |   |-- 0000003723-39e46448db354d8824a7b8ad0a27b9218d5aa1ee3a7a4b186c8a4ea302f97ca3
|   |   |       |   |   |   |-- 0000003937-ede8343b69095c131a73cce3442360d83fa0ebbd6c3a1c561063505961eae9a8
|   |   |       |   |   |   |-- 0000003942-23415aac4915ec922048f9f871a6162816c008265f10383a9643eec2379f41fc
|   |   |       |   |   |   |-- 0000003976-80a4f1e4620d9ab7a15f7583e028e1adda04ac650e52ddfeeb880b4cc6b059ab
|   |   |       |   |   |   |-- 0000003979-bc81e23231093f7cdc5ed8f0c46199c3453cb36afd25e25bafc572cd9e5d3e1a
|   |   |       |   |   |   |-- 0000003981-0f129f1cf6ce78f2d464d2be65055c70c52ac5978dcee1d5df9e76bb8ed3b9be
|   |   |       |   |   |   |-- 0000004102-9edc22b0d8c095350cbc49fcbf40a9f1f192f20eaec563044413d886e4793ec7
|   |   |       |   |   |   |-- 0000004111-e8956c56d3609dce95edfbbe2a5b026f122f6344ae11d41e19c03fde61e4f0ac
|   |   |       |   |   |   |-- 0000004122-4eb68d3a6d3682ccc2b4ff5213cf73d7712430ff997337da77165f58dd34d2a9
|   |   |       |   |   |   |-- 0000004319-5267aca6ccfe9d74c0db09efa5015a45010187a9291997b29145c8f8880a7490
|   |   |       |   |   |   |-- 0000004331-77a2dadf4ec3a71e5f188d9d99dcc3635651156626ce5e53ea8ba81ec09c2c4b
|   |   |       |   |   |   |-- 0000004397-d6278c9407849e5c0e240ec4c0564a8634d6cc53c451adfdd8898d89036bd74d
|   |   |       |   |   |   |-- 0000004437-7678bcb8f77a57b87c929f3ba1aeb0ecd1b98737352e565077c0a081f46de375
|   |   |       |   |   |   |-- 0000004538-007cf71c4bb61ca090553a7d3a568f77d5a4d213be6cb04364a642e105e35cf1
|   |   |       |   |   |   |-- 0000004778-e23b2f61d0677e1e072059fb7f4296df4297f4fd12931ee24f6be3180820a085
|   |   |       |   |   |   |-- 0000004844-e7e0037e4b8dd80927c91cf97d72e7abb8ddd40e59f06e691a82a23c438901f5
|   |   |       |   |   |   |-- 0000005023-e53627fcace2102c3ead19771fef731ef396fc984c3e1a4e3f509002905db1f2
|   |   |       |   |   |   |-- 0000005064-18ab9c1efb84519514e8b92b1a624fcdbe07706e66ce033f01ff5e78cc411c81
|   |   |       |   |   |   |-- 0000005128-84f572ebff948da143610ba1f7e3ca23c6d2279548128c2a3be54346eaab9656
|   |   |       |   |   |   |-- 0000005190-38c072f38a1224c4ffb1b378354a58d47ce5945e6d59892b4af007c39ae5a60d
|   |   |       |   |   |   |-- 0000005246-a1d878a5b51fa631e2bb40fd5bdca00bf5d72fd92e7c1572c87aa9249d8d044a
|   |   |       |   |   |   |-- 0000005398-ddc6aa48320cf323d6180f4c4654d3cda9b942dced49045309a602dc400b4382
|   |   |       |   |   |   |-- 0000005602-bd6e1165c0897db179414276ee45e2ee7cbaf490504fbffa082e84c5f976e367
|   |   |       |   |   |   |-- 0000005613-34823bd6c49f085d381b8d644262caf2df52facebee9e14d27671c24c1fbfd92
|   |   |       |   |   |   |-- 0000005911-7d433f8563bf5a2ea58485d6cd755c9909f38c81ea7cbd2d3015367c2b24c5c0
|   |   |       |   |   |   |-- 0000006024-35cb4bfaf2a46ecff604d4e46a8de5eb457ec838bfaf75124157665bf54da1cc
|   |   |       |   |   |   |-- 0000006126-1df6c63b8e2c916b456c85991759930c52973517819d312a4f8d333709f75199
|   |   |       |   |   |   |-- 0000006219-734c7d62cc88243e9f01e82fbb84433e09a696556f3b7ef098b9b999c9d0e9b4
|   |   |       |   |   |   |-- 0000006283-ceccbdc5fb93ea054ec6f720271342ce2263b22faf5586b6f93cf601485c62d2
|   |   |       |   |   |   |-- 0000006321-de9252b92e8c6693f20c9fee4821c882f6083ba4af171915db7887d363159597
|   |   |       |   |   |   |-- 0000006572-d739d6b9a36707d8fd1f289eefc2f107ed919f03f42812e81f53899ce6ee0e93
|   |   |       |   |   |   |-- 0000006641-85308f689a6b4d0262637fb2549c26811f99f8841f30ed49579aa4011f7f4b8d
|   |   |       |   |   |   |-- 0000006692-6f577c1b024668befc87bb96a455e48cf8f57c21626f754a7bed2d40251d6f16
|   |   |       |   |   |   |-- 0000006820-4c4387df6202be00971e40ea3063af6d206880635f083cfcb0e6fbc8909a1572
|   |   |       |   |   |   |-- 0000006904-1357b7de75304af3550264ddef6ff17eec9fb0d2c58bbdba3fce7915973d9e23
|   |   |       |   |   |   |-- 0000007295-9a1194c332a3d86ea953170f700ee503134539d57d9d31d3fae9ea2aca579c54
|   |   |       |   |   |   |-- 0000007319-037e13f2016a63870411535f8988e1191d1f52967e6febcec268b80273dc27b3
|   |   |       |   |   |   |-- 0000007478-6755c2c8cd472e8116edcc0a8643271afcbf23054eeaa0abf52d7dbb3cc8178a
|   |   |       |   |   |   |-- 0000007590-d756070ea1a38b245e6190961e55893e865d465b40f3bae5bb0046fec9af78b9
|   |   |       |   |   |   |-- 0000007639-5e56b2286ec64cc253d2191a93ae1726eb3f44882ccb58b357da0dffcd7d2df3
|   |   |       |   |   |   |-- 0000007701-aa011e350f7495e059a4d964ee01387833303d912e6522fe984166033a6dec3a
|   |   |       |   |   |   |-- 0000007719-22196609c0425680c87fe56a60a12ecb030ab9f33c5abc924b42dc9da4326c4a
|   |   |       |   |   |   |-- 0000008009-3e1cf0837e02a4a0f735e3d6efbe5ce06916efe7d7c0240e6307b19acc9cccfc
|   |   |       |   |   |   |-- 0000008140-91b3003cfa3a61c2b37d9decc61386dc2bf418d118214232538d0686d8749978
|   |   |       |   |   |   |-- 0000008200-95f1cb8b596fe3d4811771557b9bec8101eb346288233984a362354cb875ebe1
|   |   |       |   |   |   |-- 0000008811-1539ebf45f1f0fadf3922ca2ca20cf96ca18d19ea5cd5b40bf2b8f19cd9286c0
|   |   |       |   |   |   |-- 0000008873-bdf753244f3c9cf9d8514f3b74db07a57105c32d848422454c31808571d26760
|   |   |       |   |   |   |-- 0000009560-d71c820c5dc6eb714c9bb3cba7d9d7fe0acc171fd46758d3cc37efa070c8f967
|   |   |       |   |   |   |-- 0000009924-7c11a3bad695d1a7fcb9cec0143052dd8ad393a56e3a583bb3a9c3aa7fa5bef5
|   |   |       |   |   |   |-- 0000010305-f95debde02c7788a8e5e438ba7411ed0ff59ff8cbd0ff400f2460569c8f66dd5
|   |   |       |   |   |   |-- 0000010500-594e1f7b94f1447e17e9bb2ebece1b7ae1c0df54ed5c1bb3d183d50244c16a84
|   |   |       |   |   |   |-- 0000010520-06826f530d2ca1520c4df63a5f0d942174dab5895ef163b7579d39275137a184
|   |   |       |   |   |   |-- 0000011283-34d3ba61d72e2b215c1962746007d85065f10699028d36176ba461d63dddce47
|   |   |       |   |   |   |-- 0000011329-9c75003ddb8da2ef7fecf8d392c3dd913cbafba72523ca1fc2df20a1a36bdddd
|   |   |       |   |   |   |-- 0000011338-26c92af8d5bcf6b36d96079eb7728ef0c5d3c73adc356e578de2f6cbaebf9784
|   |   |       |   |   |   |-- 0000011935-b21debaefd00cb5fb6d881fd91406e10a5ce697cb496d2b49bf96ac41784594c
|   |   |       |   |   |   |-- 0000012084-f32c1b9ddc402d7fcbe15687822c5e5fe3ea80b7d25ab2ca0709d6e7c0a21d5a
|   |   |       |   |   |   |-- 0000012735-480954dee9e5997c8d7f549ae8016afd494777cc90b258f4698e336ae88b3a71
|   |   |       |   |   |   |-- 0000012921-74a42f538e686c059f4cae8e1b9c434f20f37449c2e1c7bdb935498ad1cb6cde
|   |   |       |   |   |   |-- 0000012971-172d7dfd8d8b62e7b56416735debabe2aa2db4aa9e8f0789dcf370329d91091a
|   |   |       |   |   |   |-- 0000013286-a0447cfa6ed6fbc7f49587fce656eaf125864cb80eab914380774bcd7c42cb80
|   |   |       |   |   |   |-- 0000013608-52cbcce7882154ba7f6f88f7ae0e3eb3ca2311be32d1ae224f929f1eb4fe9e23
|   |   |       |   |   |   |-- 0000013723-8510139dbd9ebdc55cce0873b0aec3f5ca55586cc6aea25ccad266ce5498212f
|   |   |       |   |   |   |-- 0000013787-92c9083d1dc67e5d027bee7a68813c1e68286f7a207c79ae9f2e84b4349f23bc
|   |   |       |   |   |   |-- 0000014070-1fb14c475628be2716d22684f91e8eedcdae356f4ac903ab84778e50da814a65
|   |   |       |   |   |   |-- 0000014085-6aef24c4258e579880b5f58434cb487ef4948f1e5a2ca5b0f8248bec6900afed
|   |   |       |   |   |   |-- 0000014125-758e07a267e12c37941becf7e022238103efe9b84c01ad2397a08a4bda380936
|   |   |       |   |   |   |-- 0000015404-c69bd96de97756fdbd2e9ca33ff492ae17cfafe0c2ab05595adab77eb30ebe12
|   |   |       |   |   |   |-- 0000015445-958d85ee7d5bc0f9a65cf5efa7fec023a5181f2c99329d35cb8d534ddbe5e824
|   |   |       |   |   |   |-- 0000016902-5a187529a638e7f41e97fb07761a5591341ec0106f420fd9cbfd69b79b92ae88
|   |   |       |   |   |   |-- 0000017047-e19016ac4214039de78c8fb2712bd07a5cfd59e995fb335371bb1d5c7978a143
|   |   |       |   |   |   |-- 0000017180-f8940e3ecc323bbfdfbfc27b18194d30923811e9585d339899ed3c23dc694048
|   |   |       |   |   |   |-- 0000017431-a8bf6eded0a8b7752bfc94bbbdaceb21057eb9aacc3c56cbb2ef7ca441df24f3
|   |   |       |   |   |   |-- 0000017689-a61385ba5a23b48c530bda2fbb3afb48f89986238cd1166475545be533f0ba1d
|   |   |       |   |   |   |-- 0000018413-1280d65332df4eb0c29e30c6a32c0ce5b2ec8115f56f403d23e105000c7dc23f
|   |   |       |   |   |   |-- 0000018551-4648cf2c2e593b9b4d1a186ac7e5f1eda21114d005ec54bbc104d338b3edf037
|   |   |       |   |   |   |-- 0000019117-f1cc02d519a523246b2e297cbe42d42ae877ddd7e4aee91e7457d02d5ab4a824
|   |   |       |   |   |   |-- 0000019326-6fd2fdf5f12353d6502b265fdd556eb318a355abda4c6c1561c292561a9cbaa4
|   |   |       |   |   |   |-- 0000019595-55f664831cea11671f93412bf33fe11bf20c330afa9c2f80fc97a40399dfdb08
|   |   |       |   |   |   |-- 0000020027-7def244e527e00aabe2af81c107ad571aadc0f2b12eb8caa1c4f96ff265225b4
|   |   |       |   |   |   |-- 0000020925-8f6c012517f1aaac40db7fe79bf286f503c15e353cdb7d059ee905df963a55e4
|   |   |       |   |   |   |-- 0000024121-7326b72eccbf938fa5529bcefe110bb0ecaacc725bd6503a91d96585ce4d465d
|   |   |       |   |   |   |-- 0000025078-456b8380baa55cf66aa6dc8004dfbf6e7c301a207cc3d9bc309344dbf650498d
|   |   |       |   |   |   |-- 0000025312-0076b669c6ff3eb9f21286c15759f1fc99a0f465805a96b6bcd76da827d4873e
|   |   |       |   |   |   |-- 0000025632-2ece231098d1bc14fb722aa57b2ca71a80e413b90f071e1c74eeecd68c79b6c2
|   |   |       |   |   |   |-- 0000026069-35bce8267b77a6524234720ae93c5f7e94cade879bdee636e7c3dcb2c1b8345c
|   |   |       |   |   |   |-- 0000026630-9a8a130f59ffab862ffb035c34e485d9cf0402dffda55c144c1ffc7d8ea4c5c3
|   |   |       |   |   |   |-- 0000027777-8b903893747a3cd8211fa152c03b4b96ed6bf7f9ad1e50ab582630d006ad6dcb
|   |   |       |   |   |   |-- 0000028586-710e4d3d29ef894ace74a8a390b6aaba62452b123181c8c80de4e93d88c45161
|   |   |       |   |   |   |-- 0000029264-20dbab50e430c94860f57f88c72c3eddaa0b8e0c60caf97e005ea8420f1feb8e
|   |   |       |   |   |   |-- 0000030983-7d1c0b64878ac4bcd2091b495a5d227fa3a455c4793fe4f61d4b0cb44d8b592b
|   |   |       |   |   |   |-- 0000032284-e45138d8626dea3a99a04298564116658d4f3a7919306ba52e54863e55c37014
|   |   |       |   |   |   |-- 0000034346-f45a1ca02f86d59cd3c2975fa1f72042218e5ec354c2c1eaf97fd83ea7c6693f
|   |   |       |   |   |   |-- 0000034593-70f598a2a511a12ac1aea450774855353ec3cd91dfae1f5f43b1de766f516a24
|   |   |       |   |   |   |-- 0000036721-5c0f64c8bad17aa0d40fd7e530f687edf1206c97fbf7ce7cdb00dcb360850dbf
|   |   |       |   |   |   |-- 0000036791-f994887f95ee7e4ee888ae10d88177bf524f4ba6b167b8c4deee2fc5e3f140fa
|   |   |       |   |   |   |-- 0000038790-afc41152b28c1cc90089639d7b65b09b2bec3750ff642f45d60911e7b56ddef3
|   |   |       |   |   |   |-- 0000038928-bb0b5bc03633d1a84b9aece829f44c1beebbf369c614023b4a14a0bbcde7fd18
|   |   |       |   |   |   |-- 0000039703-9a021ef8791faee513e179ed71a7abcc69ef4bfed720f89defdf309153a22794
|   |   |       |   |   |   |-- 0000041065-cdfdbd4164c0476364eca71b1a06873c6837b897d2b995b697d80f8c98a46344
|   |   |       |   |   |   |-- 0000041272-93b97ee0935cedf8933359be6237b61d03137acf6d795146a085285345d260a1
|   |   |       |   |   |   |-- 0000041694-01e296f08041f9a566deccd17a5a7588423c9286fb71a8f86967e66598c2cc40
|   |   |       |   |   |   |-- 0000045203-71e971fc9289c842e0bf035ea2a5f71481a14458e1ef9148bb8ec14e6e1f4a20
|   |   |       |   |   |   |-- 0000045398-3d1745572d7c294a460c7c14fd8b9eb091a70d1534fc9464e60aa014ee99dc8d
|   |   |       |   |   |   |-- 0000048872-eb6c159458bd0f1647bdde7764d2c65327d497db9945c6fab64f9c42686d1746
|   |   |       |   |   |   |-- 0000064764-6adc9bd3ebbada156ffbe5c3d9c159342a9c4ba3013db18f9feb62c55dd44f76
|   |   |       |   |   |   |-- 0000094562-de6fbdbd2a64fafb1617aaf3544f37265f154345027548278e07c31c36ef3eab
|   |   |       |   |   |   |-- 0000095531-85055e0c97f4ff1287c17c21e348779136a923fbbcd3e4ef66dd1e3694de57cf
|   |   |       |   |   |   |-- 0000112870-9caf410d6c623ee5a8800668708cedf55ffc934992555dd1ed9a4d852fb449e7
|   |   |       |   |   |   |-- 0000118188-2a3d113cdd281a9b25df83903114bb01dcee930a1c7f001294ec460eb3fcefc9
|   |   |       |   |   |   `-- pending.tentative
|   |   |       |   |   |-- prefs
|   |   |       |   |   |   |-- binaries
|   |   |       |   |   |   |-- boring
|   |   |       |   |   |   |-- defaultrepo
|   |   |       |   |   |   |-- motd
|   |   |       |   |   |   |-- repos
|   |   |       |   |   |   `-- sources
|   |   |       |   |   |-- pristine.hashed
|   |   |       |   |   |   |-- 04f623d5d6f04fefbbabdfb6d58d28f2c413d4f96f7619109b9e78e88cdcf585
|   |   |       |   |   |   |-- 08e46add366caa2d4b2c76d6ec30af1dbc677c9b057e13f4071900668c0d96b5
|   |   |       |   |   |   |-- 2e6b2a5a5b23b8116f82dc1f0692ecbfd754b1cb61512a28171e67965f370d32
|   |   |       |   |   |   |-- 2f4d5826eb35f03d168a24d06101aa10101c4e8968132211eeef32fef1c03079
|   |   |       |   |   |   |-- 388db96201d2d33ba816028d17ced68cc66ebeae230efd710d78e5ce1e312b7b
|   |   |       |   |   |   |-- 86ce2fcde31df361370acd13530640c0e1e0c049c9001f6547050b24868d498d
|   |   |       |   |   |   |-- 94e0719c7fb272733afa15482ee300af27fe5c2640b3278120eb953611b91ca4
|   |   |       |   |   |   |-- d56b741202cb3a89471f99dc4c693e0cc7c65bebe600cb5a420d26b43515501d
|   |   |       |   |   |   |-- e01bdb7e9af9a9ae314105f5f6fb9d66bacaeb29d80da3ea23072a0d84078886
|   |   |       |   |   |   |-- e120e6ba9a41fe140a777b2a48ad083900b296574bbddb9a5f5b6e9f41c2e6b0
|   |   |       |   |   |   |-- e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
|   |   |       |   |   |   |-- fab3dd6bdab226f1c08630b1dd917e11fcb4ec5e1e020e2c16f83a0a13863e85
|   |   |       |   |   |   `-- fd8248a5a9f7d1ee435b30ae3b9bdbd375ad8a5f1caebbc8bf2f755cb268a50c
|   |   |       |   |   |-- tentative_hashed_inventory
|   |   |       |   |   `-- tentative_pristine
|   |   |       |   |-- build.rs
|   |   |       |   `-- src
|   |   |       |       |-- del.rs
|   |   |       |       |-- lib.rs
|   |   |       |       |-- merge.rs
|   |   |       |       |-- put.rs
|   |   |       |       |-- rebalance.rs
|   |   |       |       |-- transaction.rs
|   |   |       |       `-- txn.rs
|   |   |       `-- sanakirja_backend.rs
|   |   |-- main.rs
|   |   `-- meta.rs
|   `-- target
|       `-- release
|           |-- build
|           |   |-- kernel32-sys-d6afa5bd3d7cfaef
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   `-- output
|           |   |-- miniz-sys-60c8d67696f63a43
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   |   |-- libminiz.a
|           |   |   |   `-- miniz.o
|           |   |   `-- output
|           |   |-- openssl-d799b404184be4f1
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   |   |-- libc_helpers.a
|           |   |   |   `-- src
|           |   |   |       `-- c_helpers.o
|           |   |   `-- output
|           |   |-- openssl-sys-51a4072885038275
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   `-- output
|           |   |-- openssl-sys-extras-c284211a61168afa
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   |   |-- libopenssl_shim.a
|           |   |   |   |-- src
|           |   |   |   |   `-- openssl_shim.o
|           |   |   |   |-- ssl_ctx_options_shim.c
|           |   |   |   `-- ssl_ctx_options_shim.o
|           |   |   `-- output
|           |   |-- rust-crypto-ed6f35bcd4283630
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   |   |-- lib_rust_crypto_helpers.a
|           |   |   |   `-- src
|           |   |   |       |-- aesni_helpers.o
|           |   |   |       `-- util_helpers.o
|           |   |   `-- output
|           |   |-- ssh-ebb4188333c3f2d5
|           |   |   |-- build-script-build
|           |   |   |-- out
|           |   |   `-- output
|           |   `-- unicase-2e0e5b6194bd80c2
|           |       |-- build-script-build
|           |       |-- out
|           |       `-- output
|           |-- deps
|           |   |-- libaho_corasick-0ff9f44df26fc050.rlib
|           |   |-- libansi_term-117c4bbcb24dd176.rlib
|           |   |-- libbitflags-0d0368ffb498bf53.rlib
|           |   |-- libbitflags-75b969e27d3be669.rlib
|           |   |-- libbitflags-99b4bb31211a8680.rlib
|           |   |-- libbuild-88cbfbaee159d23c.rlib
|           |   |-- libbyteorder-52ebe783de20a63d.rlib
|           |   |-- libcbor-dd972acac6c4bfd9.rlib
|           |   |-- libclap-12ae30445f022765.rlib
|           |   |-- libcookie-1a49c5e56795a7fe.rlib
|           |   |-- libcrypto-f83d849de3974049.rlib
|           |   |-- libenv_logger-896ca0126c3aeb71.rlib
|           |   |-- libflate2-a6c701e65511ba5f.rlib
|           |   |-- libfs2-7ec9a39f6b48b5b8.rlib
|           |   |-- libgcc-013da65d06f59aec.rlib
|           |   |-- libhpack-9ddb2ca78afe3185.rlib
|           |   |-- libhttparse-e32aeaa123984026.rlib
|           |   |-- libhyper-7c4e0e09a644ec07.rlib
|           |   |-- libidna-6790675c414d56a4.rlib
|           |   |-- libkernel32-42202d39a178792e.rlib
|           |   |-- liblanguage_tags-77e5b6b0134abf0f.rlib
|           |   |-- liblazy_static-7038e6141956ec08.rlib
|           |   |-- liblibc-231c6934ae1f4eea.rlib
|           |   |-- liblibpijul-c3de1ed8fb473c7b.rlib
|           |   |-- liblog-bf3efb8bd76ca4a7.rlib
|           |   |-- libmatches-0c2de63a6d9d196d.rlib
|           |   |-- libmemchr-e8ffe705a7a337af.rlib
|           |   |-- libmemmap-6fe6d87c2e3430d4.rlib
|           |   |-- libmime-0dcdced96d6be771.rlib
|           |   |-- libminiz_sys-bff142974d62cad7.rlib
|           |   |-- libnum-3dece1aa21302fe4.rlib
|           |   |-- libnum_bigint-57ff2633df1f6fcf.rlib
|           |   |-- libnum_complex-038dc9221f28c87a.rlib
|           |   |-- libnum_cpus-2a6fcb8d249106e4.rlib
|           |   |-- libnum_integer-72c344ee9db0da04.rlib
|           |   |-- libnum_iter-1528723a2af3f710.rlib
|           |   |-- libnum_rational-3914dbd25c5644db.rlib
|           |   |-- libnum_traits-b1532fddd589e79f.rlib
|           |   |-- libopenssl-10e15865b065de9b.rlib
|           |   |-- libopenssl_sys-1829f186a2f1ff9f.rlib
|           |   |-- libopenssl_sys_extras-38273e27347e82aa.rlib
|           |   |-- libpkg_config-4d3498ba15af1327.rlib
|           |   |-- librand-e6ec3ef634ec5eb1.rlib
|           |   |-- libregex-c1868cddd06a41a1.rlib
|           |   |-- libregex_syntax-a56cad04dceb72c4.rlib
|           |   |-- librustc_serialize-31c7cf2c67ab15aa.rlib
|           |   |-- librustc_version-fde89821b2af455c.rlib
|           |   |-- libsanakirja-4a55281b38f7a679.rlib
|           |   |-- libsemver-ce7f2a28dfb39d6f.rlib
|           |   |-- libserde-e7b6efd58ca9f8cc.rlib
|           |   |-- libserde_json-23182e87f137c239.rlib
|           |   |-- libsolicit-de754c34a767d18e.rlib
|           |   |-- libssh-c0e1b3ffaa755354.rlib
|           |   |-- libstrsim-e0d667b9de98dc74.rlib
|           |   |-- libterm-7cf5ff65a4814993.rlib
|           |   |-- libtermios-8caf4ba1c10ea1f5.rlib
|           |   |-- libthread_id-f49bb10822c205cd.rlib
|           |   |-- libthread_local-f3a96be1c215c46f.rlib
|           |   |-- libtime-a2357f7e6d3ad780.rlib
|           |   |-- libtoml-4991f78d06577435.rlib
|           |   |-- libtraitobject-76fb5e9efd789d16.rlib
|           |   |-- libtypeable-a369bc2379fd1684.rlib
|           |   |-- libunicase-55cc8fd9d1125fbc.rlib
|           |   |-- libunicode_bidi-a5fd9cddb6cb4ce5.rlib
|           |   |-- libunicode_normalization-18b6b7b520fe76ac.rlib
|           |   |-- libunicode_width-64342cb086526dea.rlib
|           |   |-- liburl-1f5222fa00222bb0.rlib
|           |   |-- liburl-8c37fce4699fffdb.rlib
|           |   |-- libutf8_ranges-dcb91caced8c46dd.rlib
|           |   |-- libuuid-ad873e1a65fba58d.rlib
|           |   |-- libvec_map-18957d7ea33348b8.rlib
|           |   |-- libwinapi-fcfc94faa4293f50.rlib
|           |   `-- pijul-b233de532252c3b1
|           |-- examples
|           |-- native
|           `-- pijul
`-- tests
    |-- del
    |-- fileconflict
    |-- filemove
    |-- pseudo
    |-- pseudo_file
    `-- ssh

53 directories, 620 files
これはこれで興味深い人もいるだろう。
rpmのパッケージ構成は以下の様になった。
epelを除いて、新規で57のrpmパッケージが必要となった。
途中誤ってインストールした、libssh2-develは除外している。
  1 cmake-2.8.12.2-2.el7.x86_64
  2 cpp-4.8.5-11.el7.x86_64
  3 darcs-2.8.4-4.el7.x86_64
  4 epel-release-7-9.noarch
  5 gcc-4.8.5-11.el7.x86_64
  6 ghc-array-0.4.0.1-26.4.el7.x86_64
  7 ghc-base-4.6.0.1-26.4.el7.x86_64
  8 ghc-binary-0.5.1.1-26.4.el7.x86_64
  9 ghc-bytestring-0.10.0.2-26.4.el7.x86_64
 10 ghc-containers-0.5.0.0-26.4.el7.x86_64
 11 ghc-dataenc-0.14.0.5-3.el7.x86_64
 12 ghc-deepseq-1.3.0.1-26.4.el7.x86_64
 13 ghc-directory-1.2.0.1-26.4.el7.x86_64
 14 ghc-extensible-exceptions-0.1.1.4-13.el7.x86_64
 15 ghc-filepath-1.3.0.1-26.4.el7.x86_64
 16 ghc-hashed-storage-0.5.10-7.el7.x86_64
 17 ghc-haskeline-0.7.0.3-3.el7.x86_64
 18 ghc-html-1.0.1.2-29.el7.x86_64
 19 ghc-mmap-0.5.8-4.el7.x86_64
 20 ghc-mtl-2.1.2-27.el7.x86_64
 21 ghc-old-locale-1.0.0.5-26.4.el7.x86_64
 22 ghc-old-time-1.1.0.1-26.4.el7.x86_64
 23 ghc-parsec-3.1.3-31.el7.x86_64
 24 ghc-primitive-0.5.0.1-4.el7.x86_64
 25 ghc-process-1.1.0.2-26.4.el7.x86_64
 26 ghc-random-1.0.1.1-27.el7.x86_64
 27 ghc-regex-base-0.93.2-29.el7.x86_64
 28 ghc-regex-compat-0.95.1-35.el7.x86_64
 29 ghc-regex-posix-0.95.2-30.el7.x86_64
 30 ghc-tar-0.4.0.1-4.el7.x86_64
 31 ghc-terminfo-0.3.2.5-4.el7.x86_64
 32 ghc-text-0.11.3.1-2.el7.x86_64
 33 ghc-time-1.4.0.1-26.4.el7.x86_64
 34 ghc-transformers-0.3.0.0-34.el7.x86_64
 35 ghc-unix-2.6.0.1-26.4.el7.x86_64
 36 ghc-utf8-string-0.3.7-8.el7.x86_64
 37 ghc-vector-0.10.0.1-7.el7.x86_64
 38 ghc-zlib-0.5.4.1-27.el7.x86_64
 39 gpg-pubkey-352c64e5-52ae6884
 40 gpg-pubkey-f4a80eb5-53a7ff4b
 41 kernel-headers-3.10.0-514.10.2.el7.x86_64
 42 krb5-devel-1.14.1-26.el7.x86_64
 43 libarchive-3.1.2-10.el7_2.x86_64
 44 libcom_err-devel-1.42.9-9.el7.x86_64
 45 libkadm5-1.14.1-26.el7.x86_64
 46 libmpc-1.0.1-3.el7.x86_64
 47 libselinux-devel-2.5-6.el7.x86_64
 48 libsepol-devel-2.5-6.el7.x86_64
 49 libssh-0.7.1-2.el7.x86_64
 50 libssh-devel-0.7.1-2.el7.x86_64
 51 libverto-devel-0.2.5-4.el7.x86_64
 52 mpfr-3.1.1-4.el7.x86_64
 53 openssl-devel-1.0.1e-60.el7.x86_64
 54 pcre-devel-8.32-15.el7_2.1.x86_64
 55 rust-1.15.1-2.el7.x86_64
 56 rust-std-static-1.15.1-2.el7.x86_64
 57 zlib-devel-1.2.7-17.el7.x86_64
また、centos7のminimalパッケージからglibc周りで以下の4パッケージのバージョンが変わった。
glibc-2.17-157.el7_3.1.x86_64
glibc-common-2.17-157.el7_3.1.x86_64
glibc-devel-2.17-157.el7_3.1.x86_64
glibc-headers-2.17-157.el7_3.1.x86_64
※よくある既存環境との競合による注意点は、glibc、cpp、krb5-devel、cmake、ssl、sshあたりだろうか。
もし利用環境と合わない様であれば上記を留意してpijulをインストールした方がいい。

これまで長々と説明をしたが今すぐ評価したいというケースもあるだろう。
バージョンアップは頻繁に行われている様なので、上記の様な手順をいちいち読んで実行するのは骨がおれる。
簡素な手順をまとめると以下になる。
/root以下にインストールしてしまっているので、適宜変更して利用するといい。

# export SSL_CERT_FILE=/usr/share/pki/ca-trust-source/ca-bundle.trust.crt
# cd /usr/local/src/
# curl —k OL "https://static.rust-lang.org/cargo-dist/cargo-nightly-x86_64-unknown-linux-gnu.tar.gz"
# tar zxvf cargo-nightly-x86_64-unknown-linux-gnu.tar.gz
# yum --disablerepo=\* --enablerepo=base install -y openssl-devel
# yum install -y epel-release
# yum install -y libssh-devel
# yum install -y darcs
# yum install -y rust
# cd
# darcs get https://pijul.org
# cd pijul.org/pijul
# cp -R ../libpijul src
# cd src/libpijul/src
# darcs get https://pijul.org/sanakirja
# cd ../../../
# /usr/local/src/cargo-nightly-x86_64-unknown-linux-gnu/cargo/bin/cargo install

直接お会いしてリンクの許可をいただけた、κeen (@blackenedgold) 氏に感謝したい。
先のpijulソース取得の部分はまるっきり同一の内容となっている。
また、多様性は必要とおっしゃっていた事を思い出した。
git一辺倒になっている昨今、少しだけ他のVCSを思い出す事も必要かも知れない。

この場でお礼を申し上げておきます。
ありがとうございました。