{"action":"created","issue":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1848","labels_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1848/labels{/name}","comments_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1848/comments","events_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1848/events","html_url":"https://github.com/SynoCommunity/spksrc/issues/1848","id":107357026,"number":1848,"title":"sshfs","user":{"login":"sea3pea0","id":5307776,"avatar_url":"https://avatars.githubusercontent.com/u/5307776?v=3","gravatar_id":"","url":"https://api.github.com/users/sea3pea0","html_url":"https://github.com/sea3pea0","followers_url":"https://api.github.com/users/sea3pea0/followers","following_url":"https://api.github.com/users/sea3pea0/following{/other_user}","gists_url":"https://api.github.com/users/sea3pea0/gists{/gist_id}","starred_url":"https://api.github.com/users/sea3pea0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sea3pea0/subscriptions","organizations_url":"https://api.github.com/users/sea3pea0/orgs","repos_url":"https://api.github.com/users/sea3pea0/repos","events_url":"https://api.github.com/users/sea3pea0/events{/privacy}","received_events_url":"https://api.github.com/users/sea3pea0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-19T21:30:43Z","updated_at":"2015-09-20T11:59:32Z","closed_at":null,"body":"Hi everybody, I'm working on making an spk for sshfs. I'm rather new to this but I'd like to see what I can do to make this happen. So far I have cross compiled fuse. But when I try to cross compile sshfs it stops and says packages glib-2.0 and gthread-2.0 not found. I know on the website for sshfs it says fuse, glib-2.0 and glib-2.0-devel are dependencies. I did see glib in the cross folder in spkrsrc so in the make file under dependencies for sshfs I put cross/fuse and cross/glib. With that I still get the message asking for glib-2.0 and gthread-2.0. Can anyone point me in the right direction to get these dependencies sorted out? Thanks.    \r\n\r\nThis is the output from where the cross compile of sshfs fails:\r\n\r\nconfigure: error: Package requirements (fuse >= 2.3 glib-2.0 gthread-2.0) were n                                                                                                                               ot met:\r\n\r\nNo package 'glib-2.0' found\r\nNo package 'gthread-2.0' found\r\n\r\nConsider adjusting the PKG_CONFIG_PATH environment variable if you\r\ninstalled software in a non-standard prefix.\r\n\r\nAlternatively, you may set the environment variables SSHFS_CFLAGS\r\nand SSHFS_LIBS to avoid the need to call pkg-config.\r\nSee the pkg-config man page for more details.\r\n../../mk/spksrc.configure.mk:50: recipe for target 'configure_target' failed\r\nmake[1]: *** [configure_target] Error 1\r\nmake[1]: Leaving directory '/media/spksrc/cross/sshfs-fuse'\r\n../../mk/spksrc.cross-cc.mk:122: recipe for target 'arch-cedarview-5.2' failed\r\nmake: [arch-cedarview-5.2] Error 2 (ignored)\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26807931-sshfs?utm_campaign=plugin&utm_content=tracker%2F282943&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282943&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/comments/141781557","html_url":"https://github.com/SynoCommunity/spksrc/issues/1848#issuecomment-141781557","issue_url":"https://api.github.com/repos/SynoCommunity/spksrc/issues/1848","id":141781557,"user":{"login":"Dr-Bean","id":1538260,"avatar_url":"https://avatars.githubusercontent.com/u/1538260?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr-Bean","html_url":"https://github.com/Dr-Bean","followers_url":"https://api.github.com/users/Dr-Bean/followers","following_url":"https://api.github.com/users/Dr-Bean/following{/other_user}","gists_url":"https://api.github.com/users/Dr-Bean/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr-Bean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr-Bean/subscriptions","organizations_url":"https://api.github.com/users/Dr-Bean/orgs","repos_url":"https://api.github.com/users/Dr-Bean/repos","events_url":"https://api.github.com/users/Dr-Bean/events{/privacy}","received_events_url":"https://api.github.com/users/Dr-Bean/received_events","type":"User","site_admin":false},"created_at":"2015-09-20T11:59:32Z","updated_at":"2015-09-20T11:59:32Z","body":"That message seems to be a generic error message if something is 'wrong' with any of the dependencies. You'll find that not all projects are ready for cross-compiling out of the box, and that is the at least the case with fuse.\r\n\r\nFuse puts the files in the wrong location during `make install`, amongst other things. I already had this code for another project, so this might be sufficient to get rid of the warnings in your case.\r\n\r\n- Add `CONFIGURE_ARGS = --exec-prefix=$(STAGING_INSTALL_PREFIX)` to fuse's Makefile\r\n- Add a patch like this:\r\n```\r\n--- util/Makefile.in.org\t2015-08-19 10:56:51.834947550 +0200\r\n+++ util/Makefile.in\t2015-08-19 11:00:09.906943386 +0200\r\n@@ -650,7 +650,7 @@\r\n \r\n info-am:\r\n \r\n-install-data-am: install-data-local\r\n+install-data-am:\r\n \r\n install-dvi: install-dvi-am\r\n \r\n@@ -730,10 +730,8 @@\r\n \tfi\r\n \r\n install-exec-local:\r\n-\t$(MKDIR_P) $(DESTDIR)$(MOUNT_FUSE_PATH)\r\n-\t$(INSTALL_PROGRAM) $(builddir)/mount.fuse $(DESTDIR)$(MOUNT_FUSE_PATH)/mount.fuse\r\n-\t$(MKDIR_P) $(DESTDIR)$(INIT_D_PATH)\r\n-\t$(INSTALL_SCRIPT) $(srcdir)/init_script $(DESTDIR)$(INIT_D_PATH)/fuse\r\n+\t$(MKDIR_P) $(sbindir)\r\n+\t$(INSTALL_PROGRAM) $(builddir)/mount.fuse $(sbindir)/mount.fuse\r\n \t@if test -x /usr/sbin/update-rc.d; then \\\r\n \t\techo \"/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true\"; \\\r\n \t\t/usr/sbin/update-rc.d fuse start 34 S . start 41 0 6 . || true; \\\r\n```"}}