Skip to content

Instantly share code, notes, and snippets.

@thehans
Created February 10, 2019 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thehans/57b30ec0a988b252c4e33b884ee09c76 to your computer and use it in GitHub Desktop.
Save thehans/57b30ec0a988b252c4e33b884ee09c76 to your computer and use it in GitHub Desktop.
Attempt to build latest Eigen 3.3.7
root@f12677981478:/mxe# make update-package-eigen && \
> make JOBS=6 -j8 \
> MXE_PLUGIN_DIRS=plugins/gcc7 \
> MXE_TARGETS=x86_64-w64-mingw32.static.posix \
> eigen
NEW eigen 3.2.5 --> 3.3.7
sed -i 's/^\([^ ]*_VERSION *:=\).*/\1 3.3.7/' '/mxe/src/eigen.mk'
make -f 'Makefile' 'update-checksum-eigen' || { sed -i 's/^\([^ ]*_VERSION *:=\).*/\1 3.2.5/' '/mxe/src/eigen.mk'; exit 1; }
make[1]: Entering directory '/mxe'
mkdir -p '/mxe/pkg' && ( (wget --user-agent='Wget/1.18' -T 30 -t 3 -O '/mxe/pkg/.tmp-eigen-3.3.7.tar.bz2' 'https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2' && true) ) && cat '/mxe/pkg/.tmp-eigen-3.3.7.tar.bz2' > '/mxe/pkg/eigen-3.3.7.tar.bz2' && rm '/mxe/pkg/.tmp-eigen-3.3.7.tar.bz2' || ( echo; echo 'Download failed!'; echo; rm -f '/mxe/pkg/eigen-3.3.7.tar.bz2' '/mxe/pkg/.tmp-eigen-3.3.7.tar.bz2'; ) && sed -i 's/^\([^ ]*_CHECKSUM *:=\).*/\1 '"`openssl dgst -sha256 '/mxe/pkg/eigen-3.3.7.tar.bz2' 2>/dev/null | sed -n 's,^.*\([0-9a-f]\{64\}\)$,\1,p'`"'/' '/mxe/src/eigen.mk'
--2019-02-10 18:54:33-- https://bitbucket.org/eigen/eigen/get/3.3.7.tar.bz2
Resolving bitbucket.org (bitbucket.org)... 18.205.93.1, 18.205.93.2, 18.205.93.0, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.1|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1665168 (1.6M) [application/x-bzip-compressed-tar]
Saving to: '/mxe/pkg/.tmp-eigen-3.3.7.tar.bz2'
/mxe/pkg/.tmp-eigen-3.3.7.tar 100%[=================================================>] 1.59M 4.74MB/s in 0.3s
2019-02-10 18:54:34 (4.74 MB/s) - '/mxe/pkg/.tmp-eigen-3.3.7.tar.bz2' saved [1665168/1665168]
make[1]: Leaving directory '/mxe'
[download] cmake-3.10.0.tar.gz
[build] cmake x86_64-pc-linux-gnu
[done] cmake x86_64-pc-linux-gnu 374300 KiB 2m54.725s
[build] cmake-conf x86_64-pc-linux-gnu
[done] cmake-conf x86_64-pc-linux-gnu 12 KiB 0m2.354s
[build] cmake-conf x86_64-w64-mingw32.static.posix
[done] cmake-conf x86_64-w64-mingw32.static.posix 12 KiB 0m2.238s
[build] eigen x86_64-w64-mingw32.static.posix
Failed to build package eigen for target x86_64-w64-mingw32.static.posix!
------------------------------------------------------------
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
Makefile:797: recipe for target 'build-only-eigen_x86_64-w64-mingw32.static.posix' failed
make[1]: *** [build-only-eigen_x86_64-w64-mingw32.static.posix] Error 1
make[1]: Leaving directory '/mxe'
real 0m2.489s
user 0m2.190s
sys 0m0.280s
------------------------------------------------------------
[log] /mxe/log/eigen_x86_64-w64-mingw32.static.posix
Makefile:797: recipe for target '/mxe/usr/x86_64-w64-mingw32.static.posix/installed/eigen' failed
make: *** [/mxe/usr/x86_64-w64-mingw32.static.posix/installed/eigen] Error 1
root@f12677981478:/mxe#
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/mxe'
uname -a
Linux f12677981478 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
2ece93f180b9e4bde9b4525e088d5a7d062ae149 - Update packages.json & build-matrix.html [2 days ago] [ (HEAD -> master, origin/master, origin/HEAD)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
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 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 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 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 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.13
perl --version 2>&1 | head -3
This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-gnu-thread-multi
(with 85 registered patches, see perl -V for more detail)
rm -rf '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix'
mkdir -p '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix'
mkdir -p '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix/eigen-eigen-bdd17ee3b1b3'
mkdir -p '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix/eigen-eigen-bdd17ee3b1b3.build_'
# disable wine with readonly directory
# see https://github.com/mxe/mxe/issues/841
mkdir -p '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix/readonly'
chmod 0555 '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix/readonly'
cd '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix' && tar xjf '/mxe/pkg/eigen-3.3.7.tar.bz2'
cd '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix/eigen-eigen-bdd17ee3b1b3'
(cd '/mxe/tmp-eigen-x86_64-w64-mingw32.static.posix/eigen-eigen-bdd17ee3b1b3' && patch -p1 -u) < /mxe/src/eigen-1-disable-os-check.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|This file is part of MXE. See LICENSE.md for licensing information.
|
|--- a/cmake/EigenDetermineOSVersion.cmake 2012-12-05 16:53:46.305932163 +0100
|+++ b/cmake/EigenDetermineOSVersion.cmake 2012-12-05 16:56:15.937936644 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
Makefile:797: recipe for target 'build-only-eigen_x86_64-w64-mingw32.static.posix' failed
make[1]: *** [build-only-eigen_x86_64-w64-mingw32.static.posix] Error 1
make[1]: Leaving directory '/mxe'
real 0m2.489s
user 0m2.190s
sys 0m0.280s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment