{"action":"created","issue":{"url":"https://api.github.com/repos/libretro/Lakka/issues/303","repository_url":"https://api.github.com/repos/libretro/Lakka","labels_url":"https://api.github.com/repos/libretro/Lakka/issues/303/labels{/name}","comments_url":"https://api.github.com/repos/libretro/Lakka/issues/303/comments","events_url":"https://api.github.com/repos/libretro/Lakka/issues/303/events","html_url":"https://github.com/libretro/Lakka/issues/303","id":137079925,"number":303,"title":"Lutro package fails to build on Generic target","user":{"login":"balthazar","id":404390,"avatar_url":"https://avatars.githubusercontent.com/u/404390?v=3","gravatar_id":"","url":"https://api.github.com/users/balthazar","html_url":"https://github.com/balthazar","followers_url":"https://api.github.com/users/balthazar/followers","following_url":"https://api.github.com/users/balthazar/following{/other_user}","gists_url":"https://api.github.com/users/balthazar/gists{/gist_id}","starred_url":"https://api.github.com/users/balthazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balthazar/subscriptions","organizations_url":"https://api.github.com/users/balthazar/orgs","repos_url":"https://api.github.com/users/balthazar/repos","events_url":"https://api.github.com/users/balthazar/events{/privacy}","received_events_url":"https://api.github.com/users/balthazar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/libretro/Lakka/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-02-28T18:26:37Z","updated_at":"2016-08-11T22:37:46Z","closed_at":null,"body":"Hello again\r\n\r\nI'd like to report that leaving the \"lutro\" package selected when building the Generic project causes the build to fail. Removing the lutro dependency from the packages/lakka/Generic/package.mk file allows the build process to complete.\r\n\r\nThe following is the error log printed by the build process when trying to build lutro:\r\n\r\nBUILD    lutro (target)\r\nmake[1]: Entering directory '/media/shareddata/Dev/Lakka/build.Lakka-Generic.i386-devel/lutro-9e39edf'\r\nmake -C deps/luajit/src HOST_CC=\"/home/balthazar/dev/Lakka/build.Lakka-Generic.i386-devel/toolchain/bin/host-gcc -m32\" CROSS=\"/home/balthazar/dev/Lakka/build.Lakka-Generic.i386-devel/toolchain/bin/i686-openelec-linux-gnu-\" TARGET_CFLAGS=\"-march=i686 -m32 -fomit-frame-pointer -Wall -pipe -Os -fexcess-precision=fast -flto -ffat-lto-objects -mmmx -msse -msse2 -mfpmath=sse -O3 -DHAVE_INOTIFY -Wall -pedantic -fPIC -I. -I./libretro-common/include -I./deps/zlib -I./deps -DHAVE_JIT -Ideps/luajit/src  -std=gnu99\" BUILDMODE=static CFLAGS=\" -O3 -fPIC\" Q= LDFLAGS=\"-fPIC\"\r\nmake[2]: Entering directory '/media/shareddata/Dev/Lakka/build.Lakka-Generic.i386-devel/lutro-9e39edf/deps/luajit/src'\r\nHOSTCC    host/minilua.o\r\n/home/balthazar/dev/Lakka/build.Lakka-Generic.i386-devel/toolchain/bin/host-gcc -m32  -O2 -fomit-frame-pointer -Wall  -O3 -fPIC -I. -DLUAJIT_TARGET=LUAJIT_ARCH_x86 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  -c -o host/minilua.o host/minilua.c\r\nHOSTCC    host/buildvm_asm.o\r\n/home/balthazar/dev/Lakka/build.Lakka-Generic.i386-devel/toolchain/bin/host-gcc -m32  -O2 -fomit-frame-pointer -Wall  -O3 -fPIC -I. -DLUAJIT_TARGET=LUAJIT_ARCH_x86 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  -c -o host/buildvm_asm.o host/buildvm_asm.c\r\nHOSTCC    host/buildvm_peobj.o\r\n/home/balthazar/dev/Lakka/build.Lakka-Generic.i386-devel/toolchain/bin/host-gcc -m32  -O2 -fomit-frame-pointer -Wall  -O3 -fPIC -I. -DLUAJIT_TARGET=LUAJIT_ARCH_x86 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  -c -o host/buildvm_peobj.o host/buildvm_peobj.c\r\nHOSTCC    host/buildvm_lib.o\r\n/home/balthazar/dev/Lakka/build.Lakka-Generic.i386-devel/toolchain/bin/host-gcc -m32  -O2 -fomit-frame-pointer -Wall  -O3 -fPIC -I. -DLUAJIT_TARGET=LUAJIT_ARCH_x86 -DLJ_ARCH_HASFPU=1 -DLJ_ABI_SOFTFP=0  -c -o host/buildvm_lib.o host/buildvm_lib.c\r\nIn file included from host/buildvm_peobj.c:9:0:\r\nhost/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory\r\n #include <sys/types.h>\r\n                       ^\r\ncompilation terminated.\r\nIn file included from host/buildvm_lib.c:6:0:\r\nhost/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory\r\n #include <sys/types.h>\r\n                       ^\r\ncompilation terminated.\r\nIn file included from /usr/include/limits.h:25:0,\r\n                 from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:168,\r\n                 from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/syslimits.h:7,\r\n                 from /usr/lib/gcc/x86_64-linux-gnu/4.8/include-fixed/limits.h:34,\r\n                 from host/minilua.c:33:\r\n/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory\r\n #  include <sys/cdefs.h>\r\n                         ^\r\ncompilation terminated.\r\nIn file included from host/buildvm_asm.c:6:0:\r\nhost/buildvm.h:9:23: fatal error: sys/types.h: No such file or directory\r\n #include <sys/types.h>\r\n                       ^\r\ncompilation terminated.\r\nMakefile:661: recipe for target 'host/buildvm_peobj.o' failed\r\nmake[2]: *** [host/buildvm_peobj.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\nMakefile:661: recipe for target 'host/buildvm_lib.o' failed\r\nmake[2]: *** [host/buildvm_lib.o] Error 1\r\nMakefile:661: recipe for target 'host/buildvm_asm.o' failed\r\nmake[2]: *** [host/buildvm_asm.o] Error 1\r\nMakefile:661: recipe for target 'host/minilua.o' failed\r\nmake[2]: *** [host/minilua.o] Error 1\r\nmake[2]: Leaving directory '/media/shareddata/Dev/Lakka/build.Lakka-Generic.i386-devel/lutro-9e39edf/deps/luajit/src'\r\nMakefile:244: recipe for target 'deps/luajit/src/libluajit.a' failed\r\nmake[1]: *** [deps/luajit/src/libluajit.a] Error 2\r\nmake[1]: Leaving directory '/media/shareddata/Dev/Lakka/build.Lakka-Generic.i386-devel/lutro-9e39edf'\r\nmake: *** [image] Error 2\r\n\r\n\r\nI haven't tried other targets or projects, though, so I can't report if it's a more widespread problem.\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/libretro/Lakka/issues/comments/239314653","html_url":"https://github.com/libretro/Lakka/issues/303#issuecomment-239314653","issue_url":"https://api.github.com/repos/libretro/Lakka/issues/303","id":239314653,"user":{"login":"webmaster-gostec","id":9299514,"avatar_url":"https://avatars.githubusercontent.com/u/9299514?v=3","gravatar_id":"","url":"https://api.github.com/users/webmaster-gostec","html_url":"https://github.com/webmaster-gostec","followers_url":"https://api.github.com/users/webmaster-gostec/followers","following_url":"https://api.github.com/users/webmaster-gostec/following{/other_user}","gists_url":"https://api.github.com/users/webmaster-gostec/gists{/gist_id}","starred_url":"https://api.github.com/users/webmaster-gostec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webmaster-gostec/subscriptions","organizations_url":"https://api.github.com/users/webmaster-gostec/orgs","repos_url":"https://api.github.com/users/webmaster-gostec/repos","events_url":"https://api.github.com/users/webmaster-gostec/events{/privacy}","received_events_url":"https://api.github.com/users/webmaster-gostec/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T22:37:46Z","updated_at":"2016-08-11T22:37:46Z","body":"Same problem compiling on Debian Jessie (x86_64).\r\nSame solution too."}}
{"actor":{"display_login":"webmaster-gostec"}}