[MacPorts] #55733: lz4 @1.8.1.2: fails to build on systems following LibcxxOnOlderSystems

MacPorts noreply at macports.org
Tue Jan 29 17:34:13 UTC 2019


#55733: lz4 @1.8.1.2: fails to build on systems following LibcxxOnOlderSystems
-------------------------+------------------------
  Reporter:  grumpybozo  |      Owner:  ryandesign
      Type:  defect      |     Status:  accepted
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.4.2
Resolution:              |   Keywords:
      Port:  lz4         |
-------------------------+------------------------

Comment (by kencu):

 I couldn't get this to build +universal on Leopard no matter what I tried
 -- always came to this:
 {{{
 Update lz4 manual in /doc
 ./gen_manual 1.8.3 ../../lib/lz4.h ../../doc/lz4_manual.html
 make[1]: execvp: ./gen_manual: Bad CPU type in executable
 make[1]: *** [../../doc/lz4_manual.html] Error 127
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_lz4/lz4/work/lz4-1.8.3-x86_64/contrib/gen_manual'
 make: *** [manuals] Error 2
 make: *** Waiting for unfinished jobs....
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_lz4/lz4/work/lz4-1.8.3-x86_64/lib'
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_lz4/lz4/work/lz4-1.8.3-x86_64'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_lz4/lz4/work/lz4-1.8.3-x86_64"
 && /usr/bin/make -j2 -w all CC=/opt/local/bin/clang-mp-3.4
 CXX=/opt/local/bin/clang++-mp-3.4 PREFIX=/opt/local CFLAGS="-Os -arch
 x86_64" CXXFLAGS="-Os -stdlib=libstdc++ -arch x86_64"
 Exit code: 2
 Error: Failed to build lz4: command execution failed
 }}}


 finally just disabling the manual by changing the build target to
 {{{
 build.target allmost
 }}}
 got around it and it installed.

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


More information about the macports-tickets mailing list