You are not logged in.

#1 2014-10-24 01:13:36

janjic
Member
Registered: 2014-10-24
Posts: 5

libdesktop-agnostic install from AUR failed

[ 38/121] cc: build/default/libdesktop-agnostic/vfs.c -> build/default/libdesktop-agnostic/vfs_2.o
[ 39/121] cc: build/default/libdesktop-agnostic/vfs-bookmarks-gtk.c -> build/default/libdesktop-agnostic/vfs-bookmarks-gtk_2.o
In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0,
                 from /usr/include/glib-2.0/glib.h:54,
                 from default/libdesktop-agnostic/color.c:26:
/usr/include/glib-2.0/glib/gmain.h:407:36: error: unknown type name 'GMainLoop0'
 void       g_main_loop_unref      (GMainLoop0   *loop);
                                    ^
In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0,
                 from /usr/include/glib-2.0/glib.h:54,
                 from default/libdesktop-agnostic/module.c:26:
/usr/include/glib-2.0/glib/gmain.h:407:36: error: unknown type name 'GMainLoop0'
 void       g_main_loop_unref      (GMainLoop0   *loop);
                                    ^
In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0,
                 from /usr/include/glib-2.0/glib.h:54,
                 from default/libdesktop-agnostic/vfs-bookmarks-gtk.c:29:
/usr/include/glib-2.0/glib/gmain.h:407:36: error: unknown type name 'GMainLoop0'
 void       g_main_loop_unref      (GMainLoop0   *loop);
                                    ^
In file included from /usr/include/glib-2.0/glib/giochannel.h:33:0,
                 from /usr/include/glib-2.0/glib.h:54,
                 from default/libdesktop-agnostic/vfs.c:26:
/usr/include/glib-2.0/glib/gmain.h:407:36: error: unknown type name 'GMainLoop0'
 void       g_main_loop_unref      (GMainLoop0   *loop);
                                    ^
In file included from /usr/include/glib-2.0/glib.h:79:0,
                 from default/libdesktop-agnostic/vfs-bookmarks-gtk.c:29:
default/libdesktop-agnostic/vfs-bookmarks-gtk.c: In function 'string_strip':
default/libdesktop-agnostic/vfs-bookmarks-gtk.c:378:14: warning: passing argument 1 of 'g_strchug' discards 'const' qualifier from pointer target type
  g_strstrip (_tmp1_);
              ^
/usr/include/glib-2.0/glib/gstrfuncs.h:180:53: note: in definition of macro 'g_strstrip'
 #define g_strstrip( string ) g_strchomp (g_strchug (string))
                                                     ^
/usr/include/glib-2.0/glib/gstrfuncs.h:175:23: note: expected 'gchar *' but argument is of type 'const gchar *'
 gchar*                g_strchug        (gchar        *string);
                       ^
Waf: Leaving directory `/home/janjic/Downloads/libdesktop-agnostic/src/libdesktop-agnostic-0.3.92/build'
Build failed
 -> task failed (err #1): 
	{task: cc module.c -> module_1.o}
 -> task failed (err #1): 
	{task: cc vfs-bookmarks-gtk.c -> vfs-bookmarks-gtk_2.o}
 -> task failed (err #1): 
	{task: cc color.c -> color_1.o}
 -> task failed (err #1): 
	{task: cc vfs.c -> vfs_2.o}
==> ERROR: A failure occurred in build().
    Aborting...
[janjic@arch-janjic libdesktop-agnostic]$

Part of installation log, can anyone help? I stuck here..

Last edited by janjic (2014-10-24 01:20:45)

Offline

#2 2014-10-24 01:16:38

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,571
Website

Re: libdesktop-agnostic install from AUR failed

Welcome to the forums. Please edit your post to use code tags for the output.

While you are at it, pleast include the full output including the command you used.  It built fine here.

Is your system up to date?  Do you have base-devel installed?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2014-10-24 01:19:10

janjic
Member
Registered: 2014-10-24
Posts: 5

Re: libdesktop-agnostic install from AUR failed

Trilby wrote:

Please edit your post to use code tags for the output.

While you are at it, pleast include the full output including the command you used.  It built fine here.

Is your system up to date?  Do you have base-devel installed?

Up to date, fresh install, base-devel installed
I am first time on forum, i dont know yet how to use that code tags, sorry.. I did it wink
here is full output http://pastebin.com/umqHYx7r

Last edited by janjic (2014-10-24 01:21:08)

Offline

#4 2014-10-24 01:21:20

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,571
Website

Re: libdesktop-agnostic install from AUR failed

See here to learn how to use code tags.  See the wiki or the man page to learn to use makepkg: do not build packages as root.

I suspect the real problem here is that you do not have the dependencies installed.  Use `makepkg -s` as a regular user to install the dependencies and build the package (or `makepkg -si` to build then install).

EDIT: actually dependencies shouldn't be the issue, makepkg would exit with an error about missing dependencies if that were the case.  But try as a regular user (not as root) before we dig deeper.

EDIT 2: Something corrupted the header file from glib2, that GMainLoop0 should just be GMainLoop.  I'd suggest reinstalling glib2 with pacman.

Last edited by Trilby (2014-10-24 01:25:48)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2014-10-24 01:35:31

janjic
Member
Registered: 2014-10-24
Posts: 5

Re: libdesktop-agnostic install from AUR failed

Trilby wrote:

See here to learn how to use code tags.  See the wiki or the man page to learn to use makepkg: do not build packages as root.

I suspect the real problem here is that you do not have the dependencies installed.  Use `makepkg -s` as a regular user to install the dependencies and build the package (or `makepkg -si` to build then install).

EDIT: actually dependencies shouldn't be the issue, makepkg would exit with an error about missing dependencies if that were the case.  But try as a regular user (not as root) before we dig deeper.

EDIT 2: Something corrupted the header file from glib2, that GMainLoop0 should just be GMainLoop.  I'd suggest reinstalling glib2 with pacman.

glib2 fix the problem, thanks mate smile

Offline

Board footer

Powered by FluxBB