Re: git: 1bb0876e54b6 - main - devel/libgit2: bump all ports depending on libgit2 for 1.7.1 upgrade

From: Vladimir Druzenko <vvd_at_freebsd.org>
Date: Tue, 14 Nov 2023 16:46:16 UTC
14.11.2023 08:19, Matthias Fechner пишет:
> Am 13.11.2023 um 23:48 schrieb Vladimir Druzenko:
>> Build fails devel/cargo-c (13.2 amd64) on 2 different hosts with and 
>> without devel/cargo-c installed:
>>
>>   running: "cc" "-O2" "-ffunction-sections" "-fdata-sections" "-fPIC" 
>> "-m64" "-O2" "-pipe" "-march=skylake-avx512" 
>> "-fstack-protector-strong" "-fno-strict-aliasing" "-I" 
>> "/tmp/work/usr/ports/devel/cargo-c/work/target/x86_64-unknown-freebsd/release/build/libgit2-sys-81a48db6f3b9adf8/out/include" 
>> "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" 
>> "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" 
>> "/usr/include" "-I" "/usr/include" "-fvisibility=hidden" 
>> "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" 
>> "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" 
>> "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" 
>> "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" 
>> "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" 
>> "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" 
>> "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" 
>> "/tmp/work/usr/ports/devel/cargo-c/work/target/x86_64-unknown-freebsd/release/build/libgit2-sys-81a48db6f3b9adf8/out/build/libgit2/src/util/hash/openssl.o" 
>> "-c" "libgit2/src/util/hash/openssl.c"
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>   exit status: 0
>>
>>   --- stderr
>>
>>
>>   error occurred: Command "cc" "-O2" "-ffunction-sections" 
>> "-fdata-sections" "-fPIC" "-m64" "-O2" "-pipe" 
>> "-march=skylake-avx512" "-fstack-protector-strong" 
>> "-fno-strict-aliasing" "-I" 
>> "/tmp/work/usr/ports/devel/cargo-c/work/target/x86_64-unknown-freebsd/release/build/libgit2-sys-81a48db6f3b9adf8/out/include" 
>> "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" 
>> "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" 
>> "/usr/include" "-I" "/usr/include" "-fvisibility=hidden" 
>> "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" 
>> "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" 
>> "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" 
>> "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" 
>> "-DMAX_NAME_COUNT=10000" "-DSHA1DC_NO_STANDARD_INCLUDES=1" 
>> "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" 
>> "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-o" 
>> "/tmp/work/usr/ports/devel/cargo-c/work/target/x86_64-unknown-freebsd/release/build/libgit2-sys-81a48db6f3b9adf8/out/build/libgit2/src/libgit2/transports/ssh.o" 
>> "-c" "libgit2/src/libgit2/transports/ssh.c" with args "cc" did not 
>> execute successfully (status code exit status: 1).
>>
>>
>> warning: build failed, waiting for other jobs to finish...
>> *** Error code 101
>>
>> Stop.
>> make: stopped in /usr/ports/devel/cargo-c
>
> sry I cannot reproduce it, it is building fine here:
> https://pkg.fechner.net/data/132amd64-gitlab/2023-11-13_20h16m48s/logs/cargo-c-0.9.27_2.log 
>
>
> Do you have more details?
>
> Gruß
> Matthias
>
Very weird - it build fine now on both hosts. Maybe something changed in 
Mk/*…
Or this commit fixed the issue: 
https://cgit.freebsd.org/ports/commit/devel/cargo-c?id=9519fd2f9926ff5e7b007005170cbd7b8c8056af

-- 
Best regards,
Vladimir Druzenko