Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression test failure on macOS sonoma #213

Closed
chenrui333 opened this issue Sep 19, 2023 · 9 comments
Closed

regression test failure on macOS sonoma #213

chenrui333 opened this issue Sep 19, 2023 · 9 comments

Comments

@chenrui333
Copy link

While trying to build bottle for Sonoma, run into the following test failure

==> cargo udeps 2>&1
  sh: line 1:  9368 Abort trap: 6           cargo udeps 2>&1
  *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x6000024400c0'
  *** First throw call stack:
  (
  	0   CoreFoundation                      0x000000018a1848c0 __exceptionPreprocess + 176
  	1   libobjc.A.dylib                     0x0000000189c7deb4 objc_exception_throw + 60
  	2   CoreFoundation                      0x000000018a2363dc -[NSObject(NSObject) __retain_OA] + 0
  	3   CoreFoundation                      0x000000018a0ee9e4 ___forwarding___ + 1572
  	4   CoreFoundation                      0x000000018a0ee300 _CF_forwarding_prep_0 + 96
  	5   Foundation                          0x000000018b1c34f0 -[NSProcessInfo arguments] + 188
  	6   CoreFoundation                      0x000000018a1ffff8 __getDefaultArguments_block_invoke + 96
  	7   libdispatch.dylib                   0x0000000189e85[91](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:92)0 _dispatch_client_callout + 20
  	8   libdispatch.dylib                   0x0000000189e8714c _dispatch_once_callout + 32
  	9   CoreFoundation                      0x000000018a1ff994 _addBackstopValuesForIdentifierAndSource + 640
  	10  CoreFoundation                      0x000000018a0ba254 __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
  	11  CoreFoundation                      0x000000018a1ff63c -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
  	12  CoreFoundation                      0x000000018a0c05c4 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
  	13  CoreFoundation                      0x000000018a23e8bc __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
  	14  CoreFoundation                      0x000000018a23e564 -[_CFXPreferences withSearchLists:] + 84
  	15  CoreFoundation                      0x000000018a0bbb18 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
  	16  CoreFoundation                      0x000000018a23e710 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
  	17  CoreFoundation                      0x000000018a0bb440 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
  	18  CoreFoundation                      0x000000018a0bb368 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
  	19  SystemConfiguration                 0x000000018ae4b478 SCDynamicStoreCopyProxiesWithOptions + 180
  	20  cargo-udeps                         0x0000000103277c7c cargo-udeps + 7126140
  	21  cargo-udeps                         0x0000000103266518 cargo-udeps + 7054616
  	22  cargo-udeps                         0x0000000102f99648 cargo-udeps + 4118088
  	23  cargo-udeps                         0x000000010331f964 cargo-udeps + 7813476
  	24  cargo-udeps                         0x0000000102f995b8 cargo-udeps + 4117944
  	25  dyld                                0x0000000189cd55c8 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
  	26  dyld                                0x0000000189d1a[92](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:93)0 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.209 + 340
  	27  dyld                                0x0000000189d0dc60 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
  	28  dyld                                0x0000000189cb52fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
  Warning: test failed
  	29  dyld                                0x0000000189d0cc98 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
  	30  dyld                                0x0000000189d1a434 _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 516
  	31  dyld                                0x0000000189cd1798 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 448
  	32  dyld                                0x0000000189cd7b14 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
  	33  dyld                                0x0000000189cd1b4c _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
  	34  dyld                                0x0000000189cd5654 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 112
  	35  dyld                                0x0000000189cd1ccc _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 304
  	36  dyld                                0x0000000189cf6ad4 _ZN5dyld44APIs25runAllInitializersForMainEv + 464
  	37  dyld                                0x0000000189cb9f34 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3192
  	38  dyld                                0x0000000189cb8f44 start + 1[94](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:95)8
  )
  libc++abi: terminating due to uncaught exception of type NSException
  Error: cargo-udeps: failed
  An exception occurred within a child process:
    Minitest::Assertion: Expected: [101](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:102)
    Actual: [134](https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980#step:4:135)

full build log, https://github.com/Homebrew/homebrew-core/actions/runs/6230034827/job/16909470980

@quantrend-eric
Copy link

+1

@ThalisonCosta
Copy link

facing this same error

@ta3pks
Copy link

ta3pks commented Oct 2, 2023

same error here

@ta3pks
Copy link

ta3pks commented Oct 2, 2023

reinstalling udeps seems to have fixed the issue for me

@badrbouslikhin
Copy link

I've got the same issue. Reinstalling udeps didn't work for me.

@vinhtc27
Copy link

vinhtc27 commented Oct 6, 2023

i tried reinstall multiple time with cargo and brew but still got the same err

@danpashin
Copy link

That's a curl bug. Upstream issue:

alexcrichton/curl-rust#524

Also related:
aria2/aria2#2083
esp-rs/espflash#463
nabijaczleweli/cargo-update#240
astral-sh/rye#428

@SomeoneToIgnore
Copy link

👋
Upstream curl issue had been fixed, new curl-sys version had been released and seems to work on Sonoma.
See alexcrichton/curl-rust#524 (comment) for more details.

@chenrui333
Copy link
Author

Should be good for quite some time now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants