tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.24k stars 128 forks source link

Fail to build GameHub #328

Closed IanTrudel closed 4 years ago

IanTrudel commented 4 years ago

Anyone knows why GameHub fails to build?

The Meson build system
Version: 0.47.2
Source dir: /home/ian/Workspace/GameHub
Build dir: /home/ian/Workspace/GameHub/build
Build type: native build
Project name: com.github.tkashkin.gamehub
Project version: 0.15.0
Native C compiler: cc (gcc 9.2.0 "cc (GCC) 9.2.0")
Native Vala compiler: valac (valac 0.40.8)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Configuring com.github.tkashkin.gamehub.appdata.xml using configuration
Configuring com.github.tkashkin.gamehub.policy using configuration
Found pkg-config: /usr/bin/pkg-config (0.27.1)
Native dependency glib-2.0 found: YES 2.56.1
Configuring ProjectConfig.vala.in.in.in using configuration
Native dependency gdk-3.0 found: YES 3.22.30
Native dependency json-glib-1.0 found: YES 1.4.2
Native dependency gee-0.8 found: YES 0.20.1
Native dependency sqlite3 found: YES 3.29.0
Native dependency libxml-2.0 found: YES 2.9.1
Library posix found: YES
Library linux found: YES
Native dependency glib-2.0 found: YES 2.56.1
Native dependency gtk+-3.0 found: YES 3.22.30
Native dependency libsoup-2.4 found: YES 2.62.2
Native dependency webkit2gtk-4.0 found: YES 2.22.7
Native dependency polkit-gobject-1 found: YES 0.112
Native dependency manette-0.2 found: YES 0.2.3
Native dependency x11 found: YES 1.6.7
Native dependency gdk-x11-3.0 found: YES 3.22.30
Native dependency xtst found: YES 1.2.3
Program meson/post_install.py found: YES (/usr/bin/env python3 /home/ian/Workspace/GameHub/meson/post_install.py)
Build targets in project: 12
Found ninja-1.7.2 at /usr/bin/ninja
[11/124] Compiling Vala source ../src/...ontroller.vala src/ProjectConfig.vala.
FAILED: src/src@@com.github.tkashkin.gamehub@exe/app.c src/src@@com.github.tkashkin.gamehub@exe/data/Runnable.c src/src@@com.github.tkashkin.gamehub@exe/data/Game.c src/src@@com.github.tkashkin.gamehub@exe/data/GameSource.c src/src@@com.github.tkashkin.gamehub@exe/data/Emulator.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/steam/Steam.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/steam/SteamGame.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/gog/GOG.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/gog/GOGGame.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/humble/Humble.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/humble/HumbleGame.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/humble/Trove.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/user/User.c src/src@@com.github.tkashkin.gamehub@exe/data/sources/user/UserGame.c src/src@@com.github.tkashkin.gamehub@exe/data/db/Database.c src/src@@com.github.tkashkin.gamehub@exe/data/db/Table.c src/src@@com.github.tkashkin.gamehub@exe/data/db/tables/Games.c src/src@@com.github.tkashkin.gamehub@exe/data/db/tables/Tags.c src/src@@com.github.tkashkin.gamehub@exe/data/db/tables/Merges.c src/src@@com.github.tkashkin.gamehub@exe/data/db/tables/Emulators.c src/src@@com.github.tkashkin.gamehub@exe/data/db/tables/IGDBData.c src/src@@com.github.tkashkin.gamehub@exe/data/CompatTool.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/CustomScript.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/Innoextract.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/WineWrap.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/Proton.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/Wine.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/DOSBox.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/ScummVM.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/RetroArch.c src/src@@com.github.tkashkin.gamehub@exe/data/compat/CustomEmulator.c src/src@@com.github.tkashkin.gamehub@exe/data/adapters/GamesAdapter.c src/src@@com.github.tkashkin.gamehub@exe/data/providers/Provider.c src/src@@com.github.tkashkin.gamehub@exe/data/providers/ImagesProvider.c src/src@@com.github.tkashkin.gamehub@exe/data/providers/DataProvider.c src/src@@com.github.tkashkin.gamehub@exe/data/providers/images/SteamGridDB.c src/src@@com.github.tkashkin.gamehub@exe/data/providers/images/JinxSGVI.c src/src@@com.github.tkashkin.gamehub@exe/data/providers/data/IGDB.c src/src@@com.github.tkashkin.gamehub@exe/ui/windows/MainWindow.c src/src@@com.github.tkashkin.gamehub@exe/ui/windows/WebAuthWindow.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/SettingsDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/SettingsDialogPage.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/ui/Appearance.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/ui/Behavior.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/general/Collection.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/sources/Steam.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/sources/GOG.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/sources/Humble.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/emulators/RetroArch.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/emulators/Emulators.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/providers/Providers.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/About.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/InstallDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/GameDetailsDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/GamePropertiesDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/GameFSOverlaysDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/CompatRunDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/CorruptedInstallerDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/ImportEmulatedGamesDialog.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/BaseView.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/WelcomeView.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/GamesView.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/GameCard.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/GameListRow.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/DownloadProgressView.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/FiltersPopover.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/AddGamePopover.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GamesView/GameContextMenu.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/GameDetailsView.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/MultipleGamesDetailsView.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/GameDetailsPage.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/GameDetailsBlock.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/Artwork.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/Playtime.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/Achievements.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/Description.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/GOGDetails.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/SteamDetails.c src/src@@com.github.tkashkin.gamehub@exe/ui/views/GameDetailsView/blocks/IGDBInfo.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/AutoSizeImage.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/ActionButton.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/FileChooserEntry.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/ExtendedStackSwitcher.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/ImagesDownloadPopover.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/CompatToolOptions.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/CompatToolPicker.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/GameTagsList.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/TagRow.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/Styles.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/AlertView.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/ModeButton.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/OverlayBar.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/Welcome.c src/src@@com.github.tkashkin.gamehub@exe/ui/widgets/SettingsSidebar.c src/src@@com.github.tkashkin.gamehub@exe/utils/Utils.c src/src@@com.github.tkashkin.gamehub@exe/utils/ImageCache.c src/src@@com.github.tkashkin.gamehub@exe/utils/FSUtils.c src/src@@com.github.tkashkin.gamehub@exe/utils/FSOverlay.c src/src@@com.github.tkashkin.gamehub@exe/utils/Parser.c src/src@@com.github.tkashkin.gamehub@exe/utils/BinaryVDF.c src/src@@com.github.tkashkin.gamehub@exe/settings/Settings.c src/src@@com.github.tkashkin.gamehub@exe/settings/UI.c src/src@@com.github.tkashkin.gamehub@exe/settings/SavedState.c src/src@@com.github.tkashkin.gamehub@exe/settings/Auth.c src/src@@com.github.tkashkin.gamehub@exe/settings/Compat.c src/src@@com.github.tkashkin.gamehub@exe/settings/Providers.c src/src@@com.github.tkashkin.gamehub@exe/settings/Controller.c src/src@@com.github.tkashkin.gamehub@exe/utils/downloader/Downloader.c src/src@@com.github.tkashkin.gamehub@exe/utils/downloader/SoupDownloader.c src/src@@com.github.tkashkin.gamehub@exe/utils/Gamepad.c src/src@@com.github.tkashkin.gamehub@exe/ui/dialogs/SettingsDialog/pages/general/Controller.c src/src@@com.github.tkashkin.gamehub@exe/ProjectConfig.c 
valac -C --debug -D OS_LINUX -D GLIB_2_56 -D GTK_3_22 -D SOUP_2_60 -D WEBKIT2GTK -D OVERLAYFS -D POLKIT -D MANETTE --pkg xtst --pkg gdk-x11-3.0 --pkg x11 --pkg manette-0.2 --pkg polkit-gobject-1 --pkg webkit2gtk-4.0 --pkg libsoup-2.4 --pkg gtk+-3.0 --target-glib 2.56 --pkg glib-2.0 --pkg linux --pkg posix --pkg libxml-2.0 --pkg sqlite3 --pkg gee-0.8 --pkg json-glib-1.0 --pkg gdk-3.0 --color=always --directory src/src@@com.github.tkashkin.gamehub@exe --basedir ../src --gresources=../data/icons/icons.gresource.xml --gresources=../data/com.github.tkashkin.gamehub.gresource.xml ../src/app.vala ../src/data/Runnable.vala ../src/data/Game.vala ../src/data/GameSource.vala ../src/data/Emulator.vala ../src/data/sources/steam/Steam.vala ../src/data/sources/steam/SteamGame.vala ../src/data/sources/gog/GOG.vala ../src/data/sources/gog/GOGGame.vala ../src/data/sources/humble/Humble.vala ../src/data/sources/humble/HumbleGame.vala ../src/data/sources/humble/Trove.vala ../src/data/sources/user/User.vala ../src/data/sources/user/UserGame.vala ../src/data/db/Database.vala ../src/data/db/Table.vala ../src/data/db/tables/Games.vala ../src/data/db/tables/Tags.vala ../src/data/db/tables/Merges.vala ../src/data/db/tables/Emulators.vala ../src/data/db/tables/IGDBData.vala ../src/data/CompatTool.vala ../src/data/compat/CustomScript.vala ../src/data/compat/Innoextract.vala ../src/data/compat/WineWrap.vala ../src/data/compat/Proton.vala ../src/data/compat/Wine.vala ../src/data/compat/DOSBox.vala ../src/data/compat/ScummVM.vala ../src/data/compat/RetroArch.vala ../src/data/compat/CustomEmulator.vala ../src/data/adapters/GamesAdapter.vala ../src/data/providers/Provider.vala ../src/data/providers/ImagesProvider.vala ../src/data/providers/DataProvider.vala ../src/data/providers/images/SteamGridDB.vala ../src/data/providers/images/JinxSGVI.vala ../src/data/providers/data/IGDB.vala ../src/ui/windows/MainWindow.vala ../src/ui/windows/WebAuthWindow.vala ../src/ui/dialogs/SettingsDialog/SettingsDialog.vala ../src/ui/dialogs/SettingsDialog/SettingsDialogPage.vala ../src/ui/dialogs/SettingsDialog/pages/ui/Appearance.vala ../src/ui/dialogs/SettingsDialog/pages/ui/Behavior.vala ../src/ui/dialogs/SettingsDialog/pages/general/Collection.vala ../src/ui/dialogs/SettingsDialog/pages/sources/Steam.vala ../src/ui/dialogs/SettingsDialog/pages/sources/GOG.vala ../src/ui/dialogs/SettingsDialog/pages/sources/Humble.vala ../src/ui/dialogs/SettingsDialog/pages/emulators/RetroArch.vala ../src/ui/dialogs/SettingsDialog/pages/emulators/Emulators.vala ../src/ui/dialogs/SettingsDialog/pages/providers/Providers.vala ../src/ui/dialogs/SettingsDialog/pages/About.vala ../src/ui/dialogs/InstallDialog.vala ../src/ui/dialogs/GameDetailsDialog.vala ../src/ui/dialogs/GamePropertiesDialog.vala ../src/ui/dialogs/GameFSOverlaysDialog.vala ../src/ui/dialogs/CompatRunDialog.vala ../src/ui/dialogs/CorruptedInstallerDialog.vala ../src/ui/dialogs/ImportEmulatedGamesDialog.vala ../src/ui/views/BaseView.vala ../src/ui/views/WelcomeView.vala ../src/ui/views/GamesView/GamesView.vala ../src/ui/views/GamesView/GameCard.vala ../src/ui/views/GamesView/GameListRow.vala ../src/ui/views/GamesView/DownloadProgressView.vala ../src/ui/views/GamesView/FiltersPopover.vala ../src/ui/views/GamesView/AddGamePopover.vala ../src/ui/views/GamesView/GameContextMenu.vala ../src/ui/views/GameDetailsView/GameDetailsView.vala ../src/ui/views/GameDetailsView/MultipleGamesDetailsView.vala ../src/ui/views/GameDetailsView/GameDetailsPage.vala ../src/ui/views/GameDetailsView/GameDetailsBlock.vala ../src/ui/views/GameDetailsView/blocks/Artwork.vala ../src/ui/views/GameDetailsView/blocks/Playtime.vala ../src/ui/views/GameDetailsView/blocks/Achievements.vala ../src/ui/views/GameDetailsView/blocks/Description.vala ../src/ui/views/GameDetailsView/blocks/GOGDetails.vala ../src/ui/views/GameDetailsView/blocks/SteamDetails.vala ../src/ui/views/GameDetailsView/blocks/IGDBInfo.vala ../src/ui/widgets/AutoSizeImage.vala ../src/ui/widgets/ActionButton.vala ../src/ui/widgets/FileChooserEntry.vala ../src/ui/widgets/ExtendedStackSwitcher.vala ../src/ui/widgets/ImagesDownloadPopover.vala ../src/ui/widgets/CompatToolOptions.vala ../src/ui/widgets/CompatToolPicker.vala ../src/ui/widgets/GameTagsList.vala ../src/ui/widgets/TagRow.vala ../src/ui/widgets/Styles.vala ../src/ui/widgets/AlertView.vala ../src/ui/widgets/ModeButton.vala ../src/ui/widgets/OverlayBar.vala ../src/ui/widgets/Welcome.vala ../src/ui/widgets/SettingsSidebar.vala ../src/utils/Utils.vala ../src/utils/ImageCache.vala ../src/utils/FSUtils.vala ../src/utils/FSOverlay.vala ../src/utils/Parser.vala ../src/utils/BinaryVDF.vala ../src/settings/Settings.vala ../src/settings/UI.vala ../src/settings/SavedState.vala ../src/settings/Auth.vala ../src/settings/Compat.vala ../src/settings/Providers.vala ../src/settings/Controller.vala ../src/utils/downloader/Downloader.vala ../src/utils/downloader/SoupDownloader.vala ../src/utils/Gamepad.vala ../src/ui/dialogs/SettingsDialog/pages/general/Controller.vala src/ProjectConfig.vala
../src/ui/views/GameDetailsView/blocks/Description.vala:86.35-86.74: warning: Gtk.StyleContext.get_background_color has been deprecated since 3.16
../src/ui/dialogs/SettingsDialog/SettingsDialog.vala:127.4-127.18: warning: Gtk.Dialog.get_action_area has been deprecated since 3.12
../src/ui/views/GameDetailsView/GameDetailsView.vala:173.46-173.56: error: Argument 3: Cannot pass ref argument to non-reference parameter
                        stack.child_get_property(page, "name", ref page_id);
                                                               ^^^^^^^^^^^
../src/ui/dialogs/GameDetailsDialog.vala:68.4-68.18: warning: Gtk.Dialog.get_action_area has been deprecated since 3.12
../src/ui/dialogs/GameDetailsDialog.vala:69.4-69.18: warning: Gtk.Dialog.get_action_area has been deprecated since 3.12
../src/ui/dialogs/ImportEmulatedGamesDialog.vala:112.4-112.20: warning: Gtk.Button.xalign has been deprecated since 3.14
Compilation failed: 1 error(s), 5 warning(s)
ninja: build stopped: subcommand failed.
tkashkin commented 4 years ago

Weird, it worked and should still work. I haven't seen any related API changes.

Can you try to update Vala compiler and build it again?

IanTrudel commented 4 years ago

Can you try to update Vala compiler and build it again?

Yes, it did fix the problem. GameHub is built and working. Thank you!

Merry Christmas