麻烦 marguerite 看一下 deepin-api 的编译,undefined 错误

[  113s] /usr/lib64/go/1.11/pkg/tool/linux_amd64/compile -o $WORK/b085/_pkg_.a -trimpath $WORK/b085 -shared -p pkg.deepin.io/gir/gio-2.0 -installsuffix shared -buildid 1VgL3XDuXO8pEgdyCDxz/1VgL3XDuXO8pEgdyCDxz -goversion go1.11.6 -D "" -importcfg $WORK/b085/importcfg -pack $WORK/b085/_cgo_gotypes.go $WORK/b085/gdk_workaround.cgo1.go $WORK/b085/gio.cgo1.go $WORK/b085/_cgo_import.go
[  113s] # pkg.deepin.io/gir/gio-2.0
[  113s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:9712:46: undefined: OutputVector
[  113s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:9747:49: undefined: OutputVector
[  113s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:9782:54: undefined: OutputVector
[  113s] ../contrib/src/pkg.deepin.io/gir/gio-2.0/gio.go:9834:51: undefined: OutputVector

我看了下 pkg.deepin.io/gir/gio-2.0 的 c 和 h 文件都是打包进去的,怎么又报错了?

https://build.opensuse.org/package/show/home:hillwood:branches:X11:Deepin:Factory/deepin-api

@hillwood 你的 golang(pkg.deepin.io/gir/gio-2.0) 在哪个包里?

https://build.opensuse.org/package/show/X11:Deepin:Go/golang-gir-generator

解决了,是接口变了,升了下级就好了。另外, golang-go-lib 也出现了 c 语言文件需要手动安装的问题。

最好还是叫 golang-deepin-gir-generator 吧

要改的,我先把编译的问题解决了再说。

golang 那些源码文件在运行的时候需不需要?如果不需要我就从 Requires 里面移除。