Skip to content

Instantly share code, notes, and snippets.

@joede
Created May 19, 2017 06:21
Show Gist options
  • Save joede/d8c9281cae25d33ee4dc5873b91c6ca8 to your computer and use it in GitHub Desktop.
Save joede/d8c9281cae25d33ee4dc5873b91c6ca8 to your computer and use it in GitHub Desktop.
Failed to build package luajit for target i686-w64-mingw32.static!
make[1]: Entering directory '/usr/lib/mxe'
uname -a
Linux jd-dell 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
da03019280ac4f877446001249bfeae38e002c16 - Update packages.json & build-matrix.html [vor 7 Tagen] [ (HEAD, origin/master, origin/HEAD, master)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Debian
Description: Debian GNU/Linux 8.8 (jessie)
Release: 8.8
Codename: jessie
autoconf --version 2>/dev/null | head -1
autoconf (GNU Autoconf) 2.69
automake --version 2>/dev/null | head -1
automake (GNU automake) 1.15
gcc --version
gcc (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
g++ --version
g++ (Debian 4.9.2-10) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
python --version
Python 2.7.9
perl --version 2>&1 | head -3
This is perl 5, version 20, subversion 2 (v5.20.2) built for x86_64-linux-gnu-thread-multi
(with 92 registered patches, see perl -V for more detail)
rm -rf '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static'
mkdir -p '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static'
mkdir -p '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4'
mkdir -p '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/readonly'
chmod 0555 '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/readonly'
cd '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static' && tar xzf '/usr/lib/mxe/pkg/LuaJIT-2.0.4.tar.gz'
cd '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4'
(cd '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4' && patch -p1 -u) < /usr/lib/mxe/src/luajit-1-fixes.patch
patching file src/Makefile
Hunk #1 succeeded at 169 (offset 2 lines).
Hunk #2 succeeded at 332 (offset -2 lines).
make -C '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4' -j '6' HOST_CC='gcc -m32' CROSS='i686-w64-mingw32.static-' TARGET_SYS=Windows BUILDMODE=static PREFIX='/usr/lib/mxe/usr/i686-w64-mingw32.static' FILE_T=luajit.exe INSTALL_TNAME=luajit-2.0.4.exe INSTALL_TSYMNAME=luajit.exe install
make[2]: Entering directory '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4'
==== Building LuaJIT 2.0.4 ====
make -C src
make[3]: Entering directory '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4/src'
HOSTCC host/minilua.o
HOSTCC host/buildvm_asm.o
HOSTCC host/buildvm_peobj.o
HOSTCC host/buildvm_lib.o
HOSTCC host/buildvm_fold.o
CC lj_gc.o
In file included from /usr/include/limits.h:25:0,
from /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed/limits.h:168,
from /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed/syslimits.h:7,
from /usr/lib/gcc/x86_64-linux-gnu/4.9/include-fixed/limits.h:34,
from host/minilua.c:33:
/usr/include/features.h:374:25: fatal error: sys/cdefs.h: Datei oder Verzeichnis nicht gefunden
# include <sys/cdefs.h>
^
compilation terminated.
In file included from host/buildvm_asm.c:6:0:
host/buildvm.h:9:23: fatal error: sys/types.h: Datei oder Verzeichnis nicht gefunden
#include <sys/types.h>
^
compilation terminated.
In file included from host/buildvm_peobj.c:9:0:
host/buildvm.h:9:23: fatal error: sys/types.h: Datei oder Verzeichnis nicht gefunden
#include <sys/types.h>
^
compilation terminated.
In file included from host/buildvm_lib.c:6:0:
host/buildvm.h:9:23: fatal error: sys/types.h: Datei oder Verzeichnis nicht gefunden
#include <sys/types.h>
^
compilation terminated.
In file included from host/buildvm_fold.c:6:0:
host/buildvm.h:9:23: fatal error: sys/types.h: Datei oder Verzeichnis nicht gefunden
#include <sys/types.h>
^
compilation terminated.
Makefile:660: recipe for target 'host/buildvm_peobj.o' failed
make[3]: *** [host/buildvm_peobj.o] Error 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
Makefile:660: recipe for target 'host/buildvm_asm.o' failed
make[3]: *** [host/buildvm_asm.o] Error 1
Makefile:660: recipe for target 'host/minilua.o' failed
make[3]: *** [host/minilua.o] Error 1
Makefile:660: recipe for target 'host/buildvm_lib.o' failed
make[3]: *** [host/buildvm_lib.o] Error 1
Makefile:660: recipe for target 'host/buildvm_fold.o' failed
make[3]: *** [host/buildvm_fold.o] Error 1
make[3]: Leaving directory '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4/src'
Makefile:103: recipe for target 'src/luajit' failed
make[2]: *** [src/luajit] Error 2
make[2]: Leaving directory '/usr/lib/mxe/tmp-luajit-i686-w64-mingw32.static/LuaJIT-2.0.4'
Makefile:642: recipe for target 'build-only-luajit_i686-w64-mingw32.static' failed
make[1]: *** [build-only-luajit_i686-w64-mingw32.static] Error 2
make[1]: Leaving directory '/usr/lib/mxe'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment