Bug 40953 - fail compile git: make[2]: *** [hb_view-options.o] Error 1 (16-09-2011)
fail compile git: make[2]: *** [hb_view-options.o] Error 1 (16-09-2011)
Status: RESOLVED FIXED
Product: HarfBuzz
Classification: Unclassified
Component: src
unspecified
x86-64 (AMD64) Linux (All)
: medium normal
Assigned To: Behdad Esfahbod
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-16 16:23 UTC by gustavo alvarez
Modified: 2011-09-17 09:12 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gustavo alvarez 2011-09-16 16:23:59 UTC
Cloning into harfbuzz...
remote: Counting objects: 9033, done.
remote: Compressing objects: 100% (5422/5422), done.
remote: Total 9033 (delta 6517), reused 4584 (delta 3046)
Receiving objects: 100% (9033/9033), 1.80 MiB | 412 KiB/s, done.
Resolving deltas: 100% (6517/6517), done.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into /tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build...
done.
checking for ragel... /usr/bin/ragel
checking for pkg-config... /usr/bin/pkg-config
checking for autoreconf... /usr/bin/autoreconf
running autoreconf --force --install --verbose
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:16: installing `./compile'
configure.ac:21: installing `./config.guess'
configure.ac:21: installing `./config.sub'
configure.ac:11: installing `./install-sh'
configure.ac:11: installing `./missing'
src/Makefile.am: installing `./depcomp'
Makefile.am: installing `./INSTALL'
autoreconf: Leaving directory `.'
running configure 
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for mmap... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking io.h usability... yes
checking io.h presence... yes
checking for io.h... yes
checking for GLIB... yes
checking for GTHREAD... yes
checking for GOBJECT... yes
checking for CAIRO... yes
checking for CAIRO_PNG... yes
checking for CAIRO_FT... yes
checking for ICU... no
checking for icu-config... true
checking for GRAPHITE... no
checking for FREETYPE... yes
checking for FT_Face_GetCharVariantIndex... yes
checking usp10.h usability... no
checking usp10.h presence... no
checking for usp10.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating harfbuzz.pc
config.status: creating src/Makefile
config.status: creating src/hb-version.h
config.status: creating util/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for mprotect... yes
checking for sysconf... yes
checking for getpagesize... yes
checking for mmap... yes
checking for unistd.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking io.h usability... yes
checking io.h presence... yes
checking for io.h... yes
checking for GLIB... yes
checking for GTHREAD... yes
checking for GOBJECT... yes
checking for CAIRO... yes
checking for CAIRO_PNG... yes
checking for CAIRO_FT... yes
checking for ICU... no
checking for icu-config... true
checking for GRAPHITE... no
checking for FREETYPE... yes
checking for FT_Face_GetCharVariantIndex... yes
checking usp10.h usability... no
checking usp10.h presence... no
checking for usp10.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating harfbuzz.pc
config.status: creating src/Makefile
config.status: creating src/hb-version.h
config.status: creating util/Makefile
config.status: creating test/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
  GEN    .gitignore
make  all-recursive
make[1]: se ingresa al directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build'
Making all in src
make[2]: se ingresa al directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build/src'
  GEN    hb-gobject-enums.cc
  GEN    hb-ot-shape-complex-indic-machine.hh
  GEN    .gitignore
make  all-am
make[3]: se ingresa al directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build/src'
  CXX    libharfbuzz_la-hb-blob.lo
hb-blob.cc:73:1: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
  CXX    libharfbuzz_la-hb-buffer.lo
  CXX    libharfbuzz_la-hb-common.lo
  CXX    libharfbuzz_la-hb-fallback-shape.lo
  CXX    libharfbuzz_la-hb-font.lo
  CXX    libharfbuzz_la-hb-ot-tag.lo
  CXX    libharfbuzz_la-hb-shape.lo
  CXX    libharfbuzz_la-hb-tt-font.lo
  CXX    libharfbuzz_la-hb-unicode.lo
  CXX    libharfbuzz_la-hb-ot-layout.lo
  CXX    libharfbuzz_la-hb-ot-map.lo
  CXX    libharfbuzz_la-hb-ot-shape.lo
  CXX    libharfbuzz_la-hb-ot-shape-complex-arabic.lo
  CXX    libharfbuzz_la-hb-ot-shape-complex-indic.lo
  CXX    libharfbuzz_la-hb-ot-shape-complex-misc.lo
  CXX    libharfbuzz_la-hb-ot-shape-normalize.lo
  CXX    libharfbuzz_la-hb-glib.lo
  CXX    libharfbuzz_la-hb-gobject-structs.lo
  CXX    libharfbuzz_la-hb-icu.lo
  CXX    libharfbuzz_la-hb-ft.lo
  CXX    libharfbuzz_la-hb-gobject-enums.lo
  CXXLD  libharfbuzz.la
  CXX    main-main.o
  CXXLD  main
  CXX    test-test.o
  CXXLD  test
make[3]: se sale del directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build/src'
make[2]: se sale del directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build/src'
Making all in util
make[2]: se ingresa al directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build/util'
  CXX    hb_view-hb-view.o
  CXX    hb_view-common.o
  CXX    hb_view-options.o
options.cc: En la función miembro ‘hb_font_t* font_options_t::get_font() const’:
options.cc:443:33: error: ‘O_BINARY’ no se declaró en este ámbito
options.cc:443:41: error: ‘_setmode’ no se declaró en este ámbito
options.cc: En la función miembro ‘FILE* output_options_t::get_file_handle()’:
options.cc:583:32: error: ‘O_BINARY’ no se declaró en este ámbito
options.cc:583:40: error: ‘_setmode’ no se declaró en este ámbito
make[2]: *** [hb_view-options.o] Error 1
make[2]: se sale del directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build/util'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/tmp/yaourt-tmp-sl1pkn07/aur-harfbuzz-git/src/harfbuzz-build'
make: *** [all] Error 2
Comment 1 gustavo alvarez 2011-09-17 06:20:24 UTC
my system is archlinux, sorry
Comment 2 Behdad Esfahbod 2011-09-17 06:52:50 UTC
Ok I didn't know there's io.h on Linux.  I know what the problem is and will fix it now.
Comment 3 Behdad Esfahbod 2011-09-17 07:01:27 UTC
Fixed in master.
Comment 4 gustavo alvarez 2011-09-17 09:12:14 UTC
hello

fixed!

thanks!