[MacPorts] #56189: harfbuzz @1.7.6: Fails to compile with 32-bit long

MacPorts noreply at macports.org
Fri Mar 30 11:30:55 UTC 2018


#56189: harfbuzz @1.7.6: Fails to compile with 32-bit long
---------------------------+-----------------
  Reporter:  sideeffect42  |      Owner:
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  harfbuzz      |
---------------------------+-----------------

Comment (by sideeffect42):

 The error is:
 {{{
 /bin/sh ../libtool  --tag=CXX   --mode=compile ccache /usr/bin/g++-4.2
 -DHAVE_CONFIG_H -I. -I..  -fno-exceptions -pthread
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16     -I./hb-
 ucdn  -fno-threadsafe-statics -fno-rtti  -I/opt/local/include  -pipe -Os
 -arch ppc -arch ppc64 -Wcast-align -fvisibility-inlines-hidden -c -o
 libharfbuzz_la-hb-blob.lo `test -f 'hb-blob.cc' || echo './'`hb-blob.cc
 /bin/sh ../libtool  --tag=CXX   --mode=compile ccache /usr/bin/g++-4.2
 -DHAVE_CONFIG_H -I. -I..  -fno-exceptions -pthread
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16     -I./hb-
 ucdn  -fno-threadsafe-statics -fno-rtti  -I/opt/local/include  -pipe -Os
 -arch ppc -arch ppc64 -Wcast-align -fvisibility-inlines-hidden -c -o
 libharfbuzz_la-hb-buffer-serialize.lo `test -f 'hb-buffer-serialize.cc' ||
 echo './'`hb-buffer-serialize.cc
 libtool: compile:  ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -fno-
 exceptions -pthread -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I./hb-ucdn -fno-threadsafe-statics -fno-
 rtti -I/opt/local/include -pipe -Os -arch ppc -arch ppc64 -Wcast-align
 -fvisibility-inlines-hidden -c hb-blob.cc  -fno-common -DPIC -o .libs
 /libharfbuzz_la-hb-blob.o
 libtool: compile:  ccache /usr/bin/g++-4.2 -DHAVE_CONFIG_H -I. -I.. -fno-
 exceptions -pthread -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I./hb-ucdn -fno-threadsafe-statics -fno-
 rtti -I/opt/local/include -pipe -Os -arch ppc -arch ppc64 -Wcast-align
 -fvisibility-inlines-hidden -c hb-buffer-serialize.cc  -fno-common -DPIC
 -o .libs/libharfbuzz_la-hb-buffer-serialize.o
 In file included from hb-blob.cc:32:
 hb-private.hh:417: error: integer constant is too large for ?long? type
 hb-private.hh:493: error: integer constant is too large for ?long? type
 hb-private.hh:494: error: integer constant is too large for ?long? type
 hb-private.hh:495: error: integer constant is too large for ?long? type
 hb-private.hh:496: error: integer constant is too large for ?long? type
 hb-private.hh:497: error: integer constant is too large for ?long? type
 fatal error: lipo: can't open input file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/.tmp/cc3pBlgR.out
 (No such file or directory)
 make[4]: *** [libharfbuzz_la-hb-blob.lo] Error 1
 make[4]: *** Waiting for unfinished jobs....
 In file included from hb-buffer-private.hh:33,
                  from hb-buffer-serialize.cc:27:
 hb-private.hh:417: error: integer constant is too large for ?long? type
 hb-private.hh:493: error: integer constant is too large for ?long? type
 hb-private.hh:494: error: integer constant is too large for ?long? type
 hb-private.hh:495: error: integer constant is too large for ?long? type
 hb-private.hh:496: error: integer constant is too large for ?long? type
 hb-private.hh:497: error: integer constant is too large for ?long? type
 fatal error: lipo: can't open input file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/.tmp/ccWTf0Nw.out
 (No such file or directory)
 make[4]: *** [libharfbuzz_la-hb-buffer-serialize.lo] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-1.7.6/src'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-1.7.6/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-1.7.6/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-1.7.6'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-1.7.6'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/work/harfbuzz-1.7.6"
 && /usr/bin/make -j2 -w all
 Exit code: 2
 Error: Failed to build harfbuzz: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_harfbuzz/harfbuzz/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56189#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list