Opened 2 years ago

Closed 2 years ago

#65912 closed defect (duplicate)

ffcall @2.4 +universal: fails to configure on monterey 12/6/m1

Reported by: tactical231 (Jon) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc: jonathandunfee@…, ryandesign (Ryan Carsten Schmidt)
Port: ffcall

Description (last modified by jmroot (Joshua Root))

This seems to be a repeat of ticket #64239 closed defect (fixed). Running port 2.7.2 and did a self update today (2022-09-28).

Trying to install clips, and when I get to the ffcall configure I hit:

-->  Attempting to fetch ffcall-2.4_0+universal.darwin_21.arm64-x86_64.tbz2 from https://mse.uk.packages.macports.org/ffcall
--->  Configuring ffcall
Error: Failed to configure ffcall: consult /Volumes/LaCieSilver/MacPorts/build/_Volumes_LaCieSilver_MacPorts_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ffcall/ffcall/work/libffcall-2.4/config.log
Error: Failed to configure ffcall: configure failure: command execution failed
Error: See /Volumes/LaCieSilver/MacPorts/logs/_Volumes_LaCieSilver_MacPorts_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ffcall/ffcall/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port clisp failed

Attachments (2)

ffcall_config.log (140.5 KB) - added by tactical231 (Jon) 2 years ago.
ffcall configure log from port install clips
ffcall_main.log (54.1 KB) - added by tactical231 (Jon) 2 years ago.
Main ffcall log

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by tactical231 (Jon)

Attachment: ffcall_config.log added

ffcall configure log from port install clips

Changed 2 years ago by tactical231 (Jon)

Attachment: ffcall_main.log added

Main ffcall log

comment:1 Changed 2 years ago by tactical231 (Jon)

Not sure if it helps, but here is version/settings dump from the compiler that gave the configure error:

  % echo "int main() {exit(0);}" | /opt/local/bin/clang-mp-14 -### -xc -
clang version 14.0.6
Target: arm64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /opt/local/libexec/llvm-14/bin
 "/opt/local/libexec/llvm-14/bin/clang" "-cc1" "-triple" "arm64-apple-macosx12.0.0" "-Wundef-prefix=TARGET_OS_" "-Werror=undef-prefix" "-Wdeprecated-objc-isa-usage" "-Werror=deprecated-objc-isa-usage" "-emit-obj" "-mrelax-all" "--mrelax-relocations" "-disable-free" "-clear-ast-before-backend" "-disable-llvm-verifier" "-discard-value-names" "-main-file-name" "-" "-mrelocation-model" "pic" "-pic-level" "2" "-mframe-pointer=non-leaf" "-ffp-contract=on" "-fno-rounding-math" "-funwind-tables=2" "-target-sdk-version=12.3" "-fcompatibility-qualified-id-block-type-checking" "-fvisibility-inlines-hidden-static-local-var" "-target-cpu" "apple-m1" "-target-feature" "+v8.5a" "-target-feature" "+fp-armv8" "-target-feature" "+neon" "-target-feature" "+crc" "-target-feature" "+crypto" "-target-feature" "+dotprod" "-target-feature" "+fp16fml" "-target-feature" "+ras" "-target-feature" "+lse" "-target-feature" "+rdm" "-target-feature" "+rcpc" "-target-feature" "+zcm" "-target-feature" "+zcz" "-target-feature" "+fullfp16" "-target-feature" "+sha2" "-target-feature" "+aes" "-target-abi" "darwinpcs" "-fallow-half-arguments-and-returns" "-mllvm" "-treat-scalable-fixed-error-as-warning" "-debugger-tuning=lldb" "-target-linker-version" "711" "-fcoverage-compilation-dir=/Users/dunfee" "-resource-dir" "/opt/local/libexec/llvm-14/lib/clang/14.0.6" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" "-I/usr/local/include" "-internal-isystem" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/local/include" "-internal-isystem" "/opt/local/libexec/llvm-14/lib/clang/14.0.6/include" "-internal-externc-isystem" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" "-fdebug-compilation-dir=/Users/dunfee" "-ferror-limit" "19" "-stack-protector" "1" "-fblocks" "-fencode-extended-block-signature" "-fregister-global-dtors-with-atexit" "-fgnuc-version=4.2.1" "-fmax-type-align=16" "-fcolor-diagnostics" "-D__GCC_HAVE_DWARF2_CFI_ASM=1" "-o" "/var/folders/7w/zjxnh54d0mj7lfwgh1y49kjr0000gp/T/--f5e5ce.o" "-x" "c" "-"
 "/opt/local/libexec/llvm-14/bin/ld" "-demangle" "-lto_library" "/opt/local/libexec/llvm-14/lib/libLTO.dylib" "-no_deduplicate" "-dynamic" "-arch" "arm64" "-platform_version" "macos" "12.0.0" "12.3" "-syslibroot" "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk" "-o" "a.out" "-L/usr/local/lib" "/var/folders/7w/zjxnh54d0mj7lfwgh1y49kjr0000gp/T/--f5e5ce.o" "-lSystem" "/opt/local/libexec/llvm-14/lib/clang/14.0.6/lib/darwin/libclang_rt.osx.a"
Last edited 2 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Cc: ryandesign added
Description: modified (diff)
Keywords: ffcall crisp removed
Summary: ffcall @2.4: fails to configure on monterey 12/6/m1ffcall @2.4 +universal: fails to configure on monterey 12/6/m1

The difference from #64239 is that you're building with +universal here.

comment:3 Changed 2 years ago by tactical231 (Jon)

Hi,

Didn't realize +universal was the default build for ports (clisp?) now - my original command was "sudo port install clisp".

So far the only commands I have given since installing macports are sudo port selfupdate , sudo port install qemu, sudo port install xorg-server and the clisp above. Everything has worked fine except clisp. I also reset the portdbpath to /Volumes/LaCieSilver/MacPorts in macports.conf.

Changed /opt/local/etc/variants.conf to include "-universal", did a sudo port clean --all clisp and sudo port clean --all ffcall and ran:

sudo port install clisp -universal

I still the the "+universal" build fetch and get the same error (below). Any idea on how I stop if from trying to do +universal for the port?

Thanks.

% sudo port install clisp -universal
--->  Computing dependencies for clisp
The following dependencies will be installed: 
 ffcall
 gettext
 gettext-tools-libs
 libsigsegv
 libtextstyle
Continue? [Y/n]: Y
--->  Fetching archive for ffcall
--->  Attempting to fetch ffcall-2.4_0+universal.darwin_21.arm64-x86_64.tbz2 from https://packages.macports.org/ffcall
--->  Attempting to fetch ffcall-2.4_0+universal.darwin_21.arm64-x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/ffcall
--->  Attempting to fetch ffcall-2.4_0+universal.darwin_21.arm64-x86_64.tbz2 from https://mse.uk.packages.macports.org/ffcall
--->  Fetching distfiles for ffcall
--->  Verifying checksums for ffcall
--->  Extracting ffcall
--->  Configuring ffcall
Error: Failed to configure ffcall: consult /Volumes/LaCieSilver/MacPorts/build/_Volumes_LaCieSilver_MacPorts_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ffcall/ffcall/work/libffcall-2.4/config.log
Error: Failed to configure ffcall: configure failure: command execution failed
Error: See /Volumes/LaCieSilver/MacPorts/logs/_Volumes_LaCieSilver_MacPorts_sources_rsync.macports.org_macports_release_tarballs_ports_devel_ffcall/ffcall/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port clisp failed
Last edited 2 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 2 years ago by jmroot (Joshua Root)

The clisp port sets supported_archs ppc i386 x86_64, so you'll be building it for x86_64 on your arm64 machine, which means it needs universal dependencies.

comment:5 Changed 2 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.