ubuntu-18.04-yetus-testing-20191224
Для тестирования YETUS использовала ту виртуальную машину KVM с установленной системой Ubuntu 18.04, на которой тестировала EVE.
Там уже выполнено git clone https://github.com/lf-edge/eve.git.
Перешла в каталог eve
user@user-KVM:~$ cd eve/ user@user-KVM:~/eve$
Запустила команду make yetus, получила сообщение об ошибке:
user@user-KVM:~/eve$ LANG=C make yetus 2>&1 | tee /tmp/make_yetus.log.20191224.1
Running yetus
build-tools/src/yetus/test-patch.sh
/home/user/eve/build-tools/src/yetus/yetus-wrapper.sh: 38: /home/user/eve/build-tools/src/yetus/yetus-wrapper.sh: curl: not found
ERROR: yetus-dl: unable to fetch https://www.apache.org/dist/yetus/KEYS
build-tools/src/yetus/test-patch.sh: line 56: /tmp/yetus/bin/test-patch: No such file or directory
Makefile:157: recipe for target 'yetus' failed
make: *** [yetus] Error 127
Команда не работает, поскольку не установлен пакет curl. Установила этот пакет
user@user-KVM:~/eve$ sudo apt install curl
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcurl4
The following NEW packages will be installed:
curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 373 kB of archives.
After this operation, 1 038 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ru.archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcurl4 amd64 7.58.0-2ubuntu3.8 [214 kB]
Get:2 http://ru.archive.ubuntu.com/ubuntu bionic-updates/main amd64 curl amd64 7.58.0-2ubuntu3.8 [159 kB]
Fetched 373 kB in 0s (3 134 kB/s)
Selecting previously unselected package libcurl4:amd64.
(Reading database ... 166054 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.58.0-2ubuntu3.8_amd64.deb ...
Unpacking curl (7.58.0-2ubuntu3.8) ...
Setting up libcurl4:amd64 (7.58.0-2ubuntu3.8) ...
Setting up curl (7.58.0-2ubuntu3.8) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Вновь запустила команду make yetus, получила другое сообщение об ошибке:
user@user-KVM:~/eve$ LANG=C make yetus 2>&1 | tee /tmp/make_yetus.log.20191224.2
Running yetus
build-tools/src/yetus/test-patch.sh
ERROR: yetus-dl: unable to fetch https://www.apache.org/dyn/closer.cgi?action=download&filename=yetus/0.11.0/apache-yetus-0.11.0-bin.tar.gz.asc
build-tools/src/yetus/test-patch.sh: line 56: /tmp/yetus/bin/test-patch: No such file or directory
Makefile:157: recipe for target 'yetus' failed
make: *** [yetus] Error 127
Перешла в каталог на уровень выше и переименовала каталог eve в eve.orig:
user@user-KVM:~/eve$ cd ..
user@user-KVM:~$ mv eve/ eve.orig
Чтобы протестировать YETUS с репозитория Олега (с его исправлениями), выполнила команду git clone https://github.com/sadov/eve.git
user@user-KVM:~$ git clone https://github.com/sadov/eve.git
Cloning into 'eve'...
remote: Enumerating objects: 46122, done.
remote: Total 46122 (delta 0), reused 0 (delta 0), pack-reused 46122
Receiving objects: 100% (46122/46122), 55.67 MiB | 2.51 MiB/s, done.
Resolving deltas: 100% (29138/29138), done.
Checking out files: 100% (6282/6282), done.
Перешла в каталог eve
user@user-KVM:~$ cd eve/ user@user-KVM:~/eve$
Запустила команду make yetus
user@user-KVM:~/eve$ LANG=C make yetus 2>&1 | tee /tmp/make_yetus.log.20191224.3
Процесс закончился успешно. Последнее сообщение выглядит так
Finished build.