Skip to content

Instantly share code, notes, and snippets.

@kyrylo
Created June 5, 2012 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyrylo/31554940047ed3c1beda to your computer and use it in GitHub Desktop.
Save kyrylo/31554940047ed3c1beda to your computer and use it in GitHub Desktop.
Aur Targets (1): xorg-grandr-git
Proceed with installation? [Y/n] y
Edit xorg-grandr-git PKGBUILD with $EDITOR? [Y/n] n
==> Determining latest git revision...
-> Version found: 20120605
==> Making package: xorg-grandr-git 20120605-1 (Tue Jun 5 15:44:13 EEST 2012)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
==> Connecting to GIT server....
Already up-to-date.
==> The local files are updated.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into '/tmp/packerbuild-1000/xorg-grandr-git/xorg-grandr-git/src/grandr-build'...
done.
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.
processing .
Running aclocal ...
Running autoheader...
Running automake --gnu ...
configure.in:39: installing './config.guess'
configure.in:39: installing './config.sub'
configure.in:24: installing './install-sh'
configure.in:24: installing './missing'
src/Makefile.am: installing './depcomp'
Running autoconf ...
Running ./configure --enable-maintainer-mode ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Now type `make' to compile.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory `/tmp/packerbuild-1000/xorg-grandr-git/xorg-grandr-git/src/grandr-build'
Making all in src
make[2]: Entering directory `/tmp/packerbuild-1000/xorg-grandr-git/xorg-grandr-git/src/grandr-build/src'
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT support.o -MD -MP -MF .deps/support.Tpo -c -o support.o support.c
mv -f .deps/support.Tpo .deps/support.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT interface.o -MD -MP -MF .deps/interface.Tpo -c -o interface.o interface.c
mv -f .deps/interface.Tpo .deps/interface.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT callbacks.o -MD -MP -MF .deps/callbacks.Tpo -c -o callbacks.o callbacks.c
callbacks.c: In function ‘on_iview_drag_data_get’:
callbacks.c:262:4: warning: passing argument 4 of ‘gtk_selection_data_set’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkclipboard.h:29:0,
from /usr/include/gtk-2.0/gtk/gtk.h:68,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtkselection.h:159:10: note: expected ‘const guchar *’ but argument is of type ‘int *’
callbacks.c:264:2: warning: passing argument 1 of ‘gtk_list_store_remove’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkentrycompletion.h:28:0,
from /usr/include/gtk-2.0/gtk/gtkentry.h:43,
from /usr/include/gtk-2.0/gtk/gtktreeview.h:31,
from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29,
from /usr/include/gtk-2.0/gtk/gtk.h:72,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtkliststore.h:103:15: note: expected ‘struct GtkListStore *’ but argument is of type ‘struct GtkTreeModel *’
callbacks.c: In function ‘on_iview_drag_data_received’:
callbacks.c:292:2: warning: passing argument 1 of ‘gtk_icon_view_get_model’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtk.h:108:0,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtkiconview.h:96:16: note: expected ‘struct GtkIconView *’ but argument is of type ‘struct GtkWidget *’
callbacks.c:293:2: warning: passing argument 1 of ‘gtk_list_store_append’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkentrycompletion.h:28:0,
from /usr/include/gtk-2.0/gtk/gtkentry.h:43,
from /usr/include/gtk-2.0/gtk/gtktreeview.h:31,
from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29,
from /usr/include/gtk-2.0/gtk/gtk.h:72,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtkliststore.h:126:15: note: expected ‘struct GtkListStore *’ but argument is of type ‘struct GtkTreeModel *’
callbacks.c:298:10: warning: passing argument 1 of ‘gtk_list_store_set’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkentrycompletion.h:28:0,
from /usr/include/gtk-2.0/gtk/gtkentry.h:43,
from /usr/include/gtk-2.0/gtk/gtktreeview.h:31,
from /usr/include/gtk-2.0/gtk/gtkcombobox.h:29,
from /usr/include/gtk-2.0/gtk/gtk.h:72,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtkliststore.h:92:15: note: expected ‘struct GtkListStore *’ but argument is of type ‘struct GtkTreeModel *’
callbacks.c: In function ‘on_auto_cbtn_toggled’:
callbacks.c:314:3: warning: passing argument 1 of ‘gtk_toggle_button_set_active’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
from /usr/include/gtk-2.0/gtk/gtk.h:66,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtktogglebutton.h:82:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkWidget *’
callbacks.c:323:3: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
from /usr/include/gtk-2.0/gtk/gtk.h:66,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkWidget *’
callbacks.c: In function ‘on_off_cbtn_toggled’:
callbacks.c:342:3: warning: passing argument 1 of ‘gtk_toggle_button_set_active’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
from /usr/include/gtk-2.0/gtk/gtk.h:66,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtktogglebutton.h:82:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkWidget *’
callbacks.c:351:3: warning: passing argument 1 of ‘gtk_toggle_button_get_active’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtkcheckbutton.h:35:0,
from /usr/include/gtk-2.0/gtk/gtk.h:66,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtktogglebutton.h:84:12: note: expected ‘struct GtkToggleButton *’ but argument is of type ‘struct GtkWidget *’
callbacks.c: In function ‘on_about_btn_clicked’:
callbacks.c:406:9: warning: passing argument 1 of ‘gtk_show_about_dialog’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtk.h:33:0,
from callbacks.c:26:
/usr/include/gtk-2.0/gtk/gtkaboutdialog.h:75:24: note: expected ‘struct GtkWindow *’ but argument is of type ‘struct GtkWidget *’
mv -f .deps/callbacks.Tpo .deps/callbacks.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT grandr.o -MD -MP -MF .deps/grandr.Tpo -c -o grandr.o grandr.c
grandr.c: In function ‘apply’:
grandr.c:413:7: warning: passing argument 1 of ‘gtk_message_dialog_new’ from incompatible pointer type [enabled by default]
In file included from /usr/include/gtk-2.0/gtk/gtk.h:127:0,
from grandr.h:27,
from grandr.c:22:
/usr/include/gtk-2.0/gtk/gtkmessagedialog.h:101:12: note: expected ‘struct GtkWindow *’ but argument is of type ‘struct GtkWidget *’
mv -f .deps/grandr.Tpo .deps/grandr.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr//locale"\" -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/gconf/2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT pixmap.o -MD -MP -MF .deps/pixmap.Tpo -c -o pixmap.o pixmap.c
mv -f .deps/pixmap.Tpo .deps/pixmap.Po
gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o grandr main.o support.o interface.o callbacks.o grandr.o pixmap.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgconf-2 -lglib-2.0 -lXrandr
/usr/bin/ld: main.o: undefined reference to symbol 'XOpenDisplay'
/usr/bin/ld: note: 'XOpenDisplay' is defined in DSO /usr/lib/libX11.so.6 so try adding it to the linker command line
/usr/lib/libX11.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [grandr] Error 1
make[2]: Leaving directory `/tmp/packerbuild-1000/xorg-grandr-git/xorg-grandr-git/src/grandr-build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-1000/xorg-grandr-git/xorg-grandr-git/src/grandr-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment