Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issue: double' is not a supported generic type argument, use ?' to box value types #1010

Closed
alexmat opened this issue Mar 1, 2021 · 5 comments
Labels
bug Causing malfunction, data loss and/or heavily degraded user experience 🏗 Build Related to the process of building Dino from the source code

Comments

@alexmat
Copy link

alexmat commented Mar 1, 2021

building 73f0121

# vala --version
Vala 0.51.3

running into the following issue:

[129/791] Generating C code for target QLITE_VALA_C                                                                                       
FAILED: qlite/src/database.c qlite/src/table.c qlite/src/column.c qlite/src/row.c qlite/src/statement_builder.c qlite/src/delete_builder.c qlite/src/insert_builder.c qlite/src/query_builder.c qlite/src/update_builder.c qlite/src/upsert_builder.c exports/qlite.vapi exports/qlite_internal.vapi exports/qlite.h exports/qlite_internal.h 
cd /tmp/pkgmk-dino/src/dino/build/qlite && /usr/bin/valac --color=always -C --header=/tmp/pkgmk-dino/src/dino/build/exports/qlite.h --internal-header=/tmp/pkgmk-dino/src/dino/build/exports/qlite_internal.h --vapi=/tmp/pkgmk-dino/src/dino/build/exports/qlite.vapi --internal-vapi=/tmp/pkgmk-dino/src/dino/build/exports/qlite_internal.vapi -b /tmp/pkgmk-dino/src/dino/qlite -d /tmp/pkgmk-dino/src/dino/build/qlite --pkg=gee-0.8 --pkg=glib-2.0 --pkg=gobject-2.0 --pkg=sqlite3 -g --target-glib=2.38 /tmp/pkgmk-dino/src/dino/qlite/src/database.vala /tmp/pkgmk-dino/src/dino/qlite/src/table.vala /tmp/pkgmk-dino/src/dino/qlite/src/column.vala /tmp/pkgmk-dino/src/dino/qlite/src/row.vala /tmp/pkgmk-dino/src/dino/qlite/src/statement_builder.vala /tmp/pkgmk-dino/src/dino/qlite/src/delete_builder.vala /tmp/pkgmk-dino/src/dino/qlite/src/insert_builder.vala /tmp/pkgmk-dino/src/dino/qlite/src/query_builder.vala /tmp/pkgmk-dino/src/dino/qlite/src/update_builder.vala /tmp/pkgmk-dino/src/dino/qlite/src/upsert_builder.vala
/tmp/pkgmk-dino/src/dino/qlite/src/column.vala:99.32-99.37: error: `double' is not a supported generic type argument, use `?' to box value types
    public class Real : Column<double> {
                               ^^^^^^
Compilation failed: 1 error(s), 0 warning(s)
@jasperla
Copy link

jasperla commented Mar 1, 2021

Same build error happens with the latest stable version of vala (0.50.4).

@fiaxh fiaxh added bug Causing malfunction, data loss and/or heavily degraded user experience 🏗 Build Related to the process of building Dino from the source code labels Mar 1, 2021
@licaon-kter
Copy link
Contributor

licaon-kter commented Mar 6, 2021

seeing the same
Debian Sid, amd64, Vala 0.48.14

@mightyBroccoli
Copy link

Arch Linux has the same issue
Vala 0.50.4

@fiaxh
Copy link
Member

fiaxh commented Mar 6, 2021

This should be fixed by 9acb54d.

@fiaxh fiaxh closed this as completed Mar 6, 2021
@jasperla
Copy link

jasperla commented Mar 6, 2021

@fiaxh thanks, I can confirm dino builds fine now.

lukegb added a commit to lukegb/nixpkgs that referenced this issue Apr 7, 2021
ghost pushed a commit to NixOS/nixpkgs that referenced this issue Apr 7, 2021
cideM pushed a commit to cideM/nixpkgs that referenced this issue Apr 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Causing malfunction, data loss and/or heavily degraded user experience 🏗 Build Related to the process of building Dino from the source code
Projects
None yet
Development

No branches or pull requests

5 participants