Architecture api is not installed ошибка

rbenv-2.6.5 is attempting to install openssl-1.1.1d and that’s where the architecture error comes, I have no direct access to the Makefile:

$ rbenv install 2.6.5
Downloading openssl-1.1.1d.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/1e3a91bc1f9dfce01af26026f856e064eab4c8ee0a8f457b5ae30b40b8b711f2
Installing openssl-1.1.1d...

BUILD FAILED (OS X 10.15.1 using ruby-build 20191124)

Inspect or clean up the working tree at /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg
Results logged to /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.log

Last 10 log lines:
In file included from include/openssl/e_os2.h:243:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:227:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types/_wchar_t.h:34:9: error: unknown type name '__darwin_wchar_t'
typedef __darwin_wchar_t wchar_t;
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[1]: *** [apps/app_rand.o] Error 1
make: *** [all] Error 2

Complete log:

$ cat /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.log /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg ~/Developer/ReactNativeApp/ios HTTP/1.1 200 OK Content-Type: binary/octet-stream Content-Length: 8845861 Connection: keep-alive Date: Tue, 26 Nov 2019 09:50:32 GMT Last-Modified: Tue, 01 Oct 2019 21:38:26 GMT ETag: "3be209000dbc7e1b95bcdf47980a3baa" Accept-Ranges: bytes Server: AmazonS3 X-Cache: Hit from cloudfront Via: 1.1 e56e6732f380db727425bac2d6158761.cloudfront.net (CloudFront) X-Amz-Cf-Pop: FRA2-C2 X-Amz-Cf-Id: Hw-jhD36n4Jk8CezqbAuFTzudNo4qopXkdH3CaxRXUHbadZgf9Z6xA== Age: 9492 /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg/openssl-1.1.1d /var/folders/8s/8mw7vg315l7dr9vyfxmv9vk80000gn/T/ruby-build.20191126132843.6027.Z0Hvfg ~/Developer/ReactNativeApp/ios Operating system: x86_64-apple-darwinDarwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; root:xnu-6153.41.3~29/RELEASE_X86_64 Configuring OpenSSL version 1.1.1d (0x1010104fL) for darwin64-x86_64-cc Using os-specific seed configuration Creating configdata.pm Creating Makefile ********************************************************************** *** *** *** OpenSSL has been successfully configured *** *** *** *** If you encounter a problem while building, please open an *** *** issue on GitHub <https://github.com/openssl/openssl/issues> *** *** and include the output from the following command: *** *** *** *** perl configdata.pm --dump *** *** *** *** (If you are new to OpenSSL, you might want to consult the *** *** 'Troubleshooting' section in the INSTALL file first) *** *** *** ********************************************************************** WARNING! If you wish to build 32-bit libraries, then you have to invoke 'KERNEL_BITS=32 ./config '--prefix=/Users/User/.rbenv/versions/2.6.5/openssl' '--openssldir=/Users/User/.rbenv/versions/2.6.5/openssl/ssl' 'zlib-dynamic' 'no-ssl3' 'shared''. /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" crypto/include/internal/bn_conf.h.in > crypto/include/internal/bn_conf.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" crypto/include/internal/dso_conf.h.in > crypto/include/internal/dso_conf.h /usr/bin/perl "-I." -Mconfigdata "util/dofile.pl" "-oMakefile" include/openssl/opensslconf.h.in > include/openssl/opensslconf.h make depend && make _all clang -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR=""/Users/User/.rbenv/versions/2.6.5/openssl/ssl"" -DENGINESDIR=""/Users/User/.rbenv/versions/2.6.5/openssl/lib/engines-1.1"" -D_REENTRANT -DZLIB -DZLIB_SHARED -DNDEBUG -I/Users/User/.rbenv/versions/2.6.5/include -MMD -MF apps/app_rand.d.tmp -MT apps/app_rand.o -c -o apps/app_rand.o apps/app_rand.c In file included from apps/app_rand.c:10: In file included from apps/apps.h:13: In file included from ./e_os.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/limits.h:37: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/limits.h:63: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture #error Unsupported architecture ^ In file included from apps/app_rand.c:10: In file included from apps/apps.h:13: In file included from ./e_os.h:13: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/limits.h:37: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/limits.h:64: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/machine/limits.h:8:2: error: architecture not supported #error architecture not supported ^ In file included from apps/app_rand.c:10: In file included from apps/apps.h:13: In file included from ./e_os.h:16: In file included from include/openssl/e_os2.h:243: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:226: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/_types.h:27: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:33: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported #error architecture not supported ^ In file included from apps/app_rand.c:10: In file included from apps/apps.h:13: In file included from ./e_os.h:16: In file included from include/openssl/e_os2.h:243: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:226: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/_types.h:27: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'; did you mean '__int128_t'? typedef __int64_t __darwin_blkcnt_t; /* total blocks */ ^ note: '__int128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'? typedef __int32_t __darwin_blksize_t; /* preferred block size */ ^ note: '__int128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'? typedef __int32_t __darwin_dev_t; /* dev_t */ ^ note: '__int128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'? typedef __uint32_t __darwin_gid_t; /* [???] process and group IDs */ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'? typedef __uint32_t __darwin_id_t; /* [XSI] pid_t, uid_t, or gid_t*/ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'; did you mean '__uint128_t'? typedef __uint64_t __darwin_ino64_t; /* [???] Used for 64 bit inodes */ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t' typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */ ^ /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'? typedef __uint16_t __darwin_mode_t; /* [???] Some file attributes */ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'; did you mean '__int128_t'? typedef __int64_t __darwin_off_t; /* [???] Used for file sizes */ ^ note: '__int128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'? typedef __int32_t __darwin_pid_t; /* [???] process and group IDs */ ^ note: '__int128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'? typedef __uint32_t __darwin_sigset_t; /* [???] signal set */ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'? typedef __int32_t __darwin_suseconds_t; /* [???] microseconds */ ^ note: '__int128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'? typedef __uint32_t __darwin_uid_t; /* [???] user IDs */ ^ note: '__uint128_t' declared here /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'? typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */ ^ note: '__uint128_t' declared here In file included from apps/app_rand.c:10: In file included from apps/apps.h:13: In file included from ./e_os.h:16: In file included from include/openssl/e_os2.h:243: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:226: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'? typedef __uint32_t __darwin_wctype_t; ^ note: '__uint128_t' declared here In file included from apps/app_rand.c:10: In file included from apps/apps.h:13: In file included from ./e_os.h:16: In file included from include/openssl/e_os2.h:243: In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include/inttypes.h:30: In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/inttypes.h:227: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/include/sys/_types/_wchar_t.h:34:9: error: unknown type name '__darwin_wchar_t' typedef __darwin_wchar_t wchar_t; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[1]: *** [apps/app_rand.o] Error 1 make: *** [all] Error 2 

@Aessar

MultiMc fails to launch the game with «Architectury API (Fabric)» installed (using the newest version availabal for 1.16.5, log below.
Any help on whats going on here on how to fix «this»? Im not very knowledgeable on this topic. Since the issue only happens with Architectury installed I assume that its the cause.

[22:55:59] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.2 Source=file:/E:/mmc-stable-win32/MultiMC/libraries/org/spongepowered/mixin/0.8.2/mixin-0.8.2.jar Service=Knot/Fabric Env=CLIENT
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-networking-blockentity-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-rendering-data-attachment-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-indigo.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-events-interaction-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-loot-tables-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-registries-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-blockrenderlayer-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-api-v1.debughud.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-containers-v0.accurate.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-rendering-fluids-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config stepheightentityattribute.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-resource-loader-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-game-rule-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-object-builders-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-tag-extensions-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-rendering-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-transfer-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-item-groups-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-command-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-crash-report-info-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-entity-events-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-renderer-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-screen-handler-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-lifecycle-events-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-containers-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-structure-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-item-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-object-builder-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config mixins.terraform-boats.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-screen-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-dimensions-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-textures-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-registry-sync-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-models-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-biome-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-networking-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-particles-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config mixins.terraform-leaves.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-tool-attribute-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-content-registries-v0.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-api-lookup-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config trinkets.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config fabric-key-binding-api-v1.mixins.json does not specify «minVersion» property
[22:56:00] [main/ERROR] [mixin/]: Mixin config mixins.terraform-signs.json does not specify «minVersion» property
Failed to start Minecraft:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196)
at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231)
at org.multimc.EntryPoint.listen(EntryPoint.java:143)
at org.multimc.EntryPoint.main(EntryPoint.java:34)
Caused by: java.lang.SecurityException: class «org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy»‘s signer information does not match signer information of other classes in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at net.fabricmc.loader.launch.knot.KnotClassDelegate.initializeTransformers(KnotClassDelegate.java:77)
at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:141)
at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:28)
… 8 more

@Juuxel

Caused by: java.lang.SecurityException: class «org.spongepowered.asm.mixin.transformer.FabricMixinTransformerProxy»‘s signer information does not match signer information of other classes in the same package

This error is really suspicious, as well as the fact that it’s seemingly using upstream mixin instead of Fabric’s. @shedaniel do you have any idea what’s causing this?

@shedaniel

No idea, we might want @Aessar to export their MultiMC instance to us, quite interesting that it only crashes with architectury installed? Architectury couldn’t be forcing upstream mixin possibly?

@Aessar

Do you want me to do that? Your gonna have to explain me how to tho.

@shedaniel

You can select an instance, right click, and click Export Instance, basically tick all folders, and send that exported zip somewhere like google drive. It would help a lot :p

@Aessar

@LunaVid6231

It happens exactly the same to me, the game fails to launch

@RashbaNor

Well, unfortunately I have the exact same problem.

@Kitt3yL0v3r66

Just curious but is this the same Mixin error?
[Info: 2022-03-06 18:07:29.0708041: GameCallbacks.cpp(177)] Game/FabricLoader/Metadata (main) Warn Mod soaringstructures2 (1.18 — 2.1) does not respect SemVer — comparison support is limited.
[Info: 2022-03-06 18:07:29.2936697: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Info SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/kitt3/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.11.2+mixin.0.8.5/sponge-mixin-0.11.2+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[Info: 2022-03-06 18:07:29.3705382: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Info Compatibility level set to JAVA_16
[Info: 2022-03-06 18:07:29.3787809: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Info Compatibility level set to JAVA_17
[Info: 2022-03-06 18:07:29.5605004: GameCallbacks.cpp(177)] Game/Lithium (main) Info Loaded configuration file for Lithium: 102 options available, 0 override(s) found
[Info: 2022-03-06 18:07:29.6253076: GameCallbacks.cpp(177)] Game/Sodium (main) Info Loaded configuration file for Sodium: 29 options available, 1 override(s) found
[Info: 2022-03-06 18:07:30.0228439: GameCallbacks.cpp(177)] Game/Effective (main) Info Sodium found. Applying compatibility mixin…
[Info: 2022-03-06 18:07:30.1154692: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Warn Error loading class: net/minecraft/class_6861 (java.lang.ClassNotFoundException: net/minecraft/class_6861)
[Info: 2022-03-06 18:07:30.1162186: GameCallbacks.cpp(177)] Game/FabricLoader/Mixin (main) Warn @mixin target net.minecraft.class_6861 was not found fabric-resource-loader-v0.mixins.json:LifecycledResourceManagerImplMixin
[Info: 2022-03-06 18:07:30.4444236: GameCallbacks.cpp(177)] Game/Sodium (main) Warn Force-disabling mixin ‘features.sky.MixinWorldRenderer’ as rule ‘mixin.features.sky’ (added by mods [iris]) disables it and children
[Info: 2022-03-06 18:07:30.6891276: GameCallbacks.cpp(177)] Game/Sodium (main) Info Trying to switch memory allocators to work around memory leaks present with Jemalloc 5.0.0 through 5.2.0 on Windows
[Info: 2022-03-06 18:07:30.8215419: GameCallbacks.cpp(177)] Game/FabricLoader (main) Error Minecraft has crashed!
net.fabricmc.loader.impl.FormattedException: java.lang.NoSuchMethodError: ‘com.mojang.bridge.game.GameVersion net.minecraft.class_3797.method_16672()’
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:418)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:77)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NoSuchMethodError: ‘com.mojang.bridge.game.GameVersion net.minecraft.class_3797.method_16672()’
at fudge.notenoughcrashes.fabric.StacktraceDeobfuscator.(StacktraceDeobfuscator.java:29)
at net.minecraft.client.main.Main.handler$cli000$asSoonAsPossible(Main.java:517)
at net.minecraft.client.main.Main.main(Main.java)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:416)
… 2 more

@Juuxel

@Kitt3yL0v3r66 No, this is a different issue that is unrelated to architectury (seems to be notenoughcrashes crashing when deobfuscating another crash, ironically enough)

@Kitt3yL0v3r66

That is actually kinda funny, I seem to be getting a crash even with it removed, really bugging me sense the mods I had were working fine a while ago

@MaxNeedsSnacks

This is unfortunately one of those very difficult to reproduce issues, so I’m just asking out of curiosity: @Aessar does this issue still happen to you when trying to launch packs with Architectury (either this original instance or some other pack using it that you’ve played more recently)? Since this issue attracts a fair bit of unrelated traffic, I’ll probably have to close this either way, but I at least would like to know whether by some miracle, this issue fixed itself :p

@b0b1126

also crashing on start

Uncaught exception in thread «main»
java.lang.RuntimeException: Failed to obtain root directory for mod ‘roughlyenoughitems-default-plugin’!
at net.fabricmc.loader.impl.ModContainerImpl.obtainRootPaths(ModContainerImpl.java:148)
at net.fabricmc.loader.impl.ModContainerImpl.getRootPaths(ModContainerImpl.java:100)
at net.fabricmc.loader.api.ModContainer.findPath(ModContainer.java:62)
at net.fabricmc.loader.impl.FabricLoaderImpl.loadAccessWideners(FabricLoaderImpl.java:481)
at net.fabricmc.loader.impl.launch.knot.Knot.init(Knot.java:145)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:71)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.io.IOException: Error accessing file:///C:/Users/dda11/AppData/Roaming/.minecraft/.fabric/processedMods/roughlyenoughitems-default-plugin-5.12.385-6a449b1be23b29f1.jar: java.util.zip.ZipError: zip END header not found
at net.fabricmc.loader.impl.util.FileSystemUtil.getJarFileSystem(FileSystemUtil.java:83)
at net.fabricmc.loader.impl.util.FileSystemUtil.getJarFileSystem(FileSystemUtil.java:59)
at net.fabricmc.loader.impl.ModContainerImpl.obtainRootPath(ModContainerImpl.java:156)
at net.fabricmc.loader.impl.ModContainerImpl.obtainRootPaths(ModContainerImpl.java:137)
… 6 more
Caused by: java.util.zip.ZipError: zip END header not found
at com.sun.nio.zipfs.ZipFileSystem.zerror(ZipFileSystem.java:1605)
at com.sun.nio.zipfs.ZipFileSystem.findEND(ZipFileSystem.java:1021)
at com.sun.nio.zipfs.ZipFileSystem.initCEN(ZipFileSystem.java:1030)
at com.sun.nio.zipfs.ZipFileSystem.(ZipFileSystem.java:130)
at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:326)
at java.nio.file.FileSystems.newFileSystem(FileSystems.java:276)
at net.fabricmc.loader.impl.util.FileSystemUtil.getJarFileSystem(FileSystemUtil.java:78)
… 9 more

@MaxNeedsSnacks

Since the original issue has since been hijacked by a bunch of unrelated reports and we can’t seem to reproduce this reliably, I’m gonna be closing this for now

Полное сообщение об ошибке:
Installation did not succeed.
The application could not be installed: INSTALL_FAILED_OLDER_SDK
The application’s minSdkVersion is newer than the device API level.


означает, что версия SDK устройства, которое я использую, ниже, чем требуемая версия SDK.

Решение:
Найдите расположение проекта
Расположение проекта app build.gradle
Обратите внимание, что он находится в папке приложения, а не в хорошо известной (в папке gradle).

Измените содержимое внутри minSdkVersion
Диапазон настройки minSdkVersion — 14–16,
И я протестировал targetSdkVersion от 1 до 10000 без каких-либо проблем, но все же не рекомендуется изменять его случайным образом.
различается в зависимости от настроек компьютера, не спрашивайте, как я получил этот диапазон, я сам пробовал это долгое время

Конкретный номер версии выглядит следующим образом

android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 15
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Версия gradle — последняя 3.6.0

Hello World
На этот раз процесс установки программного обеспечения напоминает мне об использовании очень низкой версии и не может автоматически обновляться до последней версии. Это может быть вызвано только установкой библиотеки tesorflow, которая не подходит для python версии 3.7 из pip на официальном сайте.Я переустановил две версии python, даже 2.0, но версии 3.6 нет, и, наконец, нашел способ установить библиотеку pycharm

  • Remove From My Forums
  • Question

  • I’m trying to set up Xamarin Platform in my Visual Studio Community 2015. I tried to change the Visual Studio installation and active the Xamarin platform but now it says: ‘Setup Completed. However not all features installed correctly.’

    Android SDK Setup (API Level 19 and 21) : The following package(s) were not downloaded: platform-tools extra-android-support extra-android-m2repository build-tools-19.1.0 build-tools-21.1.2 android-19 android-21 sys-img-armeabi-v7a-android-19 sys-img-x86-android-19
    addon-google_apis_x86-google-19 addon-google_apis-google-19 . Please check your internet connection and try again.

    Android SDK Setup (API Level 23) : The following package(s) were not downloaded: build-tools-23.0.1 android-23 . Please check your internet connection and try again.

    Android SDK Setup (API Level 22) : The following package(s) were not downloaded: build-tools-22.0.1 android-22 . Please check your internet connection and try again.

    But my internet connection is fine…

MAGIX.info

The magix.info Community – Find help here

philip-m


wrote on 5/15/2018, 7:20 AM

Spectral Layers wont play. Device error shows — API was not installed. How do I solve this?

Comments

Can you give more details ? (SpectraLayers exact version, your Windows version, you can also send me the logs files located in Documents/SpectraLayers Pro logs to contact [at] divideframe.com so I get all the details). You can also provide a screenshot of the Device preferences (Edit/Preferences/Device).

Thanks

I’m having a similar error with «API was not initialized.» Please help. The software looks awesome and worth purchase, but if I can’t even get the trial to work… I’ve only got so many days on this trial and want it to work!

Can you give more details ? (SpectraLayers exact version, your Windows version, you can also send me the logs files located in Documents/SpectraLayers Pro logs to contact [at] divideframe.com so I get all the details). You can also provide a screenshot of the Device preferences (Edit/Preferences/Device).

Thanks

Hi, I just had a look at the log files, you were supposed to see another warning message before this one, saying
«Open Error: input device sample rate (96000Hz) doesn’t match output device sample rate (192000Hz)».
Can you confirm you see this warning ? It shows up when you open a file or start a new project.

It means you have to set the same sample rate for the input device and output device. To do so, right-click the Windows volume control (the little speaker icon at the bottom right of your screen), then click «Recording devices», click your default input device (in your case, «Internal Microphone») then click Properties, Advanced, and set it to the same sample rate as your output device (here, 192000Hz).

Or do the opposite, set the output device (in your case «Speakers») to 96000Hz.

That should solve the issue :-)

It worked! Thanks!

I followed your instructions, put both input and output to the same frequency, went into preferences in SLP and reset the device page and it works. Thanks again!

Report as questionable

Dialog


Реализована функция обновления в приложении с использованием следующего фрагмента кода:

private void showInAppUpdateDialog(boolean isMandatoryUpdate) {
Task<AppUpdateInfo> appUpdateInfoTask = appUpdateManager.getAppUpdateInfo();
appUpdateInfoTask.addOnSuccessListener(appUpdateInfo -> {
if (appUpdateInfo.updateAvailability() == UpdateAvailability.UPDATE_AVAILABLE
|| appUpdateInfo.updateAvailability() == UpdateAvailability.DEVELOPER_TRIGGERED_UPDATE_IN_PROGRESS) {
int appUpdateType = isMandatoryUpdate ? IMMEDIATE : AppUpdateType.FLEXIBLE;
int requestCode = isMandatoryUpdate ? REQUEST_APP_UPDATE_IMMEDIATE : REQUEST_APP_UPDATE_FLEXIBLE;
if (appUpdateInfo.isUpdateTypeAllowed(appUpdateType)) {
// start the app update
try {
appUpdateManager.startUpdateFlowForResult(appUpdateInfo, appUpdateType, targetActivity, requestCode);
} catch (IntentSender.SendIntentException e) {
e.printStackTrace();
}
}
}
}).addOnFailureListener(e -> {
e.printStackTrace();
});
}

Я тестирую обновление в приложении на устройстве с Android 9. Тем не менее оно выдает сообщение об ошибке (ERROR_API_NOT_AVAILABLE):

com.google.android.play.core.install.InstallException: Install Error(-3): The API is not available on this device. (https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_API_NOT_AVAILABLE)
at com.google.android.play.core.appupdate.i.a(Unknown Source:24)
at com.google.android.play.core.internal.o.a(Unknown Source:13)
at com.google.android.play.core.internal.j.onTransact(Unknown Source:22)
at android.os.Binder.execTransact(Binder.java:731)

Говорят, что проверьте следующую ссылку:
https://developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_API_NOT_AVAILABLE )

Использование версии библиотеки ядра Play: 1.6.5

Последняя версия базовой библиотеки:

implementation 'com.google.android.play:core:1.7.0'

Тем не менее, я не могу понять, почему он говорит, что ERROR_API_NOT_AVAILABLE. Любая помощь будет оценена!






Ответы:


Во-первых , пожалуйста, убедитесь, что вы используете последнюю версию библиотеки воспроизведения.

Во-вторых , недооцененный факт: проверьте, что приложение, которое вы тестируете, имеет такое же имя пакета, которое доступно в магазине игр.

Пример:

В магазине Play есть приложение с именем пакета, com.example.appно вы тестируете приложение с именем пакета com.example.app.debug. Вы получите эту ошибку: ERROR_API_NOT_AVAILABLE

Примечание. Во время тестирования в магазине игр должна быть хотя бы одна версия приложения.






Мое приложение работало нормально до сегодняшнего дня, но я начал получать эту ошибку сегодня. Один из временных способов — очистить кэш и хранилище Google Play Store, а затем попытаться запустить приложение. Для меня это работает только в первый раз, но потом не получается. Перед повторным запуском приложения я должен очистить кеш и хранилище снова. Я думаю, что в Google Play Store что-то не так, из-за чего эта проблема происходит, потому что до сегодняшнего дня у меня все было хорошо.


Вдобавок к тому, что предложил Vipal, проблема может быть связана с несоответствием подписи между версией, которую вы установили на устройстве, и той, которую поставляет Play Store (это распространенная проблема, если вы пытаетесь протестировать ее с отладочными сборками). См. Https://developer.android.com/guide/playcore/in-app-updates#troubleshoot.

Недавно API Play Core начал возвращать API_NOT_AVAILABLEошибку, если приложение не принадлежит пользователю или несоответствие подписей, в то время как раньше оно использовалось для возврата успешного UPDATE_NOT_AVAILABLEзадания.

Рекомендация:

  • если вы используете расширение Kotlin, убедитесь, что вы перехватываете исключение, выдаваемое requestAppUpdateInfo
  • если вы используете PlayCore Java, убедитесь, что у вас есть, onFailureListenerкоторый обрабатывает сбои изgetAppUpdateInfo
  • для тестирования отладочной сборки вы можете использовать Internal App Sharing, как описано здесь: https://developer.android.com/guide/playcore/in-app-updates#internal-app-sharing

Источник: я работаю в команде Play Core



Временный обходной путь на данный момент заключается в том, OnCompleteListenerчтобы:

try {...} catch(e: RuntimeExecutionException) {...}

Просто чтобы избежать необходимости очищать кэш PlayStore каждый раз, когда я перезапускаю приложение



После долгого времени отладки. Я обнаружил, что это из-за того, что мы тестируем приложение прямо в мобильном телефоне. Даже если мы создаем и используем подписанный apk, эта ошибка произойдет. Единственный способ избавиться от этой ошибки — загрузить приложение из Google Play.

Мы можем использовать внутренний обмен приложениями для тестирования или просто опубликовать наше приложение.

Я создал базовый Rest API с помощью ASP.NET Core 5, который я хочу запустить с помощью докера. Приложение отлично работает в IIS Express.

Я также хочу создать контейнер докеров для запуска приложения.

В папке проекта я создал папку Docker с несколькими файлами.
Вот мой файл App.dockerfile:

FROM mcr.microsoft.com/dotnet/aspnet:5.0
ARG WEBAPP_VERSION=0.0.1
LABEL maintainer=anymail@email_server.com 
Name=webapp 
Version=${WEBAPP_VERSION}
ARG URL_PORT
WORKDIR /app
ENV NUGET_XMLDOC_MODE skip
ENV ASPNETCORE_URLS http://*:${URL_PORT}
ENTRYPOINT [ "dotnet", "WebApplication.dll" ]

Еще у меня есть файл Build.docker:

FROM mcr.microsoft.com/dotnet/aspnet:5.0
## Can be Debug or Release.
ARG BUILD_CONFIG=Debug
ARG BUILDER_VERSION=0.0.1
LABEL maintainer=some_email@email_server.com 
Name=webapp-build-${BUILD_CONFIG} 
Version=${BUILDER_VERSION}
## Will be the path mapped to the external volume.
ARG BUILD_LOCATION=/app/out
ENV NUGET_XMLDOC_MODE skip
WORKDIR /app
COPY *.csproj .
RUN dotnet restore
COPY . /app
RUN dotnet publish --output ${BUILD_LOCATION} --configuration ${BUILD_CONFIG}

Наконец-то у меня есть docker-compose.yml

version: '3'
services:
webapp:
container_name: webapp.test
image: webapp:${WEBAPP_VERSION}
build:
context: ../
dockerfile: ./Docker/App.dockerfile
args:
WEBAPP_VERSION: ${WEBAPP_VERSION}
URL_PORT: ${URL_PORT}
ports:
- "5000:${URL_PORT}"
volumes:
- appbuild:/app
links:
- mysql
environment:
MYSQL_SERVER_NAME: ${MYSQL_SERVER_NAME}
env_file:
- secrets.env
depends_on:
- builder
builder:
container_name: builder
image: webapp:${BUILDER_VERSION}.${BUILD_CONFIG}
build:
context: ../
dockerfile: ./Docker/Build.dockerfile
args:
BUILDER_VERSION: ${BUILDER_VERSION}
BUILD_CONFIG: ${BUILD_CONFIG}
BUILD_LOCATION: ${BUILD_LOCATION}
volumes:
- appbuild:${BUILD_LOCATION}
mysql:
container_name: ${MYSQL_SERVER_NAME}
image: mysql/mysql-server:8.0.23
restart: always
volumes:
- dbvol:/var/lib/mysql
environment:
MYSQL_RANDOM_ROOT_PASSWORD: root
env_file:
- secrets.env
volumes:
appbuild:
dbvol:

Наконец, я запускаю следующую командную строку:

docker build -f Docker/App.dockerfile -t webapp:Debug --build-arg URL_PORT=7909 .

Процесс довольно быстрый.
Я также запускаю эту командную строку:

docker run --name webapp.test -p 5000:7909 -it webapp:Debug

К сожалению, я получаю сообщение об ошибке.

Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
* You intended to execute a .NET program:
The application 'WebApplication.dll' does not exist.
* You intended to execute a .NET SDK command:
It was not possible to find any installed .NET SDKs.
Install a .NET SDK from:
https://aka.ms/dotnet-download


Go to fabricmc


r/fabricmc


r/fabricmc

The unofficial home of Fabric on Reddit




Members





Online



by

just_a_llama_



Problem with Architectury API

I’m trying to make a modpack for 1.18.2 and I can’t open Minecraft, there is a screen that tells me «Architectury API is not installed» and then gives me a link to it’s CurseForge page. I already have Architectury API installed, but it keeps giving me this message. Is this a known bug or should I go through my mods and remove the ones dependent on it?

Hello I am trying to install detectron2 on macOS,
Steps I took in order to install:

  1. git clone https://github.com/facebookresearch/detectron2.git

  2. cd detectron2

  3. CC=clang CXX=clang++ python -m pip install e .

  4. Full logs observed:

  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  error: command 'clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for detectron2
  Running setup.py clean for detectron2
  Building wheel for pycocotools (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/setup.py'"'"'; __file__='"'"'/private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-wheel-4tc42dx0
       cwd: /private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/
  Complete output (109 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.14.6-x86_64-3.8
  creating build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
  copying pycocotools/coco.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
  copying pycocotools/mask.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
  copying pycocotools/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
  copying pycocotools/cocoeval.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
  running build_ext
  cythoning pycocotools/_mask.pyx to pycocotools/_mask.c
  /Users/Isaac/Library/Python/3.8/lib/python/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/pycocotools/_mask.pyx
    tree = Parsing.p_module(s, pxd, full_module_name)
  building 'pycocotools._mask' extension
  creating build/temp.macosx-10.14.6-x86_64-3.8
  creating build/temp.macosx-10.14.6-x86_64-3.8/common
  creating build/temp.macosx-10.14.6-x86_64-3.8/pycocotools
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -I/Users/Isaac/Library/Python/3.8/lib/python/site-packages/numpy/core/include -I./common -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c ./common/maskApi.c -o build/temp.macosx-10.14.6-x86_64-3.8/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
  In file included from ./common/maskApi.c:8:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:30:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
  #error Unsupported architecture
   ^
  In file included from ./common/maskApi.c:9:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:64:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
  #error architecture not supported
   ^
  In file included from ./common/maskApi.c:9:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:64:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
  typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
          ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
  typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
          ^
  note: '__int128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
  typedef __int32_t       __darwin_dev_t;         /* dev_t */
          ^
  note: '__int128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
  typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
          ^
  note: '__uint128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
  typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
          ^
  note: '__uint128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
  typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
          ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
  typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
          ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
  typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
          ^
  note: '__uint128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
  typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
          ^
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
  typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
          ^
  note: '__int128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
  typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
          ^
  note: '__uint128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
  typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
          ^
  note: '__int128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
  typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
          ^
  note: '__uint128_t' declared here
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
  typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
          ^
  note: '__uint128_t' declared here
  In file included from ./common/maskApi.c:9:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:64:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
  typedef __uint32_t      __darwin_wctype_t;
          ^
  note: '__uint128_t' declared here
  In file included from ./common/maskApi.c:9:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:66:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:109:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:82:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/signal.h:34:2: error: architecture not supported
  #error architecture not supported
   ^
  In file included from ./common/maskApi.c:9:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:66:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:109:
  In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:146:
  /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_mcontext.h:31:2: error: architecture not supported
  #error architecture not supported
   ^
  fatal error: too many errors emitted, stopping now [-ferror-limit=]
  20 errors generated.
  error: command 'clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for pycocotools
  Running setup.py clean for pycocotools
Failed to build detectron2 pycocotools
Installing collected packages: pycocotools, pydot, detectron2
    Running setup.py install for pycocotools ... error
    ERROR: Command errored out with exit status 1:
     command: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/setup.py'"'"'; __file__='"'"'/private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-record-d4xsfmgl/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/Isaac/Library/Python/3.8/include/python3.8/pycocotools
         cwd: /private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/
    Complete output (107 lines):
    running install
    running build
    running build_py
    creating build
    creating build/lib.macosx-10.14.6-x86_64-3.8
    creating build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
    copying pycocotools/coco.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
    copying pycocotools/mask.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
    copying pycocotools/__init__.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
    copying pycocotools/cocoeval.py -> build/lib.macosx-10.14.6-x86_64-3.8/pycocotools
    running build_ext
    skipping 'pycocotools/_mask.c' Cython extension (up-to-date)
    building 'pycocotools._mask' extension
    creating build/temp.macosx-10.14.6-x86_64-3.8
    creating build/temp.macosx-10.14.6-x86_64-3.8/common
    creating build/temp.macosx-10.14.6-x86_64-3.8/pycocotools
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -iwithsysroot/System/Library/Frameworks/System.framework/PrivateHeaders -iwithsysroot/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/Headers -arch arm64 -arch x86_64 -I/Users/Isaac/Library/Python/3.8/lib/python/site-packages/numpy/core/include -I./common -I/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8 -c ./common/maskApi.c -o build/temp.macosx-10.14.6-x86_64-3.8/./common/maskApi.o -Wno-cpp -Wno-unused-function -std=c99
    In file included from ./common/maskApi.c:8:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:30:
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/cdefs.h:807:2: error: Unsupported architecture
    #error Unsupported architecture
     ^
    In file included from ./common/maskApi.c:9:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:64:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:33:
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_types.h:34:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from ./common/maskApi.c:9:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:64:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:27:
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:55:9: error: unknown type name '__int64_t'
    typedef __int64_t       __darwin_blkcnt_t;      /* total blocks */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:56:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_blksize_t;     /* preferred block size */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:57:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_dev_t;         /* dev_t */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:60:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_gid_t;         /* [???] process and group IDs */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:61:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_id_t;          /* [XSI] pid_t, uid_t, or gid_t*/
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:62:9: error: unknown type name '__uint64_t'
    typedef __uint64_t      __darwin_ino64_t;       /* [???] Used for 64 bit inodes */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:68:9: error: unknown type name '__darwin_natural_t'
    typedef __darwin_natural_t __darwin_mach_port_name_t; /* Used by mach */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:70:9: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
    typedef __uint16_t      __darwin_mode_t;        /* [???] Some file attributes */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:71:9: error: unknown type name '__int64_t'
    typedef __int64_t       __darwin_off_t;         /* [???] Used for file sizes */
            ^
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:72:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_pid_t;         /* [???] process and group IDs */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:73:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_sigset_t;      /* [???] signal set */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:74:9: error: unknown type name '__int32_t'; did you mean '__int128_t'?
    typedef __int32_t       __darwin_suseconds_t;   /* [???] microseconds */
            ^
    note: '__int128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:75:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_uid_t;         /* [???] user IDs */
            ^
    note: '__uint128_t' declared here
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_useconds_t;    /* [???] microseconds */
            ^
    note: '__uint128_t' declared here
    In file included from ./common/maskApi.c:9:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:64:
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
    typedef __uint32_t      __darwin_wctype_t;
            ^
    note: '__uint128_t' declared here
    In file included from ./common/maskApi.c:9:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:66:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:109:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:82:
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/signal.h:34:2: error: architecture not supported
    #error architecture not supported
     ^
    In file included from ./common/maskApi.c:9:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdlib.h:66:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/wait.h:109:
    In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/signal.h:146:
    /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/_mcontext.h:31:2: error: architecture not supported
    #error architecture not supported
     ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    error: command 'clang' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Library/Developer/CommandLineTools/usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/setup.py'"'"'; __file__='"'"'/private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-install-lk0mg_4n/pycocotools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'rn'"'"', '"'"'n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/jv/kr7cwggn2530jr81_rh1rjnr0000gn/T/pip-record-d4xsfmgl/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/Isaac/Library/Python/3.8/include/python3.8/pycocotools Check the logs for full command output.

Environment:

Provide your environment information using the following command:

wget -nc -q https://github.com/facebookresearch/detectron2/raw/master/detectron2/utils/collect_env.py && python collect_env.py

---------------------  ---------------------------------------------------------------------------
sys.platform           darwin
Python                 3.8.2 (default, Oct  2 2020, 10:45:42) [Clang 12.0.0 (clang-1200.0.32.27)]
numpy                  1.18.5
detectron2             0.3 @/Users/Isaac/Desktop/detectron2/detectron2
detectron2._C          not built correctly: No module named 'detectron2._C'
Compiler               Apple clang version 12.0.0 (clang-1200.0.32.27)
DETECTRON2_ENV_MODULE  <not set>
PyTorch                1.7.0 @/Users/Isaac/Library/Python/3.8/lib/python/site-packages/torch
PyTorch debug build    True
GPU available          False
Pillow                 8.0.1
torchvision            0.8.1 @/Users/Isaac/Library/Python/3.8/lib/python/site-packages/torchvision
fvcore                 0.1.2.post20201111
cv2                    4.4.0
---------------------  ---------------------------------------------------------------------------
PyTorch built with:
  - GCC 4.2
  - C++ Version: 201402
  - clang 11.0.0
  - Intel(R) Math Kernel Library Version 2020.0.1 Product Build 20200208 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v1.6.0 (Git Hash 5ef631a030a6f73131c77892041042805a06064f)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - Build settings: BLAS=MKL, BUILD_TYPE=Release, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -Wno-deprecated-declarations -DUSE_PTHREADPOOL -DNDEBUG -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VULKAN_WRAPPER -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-private-field -Wno-inconsistent-missing-override -Wno-aligned-allocation-unavailable -Wno-c++14-extensions -Wno-constexpr-not-const -Wno-missing-braces -Qunused-arguments -fcolor-diagnostics -fno-math-errno -fno-trapping-math -Werror=format -Wno-unused-private-field -Wno-missing-braces -Wno-c++14-extensions -Wno-constexpr-not-const, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, USE_CUDA=OFF, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=OFF, USE_NNPACK=ON, USE_OPENMP=OFF, 



bash-3.2$ sudo easy_install appscript  
Password:  
Searching for appscript  
Reading http://pypi.python.org/simple/appscript/  
Reading http://appscript.sourceforge.net  
Best match: appscript 1.0.0  
Downloading http://pypi.python.org/packages/source/a/appscript/appscript-1.0.0.tar.gz#md5=6619b637037ea0f391f45870c13ae38a  
Processing appscript-1.0.0.tar.gz  
Running appscript-1.0.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-C4d1az/appscript-1.0.0/egg-dist-tmp-yVTHww  
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed  
Installed assemblers are:  
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64  
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386  

I’m a pretty big noob at this stuff (I’ve learned to use python and unix a bit, but I’ve never had to deal with installation.) Earlier I was getting an error related to gcc-4.2 not being found, and I found some posts that recommended reinstalling XCode. I went with 4.0 (bad choice?) and now I get this. I’ve got no idea what to do at this point.

Joe Shaw's user avatar

Joe Shaw

22k16 gold badges69 silver badges92 bronze badges

asked Mar 10, 2011 at 6:47

Tom's user avatar

4

This happened for me after having upgraded to XCode 4; I haven’t had time to figure out what went wrong during the upgrade (or whether this is the intended behaviour), but the following workaround works for me:

sudo env ARCHFLAGS="-arch i386" easy_install whatever

The ARCHFLAGS trick works with setup.py as well:

env ARCHFLAGS="-arch i386 -arch x86_64" python setup.py install

answered Mar 12, 2011 at 15:45

Tamás's user avatar

TamásTamás

47.1k12 gold badges104 silver badges124 bronze badges

7

I found another solution here which solves the problem once and for all. It turns out XCode4 still has the ppc assembler. You just need a symlink to it in the right place:

$ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc/darwin/ppc /Developer/usr/libexec/gcc/darwin
$ sudo ln -s /Developer/Platforms/iPhoneOS.platform/Developer/usr/libexec/gcc/darwin/ppc /usr/libexec/gcc/darwin

Fixed the problem for me with XCode4 installed on Snow Leopard.

EDIT: I tried other solutions, which worked in some cases, but invariably encountered a package that hardcoded the PPC requirement somewhere. Providing the PPC assembler got rid of all these problems once and for all.

answered Jun 11, 2011 at 10:33

Aneil Mallavarapu's user avatar

1

For me, the key was the ppc assembler, not the ARCHFLAGS stuff. But, the suggestion above didn’t work; I didn’t have the files in those locations. But with some tinkering and poking around, I found that I did have the ppc assember at /usr/bin/as. I first tried sudo ln -s /usr/bin/as /usr/libexec/as/ppc/as, but that failed (something about could not fork process…??). So I ended up just doing sudo cp /usr/bin/as /usr/libexec/as/ppc/as, and that worked (I think I had to do some sudo mkdirs along that path, as well).

answered Nov 17, 2011 at 0:16

djangodude's user avatar

djangodudedjangodude

5,3123 gold badges27 silver badges39 bronze badges

Using the system Pythons on Mac OS X 10.6, you’ll need to have the gcc-4.2 from the Apple Xcode Developer Tools installed to build extension modules, like with Appscript. Other products may need the Xcode gcc-4.0 so you should install them both. They co-exist just fine.

answered Mar 10, 2011 at 7:05

Ned Deily's user avatar

Ned DeilyNed Deily

83.1k16 gold badges126 silver badges150 bronze badges

2

I am trying to install Ubuntu 12.10 and by the way my wireless is not working. So, I’m trying to fix this problem manually. I have installed the 64 bit Ubuntu already. The problem is I cannot install any packages because when I do I get an error. For example
if I run the command

sudo dpkg -i wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb

I get this error:

dpkg: error processing wireless-bcm43142-dkms_6.20.55.19-1_amd64.deb (--install: package architecture (amd64) does not match system (i386)

I also get this error if I try to install any other package. My system is a Dell 3421 which has an i5 processor so I don’t know why Ubuntu think I have a i386 system. If I run the uname command I get these results:

uname -i 
i686

uname -p
i686

uname-m
i686

guntbert's user avatar

guntbert

12.8k37 gold badges45 silver badges86 bronze badges

asked Apr 1, 2013 at 9:15

GeorgeJ's user avatar

2

The answer lies hidden in the documentation of dpkg:

dpkg --print-architecture

will show you the architecture dpkg is willing to install packages for.

If the architecture amd64 is not listed, an amd package will be refused, even if all else seems fine. Now you can try to add it with the following command:

dpkg --add-architecture amd64

and show it by using the command:

dpkg --print-foreign-architectures

On a system that was clearly installed as amd64, I had success in making dpkg trying to install the package. Of course further problems may be detected, such as failed dependencies.

Kevin Bowen's user avatar

Kevin Bowen

19.3k55 gold badges76 silver badges81 bronze badges

answered Mar 31, 2016 at 14:52

Albert van der Horst's user avatar

The different variants of uname gives an indication of the kernel that you have installed.

This in turn gives a clue as to the version of Ubuntu you have installed as well as the explanation of your error

error: package architecture (amd64) does not match system (i386)

On a 64bit install you would expect something like:

Linux emachine 3.5.0-26-generic #42~precise1-Ubuntu SMP Mon Mar 11 22:17:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

The key part is x86_64 which indicates a 64bit installation.

Your output — i686 indicates that you have installed a 32bit version of Ubuntu.

Some useful links at the end — suffice to say — you cannot install a 64bit debian package on a 32bit system. That is what your error message is basically informing you.

You’ll need the 32bit variant of the package — it usually ends with the name i386.deb.


Useful links:

  • Difference between the i386 download and the amd64?

  • Is it possible to «upgrade» from a 32bit to a 64bit installation?

  • How do I check if I have a 32-bit or a 64-bit OS?

Community's user avatar

answered Apr 1, 2013 at 10:30

fossfreedom's user avatar

fossfreedomfossfreedom

171k47 gold badges375 silver badges404 bronze badges

1

Возможно, вам также будет интересно:

  • Archeage не запускается ошибка дистрибутива
  • Arcania is already running ошибка
  • Arcadia ошибка f01 суб 04 субкод
  • Arcadia 3 ошибка f12
  • Arc8140 1 lx таблица ошибок

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии