zhuyaliang/user-admin

Cannot build user-admin 1.5.0: build error in /src/user-admin.c:86:5 and vala 0.44.7+

Closed this issue · 3 comments

I tried to update user admin PKGBUILD on AUR, but it crashes while building.

Error log:

../src/user-admin.c:86:5: error: 'ConfigGroups' undeclared (first use in this function); did you mean 'onfigGroups'?
   86 |     ConfigGroups = g_key_file_get_groups(Kconfig, &Length);
      |     ^~~~~~~~~~~~
      |     onfigGroups
../src/user-admin.c:86:5: note: each undeclared identifier is reported only once for each function it appears in
[6/15] Compiling C object 'src/25a6634@@mate-user-admin@exe/user-base.c.o'.
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

Vala version:

fred@fredo-arch-mate ~ % valac --version
Vala 0.44.7

Same bug with vala-git

fred@fredo-arch-mate ~ % yay -Qi vala-git | grep Version
Version                  : 0.45.91+3+gfe187b5e2-1

@FredBezies
Sorry, I don't know why the name of a variable has lost a character. This problem has been fixed.

Well, it happens! :(

User-admin can be built now. Thanks for the quick fix.