{"action":"created","issue":{"url":"https://api.github.com/repos/markfasheh/duperemove/issues/44","labels_url":"https://api.github.com/repos/markfasheh/duperemove/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/markfasheh/duperemove/issues/44/comments","events_url":"https://api.github.com/repos/markfasheh/duperemove/issues/44/events","html_url":"https://github.com/markfasheh/duperemove/issues/44","id":56251318,"number":44,"title":"Build fails on Debian Wheezy 64bit with backported Kernel 3.14","user":{"login":"ChojinDSL","id":1926396,"avatar_url":"https://avatars.githubusercontent.com/u/1926396?v=3","gravatar_id":"","url":"https://api.github.com/users/ChojinDSL","html_url":"https://github.com/ChojinDSL","followers_url":"https://api.github.com/users/ChojinDSL/followers","following_url":"https://api.github.com/users/ChojinDSL/following{/other_user}","gists_url":"https://api.github.com/users/ChojinDSL/gists{/gist_id}","starred_url":"https://api.github.com/users/ChojinDSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChojinDSL/subscriptions","organizations_url":"https://api.github.com/users/ChojinDSL/orgs","repos_url":"https://api.github.com/users/ChojinDSL/repos","events_url":"https://api.github.com/users/ChojinDSL/events{/privacy}","received_events_url":"https://api.github.com/users/ChojinDSL/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-02T15:38:20Z","updated_at":"2015-02-03T12:43:03Z","closed_at":null,"body":"I'm trying to build duperemove on a debian wheezy Server using kernel 3.14. \r\n\r\nWhenever I try to build, I get the following error:\r\n\r\n###########################################\r\nmake\r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c duperemove.c -o duperemove.o  -lglib-2.0  \r\nduperemove.c: In function ‘main’:\r\nduperemove.c:290:2: warning: implicit declaration of function ‘g_get_num_processors’ [-Wimplicit-function-declaration]\r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c hash-tree.c -o hash-tree.o  -lglib-2.0  \r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c results-tree.c -o results-tree.o  -lglib-2.0  \r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c rbtree.c -o rbtree.o  -lglib-2.0  \r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c dedupe.c -o dedupe.o  -lglib-2.0  \r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c filerec.c -o filerec.o  -lglib-2.0  \r\ngcc -Wall -ggdb -D_FILE_OFFSET_BITS=64 -DVERSTRING=\\\"v0.10-dev\\\"  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -rdynamic -c btrfs-util.c -o btrfs-util.o  -lglib-2.0  \r\nbtrfs-util.c:27:25: fatal error: linux/btrfs.h: Datei oder Verzeichnis nicht gefunden\r\ncompilation terminated.\r\nmake: *** [btrfs-util.o] Fehler 1\r\n##################################################\r\n\r\n\r\nThat part with \"fatal error: linux/btrfs.h:\" says \"File or Directory not found\"\r\n\r\nI'm guessing it's probably something minor, like a missing library, or it's looking in the wrong directory. Perhaps a symlink is missing. \r\nThe odd thing is, btrfs.h exists. Its located in /usr/src/linux-headers-3.14-0.bpo.1-common/include/linux/btrfs.h\r\n\r\nDoes anyone have an idea on what I'm missing?"},"comment":{"url":"https://api.github.com/repos/markfasheh/duperemove/issues/comments/72644004","html_url":"https://github.com/markfasheh/duperemove/issues/44#issuecomment-72644004","issue_url":"https://api.github.com/repos/markfasheh/duperemove/issues/44","id":72644004,"user":{"login":"ChojinDSL","id":1926396,"avatar_url":"https://avatars.githubusercontent.com/u/1926396?v=3","gravatar_id":"","url":"https://api.github.com/users/ChojinDSL","html_url":"https://github.com/ChojinDSL","followers_url":"https://api.github.com/users/ChojinDSL/followers","following_url":"https://api.github.com/users/ChojinDSL/following{/other_user}","gists_url":"https://api.github.com/users/ChojinDSL/gists{/gist_id}","starred_url":"https://api.github.com/users/ChojinDSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChojinDSL/subscriptions","organizations_url":"https://api.github.com/users/ChojinDSL/orgs","repos_url":"https://api.github.com/users/ChojinDSL/repos","events_url":"https://api.github.com/users/ChojinDSL/events{/privacy}","received_events_url":"https://api.github.com/users/ChojinDSL/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T12:43:03Z","updated_at":"2015-02-03T12:43:03Z","body":"On Debian Jessie, linux/btrfs.h is located in /usr/src/linux-headers-<$kernel-version>\r\nI'm guessing its using the one of the current kernel I'm running.\r\n\r\nBut I think it's probably due to an old version of glib2. On my wheezy (stable) Server glib2 is version 2.32.4 and on the Jessie Laptop its 2.42.\r\n\r\nDebian is known for its conservative package versions. At least in the stable distro, in this case wheezy. \r\n\r\nBut that would make sense, since the problem compiling it, doesn't show up on more up to date distros. \r\nBut good to know. Guess I'll just have to wait with my servers until Jessie hits stable, which shouldn't be too far off. \r\n\r\nCurious though, why the dependency on glib2? Isn't that a GTK library?\r\n\r\nAnyway, thanks for your help."}}