Skip to content

Instantly share code, notes, and snippets.

@starius
Created January 13, 2016 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save starius/8f8693ee4761ed40ffc4 to your computer and use it in GitHub Desktop.
Save starius/8f8693ee4761ed40ffc4 to your computer and use it in GitHub Desktop.
make[1]: Entering directory `/home/mxe/mxe-build-pkg-only-deps2-2'
uname -a
Linux sd-68075 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u4 x86_64 GNU/Linux
git log --pretty=tformat:"%H - %s [%ar] [%d]" -1
e659372c700027646aaf7981224bc9816cd0b061 - build-pkg: log and remove empty directories [4 days ago] [ (HEAD, origin/build-pkg-only-deps2, build-pkg-only-deps2)]
lsb_release -a 2>/dev/null || sw_vers 2>/dev/null || true
Distributor ID: Debian
Description: Debian GNU/Linux 7.9 (wheezy)
Release: 7.9
Codename: wheezy
autoconf --version 2>/dev/null | head -1
autoconf (GNU Autoconf) 2.69
automake --version 2>/dev/null | head -1
automake (GNU automake) 1.11.6
python --version
Python 2.7.3
perl --version 2>&1 | head -3
This is perl 5, version 14, subversion 2 (v5.14.2) built for x86_64-linux-gnu-thread-multi
(with 89 registered patches, see perl -V for more detail)
rm -rf '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared'
mkdir -p '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared'
cd '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared' && tar xzf '/home/mxe/mxe-build-pkg-only-deps2-2/pkg/icu4c-56_1-src.tgz'
cd '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu'
(cd '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu' && patch -p1 -u) < /home/mxe/mxe-build-pkg-only-deps2-2/src/icu4c-1-fixes.patch
patching file source/config/icu.pc.in
Hunk #1 succeeded at 11 (offset 6 lines).
cd '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu/source' && autoreconf -fi
mkdir '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu.native' && cd '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu.native' && '/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu/source/configure' CC=gcc CXX=g++
checking for ICU version numbers... release 56.1, library 56.1, unicode version 8.0
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking whether to build debug libraries... no
checking whether to build release libraries... yes
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.20... yes
checking for ICULEHB... no
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for gmake... no
checking for gnumake... no
checking for doxygen... no
checking checking for executable suffix...
checking whether strict compiling is on... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of void *... 8
checking whether runnable 64 bit binaries are built by default... yes
checking which Makefile fragment to use for x86_64-unknown-linux-gnu... mh-linux
checking for floor in -lm... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether to enable auto cleanup of libraries... no
checking whether to enable draft APIs... yes
checking for ranlib... ranlib
checking for ar... ar
checking whether to enable renaming of symbols... yes
checking whether to enable function and data tracing... no
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu/source/configure: line 5708: syntax error near unexpected token `PLUGINS,'
/home/mxe/mxe-build-pkg-only-deps2-2/tmp-icu4c-x86_64-w64-mingw32.shared/icu/source/configure: line 5708: `ICU_CONDITIONAL(PLUGINS, test "$plugins" = true)'
make[1]: *** [build-only-icu4c_x86_64-w64-mingw32.shared] Error 2
make[1]: Leaving directory `/home/mxe/mxe-build-pkg-only-deps2-2'
real 0m7.216s
user 0m5.396s
sys 0m0.396s
@getsomefood
Copy link

I've encountered the same issue. have you solved it?

@eliasing
Copy link

eliasing commented Apr 9, 2016

You, probably, have some old packages. In my case, I had to do the following:
sudo add-apt-repository ppa:dns/gnu
sudo apt-get update
sudo apt-get dist-upgrade
Then,
sudo apt-get install
autoconf automake autopoint bash bison bzip2 flex gettext
git g++ gperf intltool libffi-dev libgdk-pixbuf2.0-dev
libtool libltdl-dev libssl-dev libxml-parser-perl make
openssl p7zip-full patch perl pkg-config python ruby scons
sed unzip wget xz-utils

@kmatheussen
Copy link

This fixed it:

diff --git a/src/icu4c-1-fixes.patch b/src/icu4c-1-fixes.patch
index 282f10a..27fa84a 100644
--- a/src/icu4c-1-fixes.patch
+++ b/src/icu4c-1-fixes.patch
@@ -23,3 +23,22 @@ index 406b196..cc53055 100644
  #datadir = @datadir@
  #sbindir = @sbindir@

+diff --git a/source/configure.ac b/source/configure.ac
+--- a/source/configure.ac
++++ b/source/configure.ac
+@@ -389,6 +389,15 @@
+ AC_MSG_RESULT($enabled)
+ AC_SUBST(U_DISABLE_RENAMING)
+ 
++
++AC_DEFUN(ICU_CONDITIONAL,
++[AC_SUBST($1_TRUE)
++if $2; then
++  $1_TRUE=
++else
++  $1_TRUE='#'
++fi])
++
+ AC_MSG_CHECKING([whether to enable function and data tracing])
+ enabled=no
+ U_ENABLE_TRACING=0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment