You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/28 17:33:51 UTC
[GitHub] [pulsar-client-go] llqgit opened a new issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
llqgit opened a new issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626
#### Expected behavior
Should not show this warning or error
#### Actual behavior
```
# github.com/keybase/go-keychain
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here
/private/var/folders/x6/rhk7mhks3jd5q_2pbrtvmfs40000gn/T/GoLand/___
```
Show this warning about `github.com/keybase/go-keychain` which included in `github.com/99designs/keyring`
And I don't know why the `pulsar-client-go` need this package? A production would deployed on linux need macOS keychain features?
Could you guys consider remove this problem package once for all?
(I have read the history issues about it and realized that this package always have older version problem)
#### Steps to reproduce
Just run client on MacOS M1
#### System configuration
**Pulsar version**: 2.7.2
MacOS BigSur 11.4 M1
go version go1.16.5 darwin/arm64
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] merlimat closed issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
merlimat closed issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] llqgit edited a comment on issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
llqgit edited a comment on issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626#issuecomment-953557269
I upgrade to MacOS 12.0.1, and got more warning msg now. T_T
It not looks cool at all.
```
# github.com/keybase/go-keychain
cgo-gcc-prolog:81:11: warning: 'SecKeychainCreate' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:301:10: note: 'SecKeychainCreate' has been explicitly marked deprecated here
cgo-gcc-prolog:139:11: warning: 'SecKeychainLock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:357:10: note: 'SecKeychainLock' has been explicitly marked deprecated here
cgo-gcc-prolog:159:11: warning: 'SecKeychainOpen' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:287:10: note: 'SecKeychainOpen' has been explicitly marked deprecated here
cgo-gcc-prolog:183:11: warning: 'SecKeychainUnlock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:347:10: note: 'SecKeychainUnlock' has been explicitly marked deprecated here
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here
``
<img width="1596" alt="截屏2021-10-28 下午3 00 51" src="https://user-images.githubusercontent.com/8063914/139203702-0538394a-8bca-4fdf-a67a-3df7a2205a8c.png">
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] llqgit edited a comment on issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
llqgit edited a comment on issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626#issuecomment-953557269
I upgrade to MacOS 12.0.1, and got more warning msg now. T_T
It not looks cool at all.
```
# github.com/keybase/go-keychain
cgo-gcc-prolog:81:11: warning: 'SecKeychainCreate' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:301:10: note: 'SecKeychainCreate' has been explicitly marked deprecated here
cgo-gcc-prolog:139:11: warning: 'SecKeychainLock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:357:10: note: 'SecKeychainLock' has been explicitly marked deprecated here
cgo-gcc-prolog:159:11: warning: 'SecKeychainOpen' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:287:10: note: 'SecKeychainOpen' has been explicitly marked deprecated here
cgo-gcc-prolog:183:11: warning: 'SecKeychainUnlock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:347:10: note: 'SecKeychainUnlock' has been explicitly marked deprecated here
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here
```
<img width="1596" alt="截屏2021-10-28 下午3 00 51" src="https://user-images.githubusercontent.com/8063914/139203702-0538394a-8bca-4fdf-a67a-3df7a2205a8c.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] b1gcat commented on issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
b1gcat commented on issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626#issuecomment-988603630
producer, err := p.c.CreateProducer(pulsar.ProducerOptions{
Topic: topic,
})
same error, but crash.
```
# github.com/keybase/go-keychain
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xb01dfacedebac1e pc=0x7fff2034cc9e]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff2034cc9e
stack: frame={sp:0x7ffeefbff368, fp:0x7ffeefbff3b8} stack=[0x7ffeefb80408,0x7ffeefbff470)
0x00007ffeefbff268: 0x01007ffeefbff288 0x0000000000000004
0x00007ffeefbff278: 0x000000000000001f 0x00007fff2034cc9e
0x00007ffeefbff288: 0x0b01dfacedebac1e 0x0000000000000001
0x00007ffeefbff298: 0x0000000004039ed1 <runtime.throw+0x0000000000000071> 0x00007ffeefbff338
0x00007ffeefbff2a8: 0x0000000004715759 0x00007ffeefbff2f0
0x00007ffeefbff2b8: 0x000000000403a188 <runtime.fatalthrow.func1+0x0000000000000048> 0x0000000004bd9fa0
0x00007ffeefbff2c8: 0x0000000000000001 0x0000000000000001
0x00007ffeefbff2d8: 0x00007ffeefbff338 0x0000000004039ed1 <runtime.throw+0x0000000000000071>
0x00007ffeefbff2e8: 0x0000000004bd9fa0 0x00007ffeefbff328
0x00007ffeefbff2f8: 0x000000000403a110 <runtime.fatalthrow+0x0000000000000050> 0x00007ffeefbff308
0x00007ffeefbff308: 0x000000000403a140 <runtime.fatalthrow.func1+0x0000000000000000> 0x0000000004bd9fa0
0x00007ffeefbff318: 0x0000000004039ed1 <runtime.throw+0x0000000000000071> 0x00007ffeefbff338
0x00007ffeefbff328: 0x00007ffeefbff358 0x0000000004039ed1 <runtime.throw+0x0000000000000071>
0x00007ffeefbff338: 0x00007ffeefbff340 0x0000000004039f00 <runtime.throw.func1+0x0000000000000000>
0x00007ffeefbff348: 0x000000000471e7d1 0x000000000000002a
0x00007ffeefbff358: 0x00007ffeefbff3a8 0x00000000040502d6 <runtime.sigpanic+0x0000000000000396>
0x00007ffeefbff368: <0x000000000471e7d1 0x0000000004042d9e <runtime.checkTimers+0x000000000000005e>
0x00007ffeefbff378: 0x00007ffeefbff3e8 0x000000000402af26 <runtime.(*mheap).allocSpan+0x0000000000000546>
0x00007ffeefbff388: 0x000000c0001c0000 0x0000000000002000
0x00007ffeefbff398: 0x000000c000000008 0x0000000000000000
0x00007ffeefbff3a8: 0x00007ffeefbff3f0 !0x00007fff2034cc9e
0x00007ffeefbff3b8: >0x00007ffeefbff3f0 0x0000000004b78000
0x00007ffeefbff3c8: 0x0000000000000821 0x00000000041bb805 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005>
0x00007ffeefbff3d8: 0x000000000406ef3f <runtime.syscall+0x000000000000001f> 0x000000c0000665d0
0x00007ffeefbff3e8: 0x000000000406e8ac <runtime.nanotime_trampoline+0x000000000000000c> 0x000000c0000665a0
0x00007ffeefbff3f8: 0x000000000406cd90 <runtime.asmcgocall+0x0000000000000070> 0x0000000000000001
0x00007ffeefbff408: 0x0000000004012600 <runtime.(*hmap).newoverflow+0x00000000000000c0> 0x2600000000000020
0x00007ffeefbff418: 0x0000000004bd9fa0 0x0000000004c0f440
0x00007ffeefbff428: 0x0000000000000a88 0x000000c0001476c0
0x00007ffeefbff438: 0x000000000406aea9 <runtime.systemstack+0x0000000000000049> 0x0000000000000004
0x00007ffeefbff448: 0x00000000047df348 0x0000000004bd9fa0
0x00007ffeefbff458: 0x00007ffeefbff4a8 0x000000000406ada5 <runtime.mstart+0x0000000000000005>
0x00007ffeefbff468: 0x000000000406ad5d <runtime.rt0_go+0x000000000000013d>
runtime.throw({0x471e7d1, 0x4042d9e})
/usr/local/go/src/runtime/panic.go:1198 +0x71
runtime: unexpected return pc for runtime.sigpanic called from 0x7fff2034cc9e
stack: frame={sp:0x7ffeefbff368, fp:0x7ffeefbff3b8} stack=[0x7ffeefb80408,0x7ffeefbff470)
0x00007ffeefbff268: 0x01007ffeefbff288 0x0000000000000004
0x00007ffeefbff278: 0x000000000000001f 0x00007fff2034cc9e
0x00007ffeefbff288: 0x0b01dfacedebac1e 0x0000000000000001
0x00007ffeefbff298: 0x0000000004039ed1 <runtime.throw+0x0000000000000071> 0x00007ffeefbff338
0x00007ffeefbff2a8: 0x0000000004715759 0x00007ffeefbff2f0
0x00007ffeefbff2b8: 0x000000000403a188 <runtime.fatalthrow.func1+0x0000000000000048> 0x0000000004bd9fa0
0x00007ffeefbff2c8: 0x0000000000000001 0x0000000000000001
0x00007ffeefbff2d8: 0x00007ffeefbff338 0x0000000004039ed1 <runtime.throw+0x0000000000000071>
0x00007ffeefbff2e8: 0x0000000004bd9fa0 0x00007ffeefbff328
0x00007ffeefbff2f8: 0x000000000403a110 <runtime.fatalthrow+0x0000000000000050> 0x00007ffeefbff308
0x00007ffeefbff308: 0x000000000403a140 <runtime.fatalthrow.func1+0x0000000000000000> 0x0000000004bd9fa0
0x00007ffeefbff318: 0x0000000004039ed1 <runtime.throw+0x0000000000000071> 0x00007ffeefbff338
0x00007ffeefbff328: 0x00007ffeefbff358 0x0000000004039ed1 <runtime.throw+0x0000000000000071>
0x00007ffeefbff338: 0x00007ffeefbff340 0x0000000004039f00 <runtime.throw.func1+0x0000000000000000>
0x00007ffeefbff348: 0x000000000471e7d1 0x000000000000002a
0x00007ffeefbff358: 0x00007ffeefbff3a8 0x00000000040502d6 <runtime.sigpanic+0x0000000000000396>
0x00007ffeefbff368: <0x000000000471e7d1 0x0000000004042d9e <runtime.checkTimers+0x000000000000005e>
0x00007ffeefbff378: 0x00007ffeefbff3e8 0x000000000402af26 <runtime.(*mheap).allocSpan+0x0000000000000546>
0x00007ffeefbff388: 0x000000c0001c0000 0x0000000000002000
0x00007ffeefbff398: 0x000000c000000008 0x0000000000000000
0x00007ffeefbff3a8: 0x00007ffeefbff3f0 !0x00007fff2034cc9e
0x00007ffeefbff3b8: >0x00007ffeefbff3f0 0x0000000004b78000
0x00007ffeefbff3c8: 0x0000000000000821 0x00000000041bb805 <golang.org/x/sys/unix.libc_ioctl_trampoline+0x0000000000000005>
0x00007ffeefbff3d8: 0x000000000406ef3f <runtime.syscall+0x000000000000001f> 0x000000c0000665d0
0x00007ffeefbff3e8: 0x000000000406e8ac <runtime.nanotime_trampoline+0x000000000000000c> 0x000000c0000665a0
0x00007ffeefbff3f8: 0x000000000406cd90 <runtime.asmcgocall+0x0000000000000070> 0x0000000000000001
0x00007ffeefbff408: 0x0000000004012600 <runtime.(*hmap).newoverflow+0x00000000000000c0> 0x2600000000000020
0x00007ffeefbff418: 0x0000000004bd9fa0 0x0000000004c0f440
0x00007ffeefbff428: 0x0000000000000a88 0x000000c0001476c0
0x00007ffeefbff438: 0x000000000406aea9 <runtime.systemstack+0x0000000000000049> 0x0000000000000004
0x00007ffeefbff448: 0x00000000047df348 0x0000000004bd9fa0
0x00007ffeefbff458: 0x00007ffeefbff4a8 0x000000000406ada5 <runtime.mstart+0x0000000000000005>
0x00007ffeefbff468: 0x000000000406ad5d <runtime.rt0_go+0x000000000000013d>
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:719 +0x396
`
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] llqgit commented on issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
llqgit commented on issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626#issuecomment-953557269
I upgrade to MacOS 12.0.1, and got more warning msg now. T_T
It not looks cool at all.
```
# github.com/keybase/go-keychain
cgo-gcc-prolog:81:11: warning: 'SecKeychainCreate' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:301:10: note: 'SecKeychainCreate' has been explicitly marked deprecated here
cgo-gcc-prolog:139:11: warning: 'SecKeychainLock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:357:10: note: 'SecKeychainLock' has been explicitly marked deprecated here
cgo-gcc-prolog:159:11: warning: 'SecKeychainOpen' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:287:10: note: 'SecKeychainOpen' has been explicitly marked deprecated here
cgo-gcc-prolog:183:11: warning: 'SecKeychainUnlock' is deprecated: first deprecated in macOS 12.0 - Custom keychain management is no longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecKeychain.h:347:10: note: 'SecKeychainUnlock' has been explicitly marked deprecated here
cgo-gcc-prolog:203:11: warning: 'SecTrustedApplicationCreateFromPath' is deprecated: first deprecated in macOS 10.15 - No longer supported [-Wdeprecated-declarations]
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrustedApplication.h:59:10: note: 'SecTrustedApplicationCreateFromPath' has been explicitly marked deprecated here
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] liangyuanpeng commented on issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
liangyuanpeng commented on issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626#issuecomment-932710765
I just try to delete this package and got the error. Seems like oauth2 need this package.
```
go: github.com/apache/pulsar-client-go/oauth2@v0.0.0-20201120111947-b8bd55bc02bd requires
github.com/99designs/keyring@v1.1.6 requires
github.com/keybase/go-keychain@v0.0.0-20190712205309-48d3d31d256d: missing go.sum entry; to add it:
go mod download github.com/keybase/go-keychain
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-client-go] wolfstudy commented on issue #626: github.com/keybase/go-keychain error with warning on MacOS 11.4 M1
Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #626:
URL: https://github.com/apache/pulsar-client-go/issues/626#issuecomment-939243588
> I just try to delete this package and got the error. Seems like oauth2 need this package.
>
> ```
> go: github.com/apache/pulsar-client-go/oauth2@v0.0.0-20201120111947-b8bd55bc02bd requires
> github.com/99designs/keyring@v1.1.6 requires
> github.com/keybase/go-keychain@v0.0.0-20190712205309-48d3d31d256d: missing go.sum entry; to add it:
> go mod download github.com/keybase/go-keychain
> ```
Yes, Oauth2 need this package.
This looks more like a compatibility issue of this pkg in different operating systems. If it cannot be obtained, it will throw a warn instead of an error, so in theory, it will not affect normal use.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org