~alva/rocket

1

Build fails

Details
Message ID
<3345ea5b-3815-38da-4502-584695fe74c6@linmob.net>
DKIM signature
missing
Download raw message
Hi,

I've been trying to run your nice project in order to add it to
https://linmobapps.frama.io, a list of applications that run on Linux
Phones (like the PinePhone or Librem 5).

Sadly, the build fails for me with the following error, reproducible and
happens with other release-types, too. I used zig 0.7.1 on Arch Linux
ARM. Sadly I know nothing about zig and thus can't fix it myself.

I managed to run a previous state of your program and liked it a lot,
and as you made it more mobile friendly since, would love to add it to
my list.

Thank you for creating this project!

Cheers,

Peter


./src/main.zig:177:25: error: incompatible types: 'c_uint' and 'c_int'
    if (0 != ke.*.state & GDK_CONTROL_MASK) {
                        ^
./src/main.zig:177:18: note: type 'c_uint' here
    if (0 != ke.*.state & GDK_CONTROL_MASK) {
                 ^
./src/main.zig:177:27: note: type 'c_int' here
    if (0 != ke.*.state & GDK_CONTROL_MASK) {
                          ^
rocket...The following command exited with error code 1:
/usr/bin/zig build-exe /home/alarm/build/rocket/src/main.zig --library c
--library gtk-3 --library gdk-3 --library pangocairo-1.0 --library
pango-1.0 --library harfbuzz --library atk-1.0 --library cairo-gobject
--library cairo --library gdk_pixbuf-2.0 --library gio-2.0 --library
gobject-2.0 --library glib-2.0 --library handy-1 --library gtk-3
--library gdk-3 --library pangocairo-1.0 --library pango-1.0 --library
harfbuzz --library atk-1.0 --library cairo-gobject --library cairo
--library gdk_pixbuf-2.0 --library gio-2.0 --library gobject-2.0
--library glib-2.0 --strip -OReleaseSmall --cache-dir
/home/alarm/build/rocket/zig-cache --global-cache-dir
/home/alarm/.cache/zig --name rocket -I /usr/include/gtk-3.0 -I
/usr/include/pango-1.0 -I /usr/include/glib-2.0 -I
/usr/lib/glib-2.0/include -I /usr/include/harfbuzz -I
/usr/include/freetype2 -I /usr/include/libpng16 -I /usr/include/libmount
-I /usr/include/blkid -I /usr/include/fribidi -I /usr/include/cairo -I
/usr/include/lzo -I /usr/include/pixman-1 -I /usr/include/gdk-pixbuf-2.0
-I /usr/include/gio-unix-2.0 -I /usr/include/atk-1.0 -I
/usr/include/at-spi2-atk/2.0 -I /usr/include/dbus-1.0 -I
/usr/lib/dbus-1.0/include -I /usr/include/at-spi-2.0 -I
/usr/include/libhandy-1 -I /usr/include/gtk-3.0 -I
/usr/include/pango-1.0 -I /usr/include/glib-2.0 -I
/usr/lib/glib-2.0/include -I /usr/include/harfbuzz -I
/usr/include/freetype2 -I /usr/include/libpng16 -I /usr/include/libmount
-I /usr/include/blkid -I /usr/include/fribidi -I /usr/include/cairo -I
/usr/include/lzo -I /usr/include/pixman-1 -I /usr/include/gdk-pixbuf-2.0
-I /usr/include/gio-unix-2.0 -I /usr/include/atk-1.0 -I
/usr/include/at-spi2-atk/2.0 -I /usr/include/dbus-1.0 -I
/usr/lib/dbus-1.0/include -I /usr/include/at-spi-2.0 -I
/home/alarm/build/rocket/src -isystem /usr/include/aarch64-linux-gnu
--enable-cache
error: the following build command failed with exit code 1:
/home/alarm/build/rocket/zig-cache/o/20e5635e4e390e3c52f6e4df5e3ed395/build
/usr/bin/zig /home/alarm/build/rocket /home/alarm/build/rocket/zig-cache
/home/alarm/.cache/zig install -Drelease-small --prefix /home/alarm/.local
Details
Message ID
<6a8a2258faba12af28f5cf304b269b1688d118ab.camel@u8.is>
In-Reply-To
<3345ea5b-3815-38da-4502-584695fe74c6@linmob.net> (view parent)
DKIM signature
missing
Download raw message
> Hi,
> 
> I've been trying to run your nice project in order to add it to
> https://linmobapps.frama.io, a list of applications that run on Linux
> Phones (like the PinePhone or Librem 5).
> 
> Sadly, the build fails for me with the following error, reproducible
> and
> happens with other release-types, too. I used zig 0.7.1 on Arch Linux
> ARM. Sadly I know nothing about zig and thus can't fix it myself.

I had an uncommitted change that looks like it should fix the problem.
I don't have an ARM machine to try it on, and Sourcehut CI doesn't
support AArch64, unfortunately, but I think it should work now!

> I managed to run a previous state of your program and liked it a lot,
> and as you made it more mobile friendly since, would love to add it
> to
> my list.
> 
> Thank you for creating this project!

Thank you for the kind words!
I haven't had much time for Rocket lately, so it's still very
unfinished, but knowing that at least one person likes it makes me want
to get it into shape for a proper release.
Reply to thread Export thread (mbox)