[MacPorts] #66084: icoutils @0.32.3_1: build failure on Ventura. archive member 'libgnu.a' with length 49080 is not mach-o or llvm bitcode file
MacPorts
noreply at macports.org
Thu Oct 27 15:23:06 UTC 2022
#66084: icoutils @0.32.3_1: build failure on Ventura. archive member 'libgnu.a'
with length 49080 is not mach-o or llvm bitcode file
---------------------+----------------------
Reporter: kencu | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: ventura | Port: icoutils
---------------------+----------------------
{{{
/usr/bin/clang -fno-common -W -Wabi -Waddress -Waggressive-loop-
optimizations -Wall -Wattributes -Wbad-function-cast -Wbool-compare
-Wbool-operation -Wbuiltin-declaration-mismatch -Wbuiltin-macro-redefined
-Wcast-align -Wchar-subscripts -Wchkp -Wclobbered -Wcomment -Wcomments
-Wcoverage-mismatch -Wcpp -Wdangling-else -Wdate-time -Wdeprecated
-Wdeprecated-declarations -Wdesignated-init -Wdisabled-optimization
-Wdiscarded-array-qualifiers -Wdiscarded-qualifiers -Wdiv-by-zero
-Wdouble-promotion -Wduplicated-branches -Wduplicated-cond -Wduplicate-
decl-specifier -Wempty-body -Wendif-labels -Wenum-compare -Wexpansion-to-
defined -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-
nonliteral -Wformat-security -Wformat-signedness -Wformat-y2k -Wformat-
zero-length -Wframe-address -Wfree-nonheap-object -Whsa -Wignored-
attributes -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration
-Wimplicit-int -Wincompatible-pointer-types -Winit-self -Winline -Wint-
conversion -Wint-in-bool-context -Wint-to-pointer-cast -Winvalid-memory-
model -Winvalid-pch -Wjump-misses-init -Wlogical-not-parentheses
-Wlogical-op -Wmain -Wmaybe-uninitialized -Wmemset-elt-size -Wmemset-
transposed-args -Wmisleading-indentation -Wmissing-braces -Wmissing-field-
initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmultichar
-Wnarrowing -Wnested-externs -Wnonnull -Wnonnull-compare -Wnull-
dereference -Wodr -Wold-style-declaration -Wold-style-definition -Wopenmp-
simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked-bitfield-
compat -Wparentheses -Wpointer-arith -Wpointer-compare -Wpointer-sign
-Wpointer-to-int-cast -Wpragmas -Wpsabi -Wrestrict -Wreturn-local-addr
-Wreturn-type -Wscalar-storage-order -Wsequence-point -Wshadow -Wshift-
count-negative -Wshift-count-overflow -Wshift-negative-value -Wsizeof-
array-argument -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-
aliasing -Wstrict-overflow -Wsuggest-attribute=noreturn -Wsuggest-final-
methods -Wsuggest-final-types -Wswitch -Wswitch-bool -Wswitch-unreachable
-Wsync-nand -Wsystem-headers -Wtautological-compare -Wtrampolines
-Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-
optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-
variable -Wunused-function -Wunused-label -Wunused-local-typedefs
-Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable
-Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvolatile-
register-var -Wwrite-strings -Walloc-size-larger-than=9223372036854775807
-Warray-bounds=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wimplicit-
fallthrough=5 -Wnormalized=nfc -Wshift-overflow=2 -Wstringop-overflow=2
-Wunused-const-variable=2 -Wvla-larger-than=4031 -Wno-unused-parameter
-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
-arch x86_64 -L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk
-arch x86_64 -o icotool create.o extract.o main.o palette.o win32-endian.o
-lpng -lz -lm ../common/libcommon.a ../lib/libgnu.a -lintl -Wl,-framework
-Wl,CoreFoundation
ld: in ../common/libcommon.a(libgnu.a), archive member 'libgnu.a' with
length 49080 is not mach-o or llvm bitcode file '../common/libcommon.a'
for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [icotool] Error 1
}}}
{{{
% file ./lib/libgnu.a
./lib/libgnu.a: current ar archive random library
% lipo -info ./lib/libgnu.a
Non-fat file: ./lib/libgnu.a is architecture: x86_64
% file ./common/libcommon.a
./common/libcommon.a: current ar archive random library
% lipo -info ./common/libcommon.a
Non-fat file: ./common/libcommon.a is architecture: x86_64
}}}
--
Ticket URL: <https://trac.macports.org/ticket/66084>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list