Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

mingw rebuild of libtiff fails #220

Open
kimrhh opened this issue Nov 16, 2015 · 0 comments
Open

mingw rebuild of libtiff fails #220

kimrhh opened this issue Nov 16, 2015 · 0 comments

Comments

@kimrhh
Copy link
Contributor

kimrhh commented Nov 16, 2015

when building libtiff using prebakes, it will currently fail with:

ERROR: machine:tiff_4.0.1:do_compile failed  /build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/tmp/do_compile.5.log
> LC_ALL=C /build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/tmp/do_compile.5.run
+ cd /build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1
+ do_compile
+ do_compile_make
+ '[' -e Makefile -o -e makefile ']'
+ oe_runmake
+ make -j8
Making all in port
make[1]: Entering directory `/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1/port'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1/port'
Making all in libtiff
make[1]: Entering directory `/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1/libtiff'
make  all-am
make[2]: Entering directory `/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1/libtiff'
/bin/sh ../libtool  --tag=CXX   --mode=link i686-unknown-mingw32-g++  -O2 -fexpensive-optimizations -fomit-frame-pointer -frename-registers -fpermissive -no-undefined -version-info 5:6:0   -Wl,-O1  -Wl,-rpath,/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/install/usr/lib -Wl,-rpath,/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/install/lib  -o libtiffxx.la -rpath /usr/lib tif_stream.lo ../libtiff/libtiff.la ../port/libport.la -lm 
libtool: link: i686-unknown-mingw32-g++ -shared -nostdlib /build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib/dllcrt2.o /build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib/crtbegin.o  .libs/tif_stream.o  -Wl,--whole-archive ../port/.libs/libport.a -Wl,--no-whole-archive  ../libtiff/.libs/libtiff.dll.a -L/build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../lib/gcc/i686-unknown-mingw32/4.9.2 -L/build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../lib/gcc -L/build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib -lstdc++ -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt -lpthread -ladvapi32 -lshell32 -luser32 -lkernel32 -lmingw32 -lgcc_s -lgcc -lmoldname -lmingwex -lmsvcrt /build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib/crtend.o  -O2 -Wl,-O1 -Wl,-rpath -Wl,/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/install/usr/lib -Wl,-rpath -Wl,/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/install/lib   -o .libs/libtiffxx-5.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libtiffxx.dll.a
i686-unknown-mingw32-g++: error: /build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib/dllcrt2.o: No such file or directory
i686-unknown-mingw32-g++: error: /build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib/crtbegin.o: No such file or directory
i686-unknown-mingw32-g++: error: /build/tmp/work/cross/i686-unknown-mingw32/libtool-2.4.6/stage/cross/bin/../i686-unknown-mingw32/sysroot/usr/lib/crtend.o: No such file or directory
make[2]: *** [libtiffxx.la] Error 1
make[2]: Leaving directory `/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1/libtiff'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/src/tiff-4.0.1/libtiff'
make: *** [all-recursive] Error 1
+ die 'make failed'
+ oefatal 'make failed'
+ echo FATAL: 'make failed'
FATAL: make failed
+ exit 1
Error: Command failed: u'LC_ALL=C /build/tmp/work/machine/i686-unknown-mingw32/tiff-4.0.1/tmp/do_compile.5.run': 1
kimrhh pushed a commit to kimrhh/base that referenced this issue Nov 16, 2015
currently there is a rebuild issue for mingw, issue tracked in
oe-lite/base issue oe-lite#220
Villemoes pushed a commit to Villemoes/oe-lite-base that referenced this issue Aug 29, 2016
This makes use of auto-package-* and makes a few features
optional. Since mingw build is disabled for now (see issue oe-lite#220) we
also remove the mingw specific bits - getting the mingw build to work
again may require adding those back, or something entirely different,
so it's better if there's no confusing legacy settings.
Villemoes pushed a commit to Villemoes/oe-lite-base that referenced this issue Oct 28, 2016
This makes use of auto-package-* and makes a few features
optional. Since mingw build is disabled for now (see issue oe-lite#220) we
also remove the mingw specific bits - getting the mingw build to work
again may require adding those back, or something entirely different,
so it's better if there's no confusing legacy settings.
Villemoes pushed a commit to Villemoes/oe-lite-base that referenced this issue Oct 28, 2016
This makes use of auto-package-* and makes a few features
optional. Since mingw build is disabled for now (see issue oe-lite#220) we
also remove the mingw specific bits - getting the mingw build to work
again may require adding those back, or something entirely different,
so it's better if there's no confusing legacy settings.

Also update the homepage and download URLs. Quoting from Wikipedia:

  Website hijacking

  Around January 2004, the original libtiff website (libtiff.org) has
  been hijacked, after it had disappeared in September 2003 due to ISP
  problems. [...]

  In September 2016, the libtiff maintainers lost control of
  http://www.remotesensing.org/libtiff/, which had been the main site
  since 2003. The official website is currently at
  http://www.simplesystems.org/libtiff/.
Villemoes pushed a commit to Villemoes/oe-lite-base that referenced this issue Nov 3, 2016
This makes use of auto-package-* and makes a few features
optional. Since mingw build is disabled for now (see issue oe-lite#220) we
also remove the mingw specific bits - getting the mingw build to work
again may require adding those back, or something entirely different,
so it's better if there's no confusing legacy settings.

Also update the homepage and download URLs. Quoting from Wikipedia:

  Website hijacking

  Around January 2004, the original libtiff website (libtiff.org) has
  been hijacked, after it had disappeared in September 2003 due to ISP
  problems. [...]

  In September 2016, the libtiff maintainers lost control of
  http://www.remotesensing.org/libtiff/, which had been the main site
  since 2003. The official website is currently at
  http://www.simplesystems.org/libtiff/.
Villemoes pushed a commit to Villemoes/oe-lite-base that referenced this issue Nov 4, 2016
This makes use of auto-package-* and makes a few features
optional. Since mingw build is disabled for now (see issue oe-lite#220) we
also remove the mingw specific bits - getting the mingw build to work
again may require adding those back, or something entirely different,
so it's better if there's no confusing legacy settings.

Also update the homepage and download URLs. Quoting from Wikipedia:

  Website hijacking

  Around January 2004, the original libtiff website (libtiff.org) has
  been hijacked, after it had disappeared in September 2003 due to ISP
  problems. [...]

  In September 2016, the libtiff maintainers lost control of
  http://www.remotesensing.org/libtiff/, which had been the main site
  since 2003. The official website is currently at
  http://www.simplesystems.org/libtiff/.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant