[MacPorts] #65358: gmake @4.3_0+guile Some ports { cmake-bootstrap, p5.28-io-compress-brotli } do not build if gmake is active

MacPorts noreply at macports.org
Fri Jun 17 07:31:21 UTC 2022


#65358: gmake @4.3_0+guile Some ports { cmake-bootstrap, p5.28-io-compress-brotli }
do not build if gmake is active
-------------------------+-------------------------------------------------
 Reporter:  snowflake    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.7.99
 Keywords:               |       Port:  gmake cmake-bootstrap p5-io-
                         |  compress-brotli
-------------------------+-------------------------------------------------
 Neither of the two ports mentioned in the summary depend on gmake to
 build,
 but they will both use gmake if it is available.

 Deactivating gmake allows the ports to build.

 Tested on macOS 10.11, 12, 13

 On macOS 12, cmake-bootstrap builds, p5.28-io-compress-brotli fails
 On macOS 13, both ports fail

 How to repeat:
 {{{
 sudo port install gmake +guile
 sudo port clean p5.28-io-compress-brotli
 sudo port -s build p5.28-io-compress-brotli
 }}}

 Depending on OS, various errors will be displayed such as "Segmentation
 fault'

 Log from macOS 12 p5.28-io-compress-brotli

 {{{

 cc -fPIC -O2  -Ic/include \
         -c c/enc/utf8_util.c -o bin/obj/c/enc/utf8_util.o
 rm -f libbrotli.a
 ar -crs libbrotli.a bin/obj/c/common/dictionary.o
 bin/obj/c/common/transform.o bin/obj/c/dec/bit_reader.o
 bin/obj/c/dec/decode.o bin/obj/c/dec/huffman.o bin/obj/c/dec/state.o
 bin/obj/c/enc/backward_references.o bin/obj/c/enc/backward_references_hq.o
 bin/obj/c/enc/bit_cost.o bin/obj/c/enc/block_splitter.o
 bin/obj/c/enc/brotli_bit_stream.o bin/obj/c/enc/cluster.o
 bin/obj/c/enc/compress_fragment.o
 bin/obj/c/enc/compress_fragment_two_pass.o bin/obj/c/enc/dictionary_hash.o
 bin/obj/c/enc/encode.o bin/obj/c/enc/encoder_dict.o
 bin/obj/c/enc/entropy_encode.o bin/obj/c/enc/histogram.o
 bin/obj/c/enc/literal_cost.o bin/obj/c/enc/memory.o
 bin/obj/c/enc/metablock.o bin/obj/c/enc/static_dict.o
 bin/obj/c/enc/utf8_util.o
 gmake[1]: Leaving directory
 '/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_perl_p5-io-compress-brotli/p5.28-io-compress-
 brotli/work/IO-Compress-Brotli-0.004001/brotli'
 make: Leaving directory
 `/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_perl_p5-io-compress-brotli/p5.28-io-compress-
 brotli/work/IO-Compress-Brotli-0.004001'
 Command failed:  cd
 "/opt/local/var/macports/build/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_perl_p5-io-compress-brotli/p5.28-io-compress-
 brotli/work/IO-Compress-Brotli-0.004001" && /usr/bin/make -j12 -w all
 Exit code: 2
 Error: Failed to build p5.28-io-compress-brotli: command execution failed
 DEBUG: Error code: CHILDSTATUS 13078 2
 DEBUG: Backtrace: command execution failed
 DEBUG:     while executing
 DEBUG: "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
 DEBUG:     invoked from within
 DEBUG: "command_exec -callback portprogress::target_progress_callback
 build"
 DEBUG:     (procedure "portbuild::build_main" line 8)
 DEBUG:     invoked from within
 DEBUG: "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_Users_davidevans_macports_sources_github
 .com_macports_macports-ports_perl_p5-io-compress-brotli/p5.28-io-compress-
 brotli/main.log for details.

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65358>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list