{"action":"created","issue":{"url":"https://api.github.com/repos/sirblackheart/elektrasurvey/issues/96","repository_url":"https://api.github.com/repos/sirblackheart/elektrasurvey","labels_url":"https://api.github.com/repos/sirblackheart/elektrasurvey/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/sirblackheart/elektrasurvey/issues/96/comments","events_url":"https://api.github.com/repos/sirblackheart/elektrasurvey/issues/96/events","html_url":"https://github.com/sirblackheart/elektrasurvey/issues/96","id":159993072,"number":96,"title":"gi/gsettings does not build with clang","user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-13T16:35:35Z","updated_at":"2016-06-13T16:46:44Z","closed_at":null,"body":"```\r\ng-ir-scanner: compile: cc -Wno-deprecated-declarations -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wall -I/home/markus/Projekte/Elektra/build-64/src/include -I/home/markus/Projekte/Elektra/libelektra/src/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -c -o /home/markus/Projekte/Elektra/build-64/src/bindings/gi/tmp-introspectJtemBT/GElektra-4.0.o /home/markus/Projekte/Elektra/build-64/src/bindings/gi/tmp-introspectJtemBT/GElektra-4.0.c\r\nLinking C shared library ../../../lib/libelektrasettings.so\r\ng-ir-scanner: link: cc -o /home/markus/Projekte/Elektra/build-64/src/bindings/gi/tmp-introspectJtemBT/GElektra-4.0 -Wall /home/markus/Projekte/Elektra/build-64/src/bindings/gi/tmp-introspectJtemBT/GElektra-4.0.o -L. -Wl,-rpath=. -Wl,--no-as-needed -lgelektra-4.0 -L/home/markus/Projekte/Elektra/build-64/lib -Wl,-rpath=/home/markus/Projekte/Elektra/build-64/lib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0\r\n/home/markus/Projekte/Elektra/build-64/lib/libelektra-core.so.4: undefined reference to `__ubsan_handle_negate_overflow'\r\n/home/markus/Projekte/Elektra/build-64/lib/libgelektra-4.0.so: undefined reference to `__ubsan_handle_type_mismatch'\r\n/home/markus/Projekte/Elektra/build-64/lib/libelektra-core.so.4: undefined reference to `__ubsan_handle_out_of_bounds'\r\n/home/markus/Projekte/Elektra/build-64/lib/libelektra-core.so.4: undefined reference to `__ubsan_handle_sub_overflow'\r\n/home/markus/Projekte/Elektra/build-64/lib/libelektra-core.so.4: undefined reference to `__ubsan_handle_mul_overflow'\r\n/home/markus/Projekte/Elektra/build-64/lib/libgelektra-4.0.so: undefined reference to `__ubsan_handle_add_overflow'\r\n/home/markus/Projekte/Elektra/build-64/lib/libgelektra-4.0.so: undefined reference to `__ubsan_handle_nonnull_arg'\r\ncollect2: error: ld returned 1 exit status\r\nlinking of temporary binary failed: Command '['cc', '-o', '/home/markus/Projekte/Elektra/build-64/src/bindings/gi/tmp-introspectJtemBT/GElektra-4.0', '-Wall', '/home/markus/Projekte/Elektra/build-64/src/bindings/gi/tmp-introspectJtemBT/GElektra-4.0.o', '-L.', '-Wl,-rpath=.', '-Wl,--no-as-needed', '-lgelektra-4.0', '-L/home/markus/Projekte/Elektra/build-64/lib', '-Wl,-rpath=/home/markus/Projekte/Elektra/build-64/lib', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1\r\n```"},"comment":{"url":"https://api.github.com/repos/sirblackheart/elektrasurvey/issues/comments/225639447","html_url":"https://github.com/sirblackheart/elektrasurvey/issues/96#issuecomment-225639447","issue_url":"https://api.github.com/repos/sirblackheart/elektrasurvey/issues/96","id":225639447,"user":{"login":"markus2330","id":7949075,"avatar_url":"https://avatars.githubusercontent.com/u/7949075?v=3","gravatar_id":"","url":"https://api.github.com/users/markus2330","html_url":"https://github.com/markus2330","followers_url":"https://api.github.com/users/markus2330/followers","following_url":"https://api.github.com/users/markus2330/following{/other_user}","gists_url":"https://api.github.com/users/markus2330/gists{/gist_id}","starred_url":"https://api.github.com/users/markus2330/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markus2330/subscriptions","organizations_url":"https://api.github.com/users/markus2330/orgs","repos_url":"https://api.github.com/users/markus2330/repos","events_url":"https://api.github.com/users/markus2330/events{/privacy}","received_events_url":"https://api.github.com/users/markus2330/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T16:46:44Z","updated_at":"2016-06-13T16:46:44Z","body":"seems like g-ir-scanner does not pass CMAKE_SHARED_LINKER_FLAGS\r\n\r\nWorkaround do not use all bindings:\r\n```\r\n~e/scripts/configure-debian -DCMAKE_C_COMPILER=clang-3.8 -DCMAKE_CXX_COMPILER=clang++-3.8 -DBINDINGS=\"cpp\" -DENABLE_DEBUG=ON ~e && make -j 5 && DESTDIR=D make install -j 5\r\n```"}}
{"actor":{"display_login":"markus2330"}}