therecipe / qt

Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
GNU Lesser General Public License v3.0
10.47k stars 747 forks source link

SerialBus errors at qtsetup time. #352

Closed joeblew99 closed 7 years ago

joeblew99 commented 7 years ago

This is a clean OSX with new QT 5.9.

during qtsetup pertient error is:

ERRO[0531] failed to run command                         cmd="go install -p 4 -v github.com/therecipe/qt/serialbus" env= error="exit status 2" func=RunCmdOptionalError name="install serialbus"
github.com/therecipe/qt/serialbus
# github.com/therecipe/qt/serialbus

See below for whole output:

x-MacBook-Pro:~ apple$ go get -v github.com/therecipe/qt/cmd/...
github.com/therecipe/qt (download)
github.com/therecipe/qt/internal/utils
github.com/therecipe/qt/internal/binding/parser
github.com/therecipe/qt/internal/cmd
github.com/therecipe/qt/internal/binding/converter
github.com/therecipe/qt/internal/binding/templater
github.com/therecipe/qt/internal/cmd/moc
github.com/therecipe/qt/internal/cmd/minimal
github.com/therecipe/qt/internal/cmd/rcc
github.com/therecipe/qt/cmd/qtrcc
github.com/therecipe/qt/cmd/qtminimal
github.com/therecipe/qt/internal/cmd/deploy
github.com/therecipe/qt/cmd/qtmoc
github.com/therecipe/qt/cmd/qtdeploy
github.com/therecipe/qt/internal/cmd/setup
github.com/therecipe/qt/cmd/qtsetup
x-MacBook-Pro:~ apple$ qtsetup
INFO[0000] running: 'qtsetup prep'                      
INFO[0000] successfully created qtrcc symlink in your PATH (/usr/local/bin/qtrcc) 
INFO[0000] successfully created qtmoc symlink in your PATH (/usr/local/bin/qtmoc) 
INFO[0000] successfully created qtminimal symlink in your PATH (/usr/local/bin/qtminimal) 
INFO[0000] successfully created qtdeploy symlink in your PATH (/usr/local/bin/qtdeploy) 
INFO[0000] running: 'qtsetup check darwin' [docker=false] 
INFO[0000] GOOS:                        'darwin'        
INFO[0000] GOARCH:                      'amd64'         
INFO[0000] GOVERSION:                   'go1.8.3'       
INFO[0000] GOROOT:                   *  '/usr/local/opt/go/libexec' 
INFO[0000] GOPATH:                   *  '/Users/apple/workspace/go' 
INFO[0000] GOBIN:                       '/Users/apple/workspace/go/bin' 
INFO[0000] QT_HASH:                     'a5c03d787a4b94be671a6c9e4a80021ba6ec36bf' 
INFO[0000] QT_VERSION:               *  '5.9'           
INFO[0000] QT_VERSION_MAJOR:            '5.9'           
INFO[0000] QT_DIR:                   *  '/Users/apple/Qt' 
INFO[0000] QT_STUB:                     'false'         
INFO[0000] QT_DEBUG:                    'false'         
INFO[0000] QT_QMAKE_DIR:                ''              
INFO[0000] QT_WEBKIT:                   'false'         
INFO[0000] QT_HOMEBREW:                 'false'         
INFO[0000] XCODE_DIR:                   '/Applications/Xcode.app' 
INFO[0000] running: 'qtsetup generate darwin' [docker=false] 
INFO[0010] generating full qt/core                      
INFO[0023] generating full qt/androidextras             
INFO[0023] generating full qt/gui                       
INFO[0037] generating full qt/network                   
INFO[0042] generating full qt/xml                       
INFO[0044] generating full qt/dbus                      
INFO[0047] generating full qt/nfc                       
INFO[0050] generating full qt/script                    
INFO[0052] generating full qt/sensors                   
INFO[0057] generating full qt/positioning               
INFO[0059] generating full qt/widgets                   
INFO[0088] generating full qt/sql                       
INFO[0091] generating full qt/macextras                 
INFO[0093] generating full qt/qml                       
INFO[0096] generating full qt/websockets                
INFO[0098] generating full qt/xmlpatterns               
INFO[0101] generating full qt/bluetooth                 
INFO[0104] generating full qt/webchannel                
INFO[0106] generating full qt/svg                       
INFO[0109] generating full qt/multimedia                
INFO[0118] generating full qt/quick                     
INFO[0123] generating full qt/help                      
INFO[0128] generating full qt/location                  
INFO[0131] generating full qt/scripttools               
INFO[0133] generating full qt/uitools                   
INFO[0135] generating full qt/webengine                 
INFO[0139] generating full qt/testlib                   
INFO[0141] generating full qt/serialport                
INFO[0143] generating full qt/serialbus                 
INFO[0146] generating full qt/printsupport              
INFO[0151] generating full qt/designer                  
INFO[0156] generating full qt/scxml                     
INFO[0159] generating full qt/gamepad                   
INFO[0161] generating full qt/purchasing                
INFO[0163] generating full qt/datavisualization         
INFO[0168] generating full qt/charts                    
INFO[0174] generating full qt/quickcontrols2            
INFO[0176] generating full qt/sailfish                  
INFO[0176] generating full qt/webview                   
INFO[0178] running: 'qtsetup install darwin' [docker=false] 
INFO[0178] installing full qt/core                      
INFO[0214] installing full qt/androidextras             
INFO[0215] installing full qt/gui                       
INFO[0258] installing full qt/network                   
INFO[0274] installing full qt/xml                       
INFO[0281] installing full qt/dbus                      
INFO[0287] installing full qt/nfc                       
INFO[0292] installing full qt/script                    
INFO[0296] installing full qt/sensors                   
INFO[0304] installing full qt/positioning               
INFO[0310] installing full qt/widgets                   
INFO[0398] installing full qt/sql                       
INFO[0408] installing full qt/macextras                 
INFO[0412] installing full qt/qml                       
INFO[0419] installing full qt/websockets                
INFO[0423] installing full qt/xmlpatterns               
INFO[0428] installing full qt/bluetooth                 
INFO[0436] installing full qt/webchannel                
INFO[0439] installing full qt/svg                       
INFO[0444] installing full qt/multimedia                
INFO[0477] installing full qt/quick                     
INFO[0488] installing full qt/help                      
INFO[0500] installing full qt/location                  
INFO[0505] installing full qt/scripttools               
INFO[0508] installing full qt/uitools                   
INFO[0511] installing full qt/webengine                 
INFO[0522] installing full qt/testlib                   
INFO[0525] installing full qt/serialport                
INFO[0529] installing full qt/serialbus                 
ERRO[0531] failed to run command                         cmd="go install -p 4 -v github.com/therecipe/qt/serialbus" env= error="exit status 2" func=RunCmdOptionalError name="install serialbus"
github.com/therecipe/qt/serialbus
# github.com/therecipe/qt/serialbus
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:108:48: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:123:52: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:138:45: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:153:45: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:168:44: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:183:40: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:487:69: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:502:55: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:517:58: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:532:51: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:547:51: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:562:50: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:577:46: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:629:13: error: call to deleted constructor of 'QCanBusDeviceInfo'
/Users/apple/Qt/5.9/clang_64/lib/QtSerialBus.framework/Headers/qcanbusdeviceinfo.h:51:5: note: 'QCanBusDeviceInfo' has been explicitly marked deleted here
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:689:57: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1118:61: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1133:56: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1148:46: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1315:58: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1330:51: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1345:51: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1360:50: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1375:46: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1611:61: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1698:48: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1748:49: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1888:57: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1903:50: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1918:50: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1933:49: warning: unused parameter 'ptr' [-Wunused-parameter]
workspace/go/src/github.com/therecipe/qt/serialbus/serialbus.cpp:1948:45: warning: unused parameter 'ptr' [-Wunused-parameter]

INFO[0531] installing full qt/printsupport              
INFO[0539] installing full qt/designer                  
INFO[0550] installing full qt/scxml                     
INFO[0555] installing full qt/gamepad                   
INFO[0560] installing full qt/purchasing                
INFO[0563] installing full qt/datavisualization         
INFO[0583] installing full qt/charts                    
INFO[0604] installing full qt/quickcontrols2            
INFO[0605] installing full qt/sailfish                  
INFO[0605] installing full qt/webview                   
ERRO[0606] failed to install the following 1 package(s): 
ERRO[0606] serialbus                                    
ERRO[0606] you may want to run 'qtsetup install darwin' if you depend on these 1 package(s) 
INFO[0606] running: 'qtsetup test darwin' [docker=false] 
INFO[0606] testing qml/application                      
INFO[0695] testing qml/drawer_nav_x                     
INFO[0718] testing qml/gallery                          
INFO[0736] testing quick/calc                           
INFO[0751] testing widgets/line_edits 
therecipe commented 7 years ago

Hey

Yeah, that's one of the things that I already fixed for 5.9. I will push the changes tomorrow.

joeblew99 commented 7 years ago

Cheers :) will test it

therecipe commented 7 years ago

Okay, this should be fixed now with: https://github.com/therecipe/qt/commit/404e54013b621752a8afb9b343cb361b4006dd25

joeblew99 commented 7 years ago

is fixed - thanks