ninja test error when building on FreeBSD
Closed this issue · 0 comments
sebdanielsson commented
I'm trying to build EasySSH on FreeBSD following these instructions:
Install dependencies
pkg install devel/git devel/meson devel/cmake devel/pkgconf devel/libgee devel/json-glib devel/gettext devel/desktop-file-utils devel/appstream-glib lang/vala lang/python3 security/gnupg x11-toolkits/gtk30 x11-toolkits/granite devel/libvterm x11-toolkits/vte3
Clone the git repo
git clone https://github.com/muriloventuroso/easyssh.git
cd easyssh
Build
meson setup build --prefix=/usr
cd build
ninja test
Error
ninja test error
[79/222] Compiling Vala source Config.vala ...okmarksPopover.vala ../src/Widgets/Tab.vala
../src/Widgets/TerminalWidget.vala:175.21-175.35: warning: `Vte.Terminal.spawn_sync' has been deprecated since 0.48
175 | this.spawn_sync(Vte.PtyFlags.DEFAULT, null, {"/bin/sh"},
| ^~~~~~~~~~~~~~~
../src/Widgets/TerminalWidget.vala:185.25-185.39: warning: `Vte.Terminal.spawn_sync' has been deprecated since 0.48
185 | this.spawn_sync (Vte.PtyFlags.DEFAULT, dir, { shell },
| ^~~~~~~~~~~~~~~
../src/Widgets/SearchToolbar.vala:97.21-97.42: warning: `Vte.Terminal.search_set_gregex' has been deprecated since 0.46
97 | term.search_set_gregex (regex, 0);
| ^~~~~~~~~~~~~~~~~~~~~~
../src/MainWindow.vala:472.13-472.82: warning: unhandled error `GLib.SpawnError'
472 | Process.spawn_command_line_async (default_filemanager + " " + command);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/MainWindow.vala:233.13-236.41: warning: unhandled error `GLib.SpawnError'
233 | var result = Process.spawn_command_line_sync ("xdg-mime query default inode/directory",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | out stdout,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | out stderr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
236 | null);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/MainWindow.vala:243.13-246.41: warning: unhandled error `GLib.SpawnError'
243 | var res = Process.spawn_command_line_sync ("cat /usr/share/applications/" + filename,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | out stdout,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
245 | out stderr,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | null);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compilation succeeded - 6 warning(s)
[221/222] Running all tests.
1/2 Validate desktop file OK 0.01s
2/2 Validate appdata file FAIL 0.60s exit status 1
>>> MALLOC_PERTURB_=234 /usr/local/bin/appstream-util validate /root/easyssh/build/data/com.github.muriloventuroso.easyssh.appdata.xml
――――――――――――――――――――――――――――――――――――――――― ✀ ――――――――――――――――――――――――――――――――――――――――――
stdout:
/root/easyssh/build/data/com.github.muriloventuroso.easyssh.appdata.xml: FAILED:
• style-invalid : <image> has vertical padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot.png]
• style-invalid : <image> has horizontal padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot.png]
• style-invalid : <image> has vertical padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot2.png]
• style-invalid : <image> has horizontal padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot2.png]
• style-invalid : <ul> cannot start a description [(null)]
• style-invalid : Not enough <p> tags for a good description [0/1]
stderr:
Validation of files failed
―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Summary of Failures:
2/2 Validate appdata file FAIL 0.60s exit status 1
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
Full log written to /root/easyssh/build/meson-logs/testlog.txt
FAILED: meson-internal__test
/usr/local/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
Full log
Full log
Log of Meson test suite run on 2023-08-17T13:00:22.231489
Inherited environment: VENDOR=unknown SSH_CLIENT='10.211.55.2 60761 22' LOGNAME=root PAGER=less LANG=C.UTF-8 OSTYPE=FreeBSD MACHTYPE=unknown MAIL=/var/mail/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin EDITOR=vi HOST=freebsd REMOTEHOST=10.211.55.2 PWD=/root/easyssh/build GROUP=wheel TERM=xterm-256color SSH_TTY=/dev/pts/0 HOME=/root USER=root SSH_CONNECTION='10.211.55.2 60761 10.211.55.10 22' HOSTTYPE=FreeBSD SHELL=/bin/csh MM_CHARSET=UTF-8 BLOCKSIZE=K SHLVL=1
==================================== 1/2 =====================================
test: Validate desktop file
start time: 11:00:22
duration: 0.01s
result: exit status 0
command: MALLOC_PERTURB_=184 /usr/local/bin/desktop-file-validate /root/easyssh/build/data/com.github.muriloventuroso.easyssh.desktop
----------------------------------- stdout -----------------------------------
/root/easyssh/build/data/com.github.muriloventuroso.easyssh.desktop: hint: value "Utility;Network;RemoteAccess;Security;WebDevelopment;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
/root/easyssh/build/data/com.github.muriloventuroso.easyssh.desktop: hint: value item "Security" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: Settings, or System
==============================================================================
==================================== 2/2 =====================================
test: Validate appdata file
start time: 11:00:22
duration: 0.60s
result: exit status 1
command: MALLOC_PERTURB_=234 /usr/local/bin/appstream-util validate /root/easyssh/build/data/com.github.muriloventuroso.easyssh.appdata.xml
----------------------------------- stdout -----------------------------------
/root/easyssh/build/data/com.github.muriloventuroso.easyssh.appdata.xml: FAILED:
• style-invalid : <image> has vertical padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot.png]
• style-invalid : <image> has horizontal padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot.png]
• style-invalid : <image> has vertical padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot2.png]
• style-invalid : <image> has horizontal padding [https://raw.githubusercontent.com/muriloventuroso/easyssh/master/data/screenshot2.png]
• style-invalid : <ul> cannot start a description [(null)]
• style-invalid : Not enough <p> tags for a good description [0/1]
----------------------------------- stderr -----------------------------------
Validation of files failed
==============================================================================
Summary of Failures:
2/2 Validate appdata file FAIL 0.60s exit status 1
Ok: 1
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0