ellie-commons / sequeler

SQL Client built in Vala
GNU General Public License v3.0
804 stars 66 forks source link

Can't build 0.7.7 #320

Closed darkshram closed 4 years ago

darkshram commented 4 years ago

All previous versions built Ok.

glib2-2.56.1 granite-5.3.0 gtk3-3.22.30 gtksourceview3-3.24.11 libgda-5.2.9 libgee-0.20.3 libsecret-0.18.8 libssh2-1.9.0 libxml2-2.9.10 vala-0.40.8

valac -C --debug --vapidir /builddir/build/BUILD/sequeler-0.7.7/vapi --pkg linux --pkg gtksourceview-3.0 --pkg libsecret-1 --pkg libssh2 --pkg libgda-5.0 --pkg libxml-2.0 --pkg gobject-2.0 --pkg gee-0.8 --pkg glib-2.0 --pkg granite --pkg gtk+-3.0 --color=always --directory src/25a6634@@com.github.alecaddd.sequeler@exe --basedir ../src --gresources=../data/assets.gresource.xml --pkg posix ../src/Main.vala ../src/Application.vala ../src/Window.vala ../src/Layouts/HeaderBar.vala ../src/Layouts/Main.vala ../src/Layouts/Library.vala ../src/Layouts/Welcome.vala ../src/Layouts/DataBaseSchema.vala ../src/Layouts/DataBaseView.vala ../src/Layouts/Views/Structure.vala ../src/Layouts/Views/Content.vala ../src/Layouts/Views/Relations.vala ../src/Layouts/Views/Query.vala ../src/Partials/ButtonType.vala ../src/Partials/Helpers.vala ../src/Partials/LibraryItem.vala ../src/Partials/TreeBuilder.vala ../src/Services/Settings.vala ../src/Services/ActionManager.vala ../src/Services/DataManager.vala ../src/Services/ConnectionManager.vala ../src/Services/PasswordManager.vala ../src/Services/UpgradeManager.vala ../src/Services/Types/DataBaseType.vala ../src/Services/Types/MySQL.vala ../src/Services/Types/PostgreSQL.vala ../src/Services/Types/SQLite.vala ../src/Widgets/ConnectionDialog.vala ../src/Widgets/QueryParamsDialog.vala src/config.vala
../src/Widgets/QueryParamsDialog.vala:193.32-193.46: error: The name `try_parse' does not exist in the context of `float'
                parse_result = float.try_parse (text, out parsed_value);
                               ^^^^^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
Alecaddd commented 4 years ago

Ah damn, I missed that. Fixing it now, thanks.

Alecaddd commented 4 years ago

The new release should fix this.

darkshram commented 4 years ago

I still get almost the same error with 0.7.8.

valac -C --debug --vapidir /builddir/build/BUILD/sequeler-0.7.8/vapi --pkg linux --pkg gtksourceview-3.0 --pkg libsecret-1 --pkg libssh2 --pkg libgda-5.0 --pkg libxml-2.0 --pkg gobject-2.0 --pkg gee-0.8 --pkg glib-2.0 --pkg granite --pkg gtk+-3.0 --color=always --directory src/25a6634@@com.github.alecaddd.sequeler@exe --basedir ../src --gresources=../data/assets.gresource.xml --pkg posix ../src/Main.vala ../src/Application.vala ../src/Window.vala ../src/Layouts/HeaderBar.vala ../src/Layouts/Main.vala ../src/Layouts/Library.vala ../src/Layouts/Welcome.vala ../src/Layouts/DataBaseSchema.vala ../src/Layouts/DataBaseView.vala ../src/Layouts/Views/Structure.vala ../src/Layouts/Views/Content.vala ../src/Layouts/Views/Relations.vala ../src/Layouts/Views/Query.vala ../src/Partials/ButtonType.vala ../src/Partials/Helpers.vala ../src/Partials/LibraryItem.vala ../src/Partials/TreeBuilder.vala ../src/Services/Settings.vala ../src/Services/ActionManager.vala ../src/Services/DataManager.vala ../src/Services/ConnectionManager.vala ../src/Services/PasswordManager.vala ../src/Services/UpgradeManager.vala ../src/Services/Types/DataBaseType.vala ../src/Services/Types/MySQL.vala ../src/Services/Types/PostgreSQL.vala ../src/Services/Types/SQLite.vala ../src/Widgets/ConnectionDialog.vala ../src/Widgets/QueryParamsDialog.vala src/config.vala
../src/Widgets/QueryParamsDialog.vala:195.32-195.42: error: The name `parse' does not exist in the context of `float'
                parsed_value = float.parse (text);
                               ^^^^^^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
ninja: build stopped: subcommand failed.
Alecaddd commented 4 years ago

And another release is out

darkshram commented 4 years ago

Now it build again! Thank you!