Opened 2 years ago

Last modified 2 years ago

#65358 new defect

gmake @4.3_0+guile: crashes occur with some ports: cmake-bootstrap, p5.28-io-compress-brotli

Reported by: snowflake (Dave Evans) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.99
Keywords: Cc: parafin
Port: gmake

Description

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.

Attachments (1)

gmake-2022-06-17-164037.ips (7.1 KB) - added by snowflake (Dave Evans) 2 years ago.
Crash log of gmake whille building cmake-bootstrap on macOS 12

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

"Segmentation fault" is a crash; please attach the crash log.

Changed 2 years ago by snowflake (Dave Evans)

Attachment: gmake-2022-06-17-164037.ips added

Crash log of gmake whille building cmake-bootstrap on macOS 12

comment:2 Changed 2 years ago by snowflake (Dave Evans)

Contrary to my comment posted a couple of minutes ago, the crash log is actually for macOS 13 running gmake

comment:3 Changed 2 years ago by parafin

Cc: parafin added

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

Port: cmake-bootstrap p5-io-compress-brotli removed
Summary: gmake @4.3_0+guile Some ports { cmake-bootstrap, p5.28-io-compress-brotli } do not build if gmake is activegmake @4.3_0+guile: crashes occur with some ports: cmake-bootstrap, p5.28-io-compress-brotli
Note: See TracTickets for help on using tickets.