Opened 4 years ago

#61034 assigned defect

py-argon2-cffi: ar: build/temp.macosx-10.13-x86_64-3.8/libargon2.a: Inappropriate file type or format

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.99
Keywords: Cc:
Port: py-argon2-cffi

Description

py38-argon2-cffi fails to destroot with the universal variant:

building 'argon2' library
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -arch i386 -isysroot/ -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/argon2.c -o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/argon2.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -arch i386 -isysroot/ -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/blake2/blake2b.c -o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/blake2/blake2b.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -arch i386 -isysroot/ -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/core.c -o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/core.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -arch i386 -isysroot/ -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/encoding.c -o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/encoding.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -arch i386 -isysroot/ -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/opt.c -o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/opt.o
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -arch i386 -isysroot/ -msse2 -Iextras/libargon2/src/../include -Iextras/libargon2/src/blake2 -c extras/libargon2/src/thread.c -o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/thread.o
ar rcs build/temp.macosx-10.13-x86_64-3.8/libargon2.a build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/argon2.o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/blake2/blake2b.o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/core.o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/encoding.o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/opt.o build/temp.macosx-10.13-x86_64-3.8/extras/libargon2/src/thread.o
ar: build/temp.macosx-10.13-x86_64-3.8/libargon2.a is a fat file (use libtool(1) or lipo(1) and ar(1) on it)
ar: build/temp.macosx-10.13-x86_64-3.8/libargon2.a: Inappropriate file type or format
error: command 'ar' failed with exit status 1

Using the muniversal portgroup could be one way to work around this problem. Another would be to modify the build process to "use libtool(1) or lipo(1) and ar(1) on" the library.

(Not sure why any compilation is occurring in the destroot phase...)

Attachments (1)

main.log (27.3 KB) - added by ryandesign (Ryan Carsten Schmidt) 4 years ago.

Download all attachments as: .zip

Change History (1)

Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added
Note: See TracTickets for help on using tickets.