{"action":"opened","issue":{"url":"https://api.github.com/repos/solus-project/brisk-menu/issues/1","repository_url":"https://api.github.com/repos/solus-project/brisk-menu","labels_url":"https://api.github.com/repos/solus-project/brisk-menu/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/solus-project/brisk-menu/issues/1/comments","events_url":"https://api.github.com/repos/solus-project/brisk-menu/issues/1/events","html_url":"https://github.com/solus-project/brisk-menu/issues/1","id":197974439,"number":1,"title":"[complile issue] brisk_menu-key-binder.o: undefined reference to symbol 'XGrabKey'","user":{"login":"philmmanjaro","id":5050022,"avatar_url":"https://avatars.githubusercontent.com/u/5050022?v=3","gravatar_id":"","url":"https://api.github.com/users/philmmanjaro","html_url":"https://github.com/philmmanjaro","followers_url":"https://api.github.com/users/philmmanjaro/followers","following_url":"https://api.github.com/users/philmmanjaro/following{/other_user}","gists_url":"https://api.github.com/users/philmmanjaro/gists{/gist_id}","starred_url":"https://api.github.com/users/philmmanjaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philmmanjaro/subscriptions","organizations_url":"https://api.github.com/users/philmmanjaro/orgs","repos_url":"https://api.github.com/users/philmmanjaro/repos","events_url":"https://api.github.com/users/philmmanjaro/events{/privacy}","received_events_url":"https://api.github.com/users/philmmanjaro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-29T08:56:39Z","updated_at":"2016-12-29T08:56:39Z","closed_at":null,"body":"Hi @ikeydoherty,\r\n\r\nI tried to compile your early code on Manjaro, but failed:\r\n\r\n```\r\nlibtoolize: putting auxiliary files in '.'.\r\nlibtoolize: linking file './config.guess'\r\nlibtoolize: linking file './config.sub'\r\nlibtoolize: linking file './install-sh'\r\nlibtoolize: linking file './ltmain.sh'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.\r\nlibtoolize: linking file 'm4/libtool.m4'\r\nlibtoolize: linking file 'm4/ltoptions.m4'\r\nlibtoolize: linking file 'm4/ltsugar.m4'\r\nlibtoolize: linking file 'm4/ltversion.m4'\r\nlibtoolize: linking file 'm4/lt~obsolete.m4'\r\nlibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.\r\nlibtoolize: putting auxiliary files in '.'.\r\nlibtoolize: copying file './ltmain.sh'\r\nlibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.\r\nlibtoolize: copying file 'm4/libtool.m4'\r\nlibtoolize: copying file 'm4/ltoptions.m4'\r\nlibtoolize: copying file 'm4/ltsugar.m4'\r\nlibtoolize: copying file 'm4/ltversion.m4'\r\nlibtoolize: copying file 'm4/lt~obsolete.m4'\r\nlibtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.\r\nconfigure.ac:3: installing './compile'\r\nconfigure.ac:2: installing './missing'\r\nMakefile.am: installing './depcomp'\r\nchecking for a BSD-compatible install... /usr/bin/install -c\r\nchecking whether build environment is sane... yes\r\nchecking for a thread-safe mkdir -p... /usr/bin/mkdir -p\r\nchecking for gawk... gawk\r\nchecking whether make sets $(MAKE)... yes\r\nchecking whether make supports nested variables... yes\r\nchecking whether UID '1000' is supported by ustar format... yes\r\nchecking whether GID '100' is supported by ustar format... yes\r\nchecking how to create a ustar tar archive... gnutar\r\nchecking for gcc... gcc\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... no\r\nchecking for suffix of object files... o\r\nchecking whether we are using the GNU C compiler... yes\r\nchecking whether gcc accepts -g... yes\r\nchecking for gcc option to accept ISO C89... none needed\r\nchecking whether gcc understands -c and -o together... yes\r\nchecking for style of include used by make... GNU\r\nchecking dependency style of gcc... gcc3\r\nchecking for gcc option to accept ISO C99... none needed\r\nchecking for gcc option to accept ISO Standard C... (cached) none needed\r\nchecking whether make supports nested variables... (cached) yes\r\nchecking build system type... x86_64-unknown-linux-gnu\r\nchecking host system type... x86_64-unknown-linux-gnu\r\nchecking how to print strings... printf\r\nchecking for a sed that does not truncate output... /usr/bin/sed\r\nchecking for grep that handles long lines and -e... /usr/bin/grep\r\nchecking for egrep... /usr/bin/grep -E\r\nchecking for fgrep... /usr/bin/grep -F\r\nchecking for ld used by gcc... /usr/bin/ld\r\nchecking if the linker (/usr/bin/ld) is GNU ld... yes\r\nchecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B\r\nchecking the name lister (/usr/bin/nm -B) interface... BSD nm\r\nchecking whether ln -s works... yes\r\nchecking the maximum length of command line arguments... 1572864\r\nchecking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop\r\nchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop\r\nchecking for /usr/bin/ld option to reload object files... -r\r\nchecking for objdump... objdump\r\nchecking how to recognize dependent libraries... pass_all\r\nchecking for dlltool... no\r\nchecking how to associate runtime and link libraries... printf %s\\n\r\nchecking for ar... ar\r\nchecking for archiver @FILE support... @\r\nchecking for strip... strip\r\nchecking for ranlib... ranlib\r\nchecking command to parse /usr/bin/nm -B output from gcc object... ok\r\nchecking for sysroot... no\r\nchecking for a working dd... /usr/bin/dd\r\nchecking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1\r\nchecking for mt... no\r\nchecking if : is a manifest tool... no\r\nchecking how to run the C preprocessor... gcc -E\r\nchecking for ANSI C header files... yes\r\nchecking for sys/types.h... yes\r\nchecking for sys/stat.h... yes\r\nchecking for stdlib.h... yes\r\nchecking for string.h... yes\r\nchecking for memory.h... yes\r\nchecking for strings.h... yes\r\nchecking for inttypes.h... yes\r\nchecking for stdint.h... yes\r\nchecking for unistd.h... yes\r\nchecking for dlfcn.h... yes\r\nchecking for objdir... .libs\r\nchecking if gcc supports -fno-rtti -fno-exceptions... no\r\nchecking for gcc option to produce PIC... -fPIC -DPIC\r\nchecking if gcc PIC flag -fPIC -DPIC works... yes\r\nchecking if gcc static flag -static works... yes\r\nchecking if gcc supports -c -o file.o... yes\r\nchecking if gcc supports -c -o file.o... (cached) yes\r\nchecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes\r\nchecking whether -lc should be explicitly linked in... no\r\nchecking dynamic linker characteristics... GNU/Linux ld.so\r\nchecking how to hardcode library paths into programs... immediate\r\nchecking whether stripping libraries is possible... yes\r\nchecking if libtool supports shared libraries... yes\r\nchecking whether to build shared libraries... yes\r\nchecking whether to build static libraries... no\r\nchecking for pkg-config... /usr/bin/pkg-config\r\nchecking pkg-config is at least version 0.16... yes\r\nchecking for GTK... yes\r\nchecking for GIO... yes\r\nchecking for MENU... yes\r\nchecking for APPLET... yes\r\nchecking that generated files are newer than configure... done\r\nconfigure: creating ./config.status\r\nconfig.status: creating Makefile\r\nconfig.status: executing depfiles commands\r\nconfig.status: executing libtool commands\r\n\r\n        brisk-menu 0.0.1\r\n        =====================\r\n\r\n        prefix:                 /usr\r\n        libdir:                 ${exec_prefix}/lib\r\n        sysconfdir:             /etc\r\n        exec_prefix:            ${prefix}\r\n        bindir:                 ${exec_prefix}/bin\r\n        datarootdir:            ${prefix}/share\r\n\r\n        compiler:               gcc\r\n        cflags:                 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong\r\n        ldflags:                -Wl,-O1,--sort-common,--as-needed,-z,relro\r\n\r\nglib-compile-resources --manual-register --target=brisk-resources.h --sourcedir=./data --generate-header --c-name brisk_resources data/brisk.gresource.xml\r\nglib-compile-resources --manual-register --target=brisk-resources.c --sourcedir=./data --generate-source --c-name brisk_resources data/brisk.gresource.xml\r\nmake  all-am\r\nmake[1]: Entering directory '/build/brisk-menu/src/brisk-menu-7c94bb669c8456bc74e981704295349c0ffac7ea'\r\n  GEN      data/org.mate.panel.applet.BriskMenuFactory.service\r\n  GEN      data/com.solus_project.brisk.BriskMenu.mate-panel-applet\r\n  CC       libbriskresources_la-brisk-resources.lo\r\n  CC       src/brisk_menu-applet.o\r\n  CC       src/brisk_menu-category-button.o\r\n  CC       src/brisk_menu-desktop-button.o\r\n  CC       src/brisk_menu-entry-button.o\r\n  CC       src/brisk_menu-key-binder.o\r\n  CC       src/brisk_menu-menu-keyboard.o\r\n  CC       src/brisk_menu-launcher.o\r\n  CC       src/brisk_menu-menu-grabs.o\r\n  CC       src/brisk_menu-menu-search.o\r\n  CC       src/brisk_menu-menu-sort.o\r\n  CC       src/brisk_menu-menu-loader.o\r\n  CC       src/brisk_menu-menu-window.o\r\n  CCLD     libbriskresources.la\r\nar: `u' modifier ignored since `D' is the default (see `U')\r\n  CCLD     brisk-menu\r\n/usr/bin/ld: src/brisk_menu-key-binder.o: undefined reference to symbol 'XGrabKey'\r\n/usr/lib/libX11.so.6: error adding symbols: DSO missing from command line\r\ncollect2: error: ld returned 1 exit status\r\nmake[1]: *** [Makefile:605: brisk-menu] Error 1\r\nmake[1]: Leaving directory '/build/brisk-menu/src/brisk-menu-7c94bb669c8456bc74e981704295349c0ffac7ea'\r\nmake: *** [Makefile:472: all] Error 2\r\n```\r\nPoints all down to following line: https://github.com/solus-project/brisk-menu/blob/master/src/key-binder.c#L206\r\n\r\nHere is the used PKGBUILD:\r\n\r\n```\r\n# Contributor: Philip Müller (manjaro)\r\n\r\npkgname=brisk-menu\r\npkgver=0.0.1\r\npkgrel=1\r\n_commit=7c94bb669c8456bc74e981704295349c0ffac7ea\r\npkgdesc=\"A modern, clean menu for the MATE Desktop\"\r\narch=('i686' 'x86_64')\r\nurl=\"https://github.com/solus-project/brisk-menu\"\r\nlicense=('GPL')\r\ndepends=('mate-panel-gtk3')\r\nmakedepends=('autogen')\r\nsource=(\"$pkgname-$pkgver.tar.gz::${url}/archive/${_commit}.tar.gz\")\r\nsha256sums=('ab88caf5a17f75ca7910ddeb5085850c5ec654d5c5af832d9a53b4cba2e88070')\r\n\r\nbuild() {\r\n  cd ${pkgname}-${_commit}\r\n  ./autogen.sh\r\n  make\r\n}\r\n\r\n\r\npackage() {\r\n  cd ${pkgname}-${_commit}\r\n  make DESTDIR=\"${pkgdir}/\" install\r\n}\r\n```\r\n\r\nDo you need any further information from my end?"}}
{"actor":{"display_login":"philmmanjaro"}}