Closed steev closed 6 years ago
Go can not find SettingsBackend without this patch. Could you please attach the build log to see if this patch applied or not?
My build log is attached below.
Calculating dependencies... done!
[ebuild R ] dev-go/go-gir-generator-1.0.1-r2
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-go/go-gir-generator-1.0.1-r2::deepin
* go-gir-generator-1.0.1.tar.gz SHA256 SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking go-gir-generator-1.0.1.tar.gz to /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work
>>> Source unpacked in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work
>>> Preparing source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
* Applying go-gir-generator-1.0.1-SettingsBackendLike.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
make -j2
mkdir -p out/src/gir
cd src/gir-generator && go build -o /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1/out/gir-generator
out/gir-generator -o out/src/gir/glib-2.0 lib.in/glib-2.0/glib.go.in
out/gir-generator -o out/src/gir/gobject-2.0 lib.in/gobject-2.0/gobject.go.in
out/gir-generator -o out/src/gir/gio-2.0 lib.in/gio-2.0/gio.go.in
out/gir-generator -o out/src/gir/gudev-1.0 lib.in/gudev-1.0/gudev.go.in
>>> Source compiled.
>>> Test phase [not enabled]: dev-go/go-gir-generator-1.0.1-r2
>>> Install go-gir-generator-1.0.1-r2 into /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/ category dev-go
make -j2 DESTDIR=/var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/ install
cp -r lib.in/gobject-2.0/* out/src/gir/gobject-2.0
cp -r lib.in/gio-2.0/* out/src/gir/gio-2.0
cp -r lib.in/glib-2.0/* out/src/gir/glib-2.0
cp -r lib.in/gudev-1.0/* out/src/gir/gudev-1.0
install -d /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/share/gocode/src/gir /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/bin
cp -r out/src/gir/* /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/share/gocode/src/gir
cp out/gir-generator /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/bin/
>>> Completed installing go-gir-generator-1.0.1-r2 into /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/
* Final size of build directory: 6288 KiB (6.1 MiB)
* Final size of installed tree: 5072 KiB (4.9 MiB)
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
usr/bin/gir-generator
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (1 of 1) dev-go/go-gir-generator-1.0.1-r2::deepin
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
I submit commit https://github.com/zhtengw/deepin-overlay/commit/415a49d0c0607f0b71b1ab79704696d3b51fd2ce , because the "epatch" command need eutils.eclass which I have not inherited. And "eapply" command can do the same thing without inheriting any eclass.
Re-read - the issue isn't that go-gir-generator doesn't build - it's that with that patch applied, the other 3 packages no longer install.
On my system, I'm using
[I] dev-lang/go
Available versions: 1.8.3(0/1.8.3)^st ~1.9(0/1.9)^st **9999(0/9999)^s {gccgo}
Installed versions: 1.8.3^st(06:34:15 AM 08/06/2017)(-gccgo)
Homepage: https://golang.org
Description: A concurrent garbage collected and typesafe programming language
[I] sys-devel/gcc
Available versions:
(2.95.3) [M]~*2.95.3-r10^s
(3.3.6) [M]~3.3.6-r1^s
(3.4.6) [M]3.4.6-r2^s
(4.0.4) [M]**4.0.4^s
(4.1.2) [M]4.1.2^s
(4.2.4) [M]~4.2.4-r1^s
(4.3.6) [M]4.3.6-r1^s
(4.4.7) [M]4.4.7^s
(4.5.4) [M]4.5.4^s
(4.6.4) [M]4.6.4^s
(4.7.4) [M]4.7.4^s
(4.8.5) [M]4.8.5^s
(4.9.4) 4.9.4^s **4.9.4-r1^s
(5.4.0) ~5.4.0^s 5.4.0-r3^s
(6.3.0) (~)6.3.0^s
(6.4.0) ~6.4.0^s
(7.1.0) **7.1.0-r1^s
(7.2.0) **7.2.0^s
{altivec awt boundschecking cilk +cxx d debug doc fixed-point +fortran gcj go graphite hardened jit libssp mpx mudflap multilib +nls nopie nossp +nptl objc objc++ objc-gc +openmp +pch pgo +pie regression-test +sanitize +ssp vanilla +vtv}
Installed versions: 6.3.0(6.3.0)^s(03:46:46 AM 09/25/2017)(cxx fortran go multilib nls nptl openmp pch ssp vtv -altivec -awt -cilk -debug -doc -fixed-point -gcj -graphite -hardened -jit -libssp -mpx -objc -objc++ -objc-gc -pgo -pie -regression-test -sanitize -vanilla)
Homepage: https://gcc.gnu.org/
Description: The GNU Compiler Collection
With go-gir-generator installed with that patch applied, I get the following output:
* Package: dde-base/startdde-3.1.15
* Repository: deepin
* Maintainer: atenzd@gmail.com
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
* FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking startdde-3.1.15.tar.gz to /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Source unpacked in /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Preparing source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
make -j9 -l9
env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o startdde
cd dde-readahead; env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o dde-readahead
gir/glib-2.0
gir/gobject-2.0
pkg.deepin.io/lib/dbus/interfaces
pkg.deepin.io/lib/dbus/introspect
pkg.deepin.io/lib/fsnotify
pkg.deepin.io/lib/strv
gir/gobject-2.0
gir/glib-2.0
github.com/BurntSushi/xgb
pkg.deepin.io/dde/api/dxinput/utils
pkg.deepin.io/lib/backlight/common
github.com/BurntSushi/xgbutil/xrect
pkg.deepin.io/lib/dbus
pkg.deepin.io/lib/backlight/display
pkg.deepin.io/lib/locale
pkg.deepin.io/lib/xdg/basedir
pkg.deepin.io/lib/keyfile
github.com/BurntSushi/xgb/xproto
pkg.deepin.io/dde/api/dxinput
gir/gio-2.0
gir/gio-2.0
github.com/BurntSushi/xgb/xinerama
github.com/BurntSushi/xgb/render
github.com/BurntSushi/xgb/shape
github.com/BurntSushi/xgbutil
github.com/BurntSushi/xgbutil/xevent
github.com/BurntSushi/xgbutil/xprop
github.com/BurntSushi/xgbutil/ewmh
github.com/BurntSushi/xgbutil/icccm
github.com/BurntSushi/xgbutil/keybind
github.com/BurntSushi/xgbutil/mousebind
github.com/BurntSushi/xgb/randr
github.com/BurntSushi/xgbutil/xwindow
pkg.deepin.io/lib/appinfo
pkg.deepin.io/dde/api/drandr
# gir/gio-2.0
/usr/share/gocode/src/gir/gio-2.0/gio.go:10027: undefined: SettingsBackend
/usr/share/gocode/src/gir/gio-2.0/gio.go:10040: undefined: SettingsBackend
make: *** [Makefile:34: dde-readahead/dde-readahead] Error 2
make: *** Waiting for unfinished jobs....
# gir/gio-2.0
/usr/share/gocode/src/gir/gio-2.0/gio.go:10027: undefined: SettingsBackend
/usr/share/gocode/src/gir/gio-2.0/gio.go:10040: undefined: SettingsBackend
make: *** [Makefile:31: startdde] Error 2
* ERROR: dde-base/startdde-3.1.15::deepin failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dde-base/startdde-3.1.15::deepin'`,
* the complete build log and the output of `emerge -pqv '=dde-base/startdde-3.1.15::deepin'`.
* The complete build log is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/environment'.
* Working directory: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
* S: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
Oh, I see. But still can not reproduce.
This may relate to the version of golang. I am using go-1.9. I will test then.
Calculating dependencies... done!
[ebuild R ] dde-base/startdde-3.1.15::deepin 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dde-base/startdde-3.1.15::deepin
* startdde-3.1.15.tar.gz SHA256 SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking startdde-3.1.15.tar.gz to /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Source unpacked in /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Preparing source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
make -j2
env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o startdde
cd dde-readahead; env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o dde-readahead
gir/glib-2.0
gir/gobject-2.0
pkg.deepin.io/lib/dbus/interfaces
pkg.deepin.io/lib/dbus/introspect
gir/glib-2.0
pkg.deepin.io/lib/dbus
gir/gio-2.0
gir/gobject-2.0
github.com/BurntSushi/xgb
github.com/BurntSushi/xgb/xproto
gir/gio-2.0
github.com/BurntSushi/xgb/xinerama
github.com/BurntSushi/xgbutil
github.com/BurntSushi/xgbutil/xprop
pkg.deepin.io/lib/fsnotify
pkg.deepin.io/lib/strv
github.com/BurntSushi/xgb/render
github.com/BurntSushi/xgb/randr
pkg.deepin.io/dde/api/drandr
pkg.deepin.io/dde/api/dxinput/utils
_/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/dde-readahead
pkg.deepin.io/dde/api/dxinput
pkg.deepin.io/lib/backlight/common
pkg.deepin.io/lib/backlight/display
github.com/BurntSushi/xgb/shape
pkg.deepin.io/lib/dbus/property
dbus/com/deepin/api/soundthemeplayer
dbus/com/deepin/daemon/apps
dbus/com/deepin/dde/welcome
dbus/org/freedesktop/login1
pkg.deepin.io/lib/utils
pkg.deepin.io/lib/sound
dbus/com/deepin/daemon/helper/backlight
pkg.deepin.io/dde/startdde/display/brightness
pkg.deepin.io/dde/api/soundutils
pkg.deepin.io/lib/log
dbus/org/freedesktop/dbus
dbus/org/freedesktop/policykit1
pkg.deepin.io/dde/startdde/display
pkg.deepin.io/dde/startdde/watchdog
github.com/BurntSushi/xgbutil/xevent
github.com/BurntSushi/xgbutil/xrect
pkg.deepin.io/lib/locale
pkg.deepin.io/lib/keyfile
pkg.deepin.io/lib/xdg/basedir
pkg.deepin.io/lib/proxy
github.com/BurntSushi/xgbutil/ewmh
github.com/BurntSushi/xgbutil/icccm
github.com/BurntSushi/xgbutil/keybind
github.com/BurntSushi/xgbutil/mousebind
github.com/BurntSushi/xgbutil/xwindow
pkg.deepin.io/lib/appinfo
pkg.deepin.io/lib/appinfo/desktopappinfo
_/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15
>>> Source compiled.
>>> Test phase [not enabled]: dde-base/startdde-3.1.15
>>> Install startdde-3.1.15 into /var/tmp/portage/dde-base/startdde-3.1.15/image/ category dde-base
make -j2 DESTDIR=/var/tmp/portage/dde-base/startdde-3.1.15/image/ install
install -Dm755 startdde /var/tmp/portage/dde-base/startdde-3.1.15/image//usr/bin/startdde
mkdir -p /var/tmp/portage/dde-base/startdde-3.1.15/image//usr/share/xsessions
install -Dm755 dde-readahead/dde-readahead /var/tmp/portage/dde-base/startdde-3.1.15/image///usr/lib64/deepin-daemon/dde-readahead
install -Dm644 dde-readahead/dde-readahead.service /var/tmp/portage/dde-base/startdde-3.1.15/image//lib/systemd/system/dde-readahead.service
mkdir -p /var/tmp/portage/dde-base/startdde-3.1.15/image//lib/systemd/system/multi-user.target.wants/
ln -s /lib/systemd/system/dde-readahead.service /var/tmp/portage/dde-base/startdde-3.1.15/image//lib/systemd/system/multi-user.target.wants/dde-readahead.service
>>> Completed installing startdde-3.1.15 into /var/tmp/portage/dde-base/startdde-3.1.15/image/
* Final size of build directory: 9596 KiB (9.3 MiB)
* Final size of installed tree: 9204 KiB (8.9 MiB)
I downgraded golang to version 1.8.3 and rebuild go-gir-generator and startdde. Still can not reproduce. The "undefined: SettingsBackend" error only occurs when the patch "go-gir-generator-1.0.1-SettingsBackendLike.patch" is not applied.
steev@oswin /var/overlays/deepin-overlay $ sudo emerge go-gir-generator -1
Password:
* IMPORTANT: 1 news items need reading for repository 'deepin'.
* IMPORTANT: 8 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-go/go-gir-generator-1.0.1-r2::deepin
* go-gir-generator-1.0.1.tar.gz SHA256 SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking go-gir-generator-1.0.1.tar.gz to /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work
>>> Source unpacked in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work
>>> Preparing source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
* Applying go-gir-generator-1.0.1-SettingsBackendLike.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
make -j9 -l9
mkdir -p out/src/gir
cd src/gir-generator && go build -o /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1/out/gir-generator
out/gir-generator -o out/src/gir/glib-2.0 lib.in/glib-2.0/glib.go.in
out/gir-generator -o out/src/gir/gobject-2.0 lib.in/gobject-2.0/gobject.go.in
out/gir-generator -o out/src/gir/gio-2.0 lib.in/gio-2.0/gio.go.in
out/gir-generator -o out/src/gir/gudev-1.0 lib.in/gudev-1.0/gudev.go.in
>>> Source compiled.
>>> Test phase [not enabled]: dev-go/go-gir-generator-1.0.1-r2
>>> Install go-gir-generator-1.0.1-r2 into /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/ category dev-go
make -j9 -l9 DESTDIR=/var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/ install
cp -r lib.in/gobject-2.0/* out/src/gir/gobject-2.0
cp -r lib.in/gio-2.0/* out/src/gir/gio-2.0
cp -r lib.in/glib-2.0/* out/src/gir/glib-2.0
cp -r lib.in/gudev-1.0/* out/src/gir/gudev-1.0
install -d /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/share/gocode/src/gir /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/bin
cp -r out/src/gir/* /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/share/gocode/src/gir
cp out/gir-generator /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/bin/
>>> Completed installing go-gir-generator-1.0.1-r2 into /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/
* Final size of build directory: 6128 KiB (5.9 MiB)
* Final size of installed tree: 5012 KiB (4.8 MiB)
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
usr/bin/gir-generator
ecompressdir: bzip2 -9 /usr/share/doc
>>> Installing (1 of 1) dev-go/go-gir-generator-1.0.1-r2::deepin
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
* IMPORTANT: 1 news items need reading for repository 'deepin'.
* IMPORTANT: 8 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
steev@oswin /var/overlays/deepin-overlay $ sudo emerge -1 startdde
* IMPORTANT: 1 news items need reading for repository 'deepin'.
* IMPORTANT: 8 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dde-base/startdde-3.1.15::deepin
* startdde-3.1.15.tar.gz SHA256 SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking startdde-3.1.15.tar.gz to /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Source unpacked in /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Preparing source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
make -j9 -l9
env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o startdde
cd dde-readahead; env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o dde-readahead
gir/glib-2.0
gir/gobject-2.0
pkg.deepin.io/lib/dbus/introspect
pkg.deepin.io/lib/dbus/interfaces
pkg.deepin.io/lib/fsnotify
pkg.deepin.io/lib/strv
gir/glib-2.0
gir/gobject-2.0
github.com/BurntSushi/xgb
pkg.deepin.io/dde/api/dxinput/utils
pkg.deepin.io/lib/backlight/common
github.com/BurntSushi/xgbutil/xrect
pkg.deepin.io/lib/dbus
pkg.deepin.io/lib/backlight/display
pkg.deepin.io/lib/locale
pkg.deepin.io/lib/xdg/basedir
pkg.deepin.io/lib/keyfile
github.com/BurntSushi/xgb/xproto
pkg.deepin.io/dde/api/dxinput
gir/gio-2.0
gir/gio-2.0
github.com/BurntSushi/xgb/xinerama
github.com/BurntSushi/xgb/render
github.com/BurntSushi/xgb/shape
github.com/BurntSushi/xgbutil
github.com/BurntSushi/xgbutil/xprop
github.com/BurntSushi/xgbutil/xevent
github.com/BurntSushi/xgbutil/ewmh
github.com/BurntSushi/xgbutil/icccm
github.com/BurntSushi/xgbutil/keybind
github.com/BurntSushi/xgbutil/mousebind
github.com/BurntSushi/xgb/randr
github.com/BurntSushi/xgbutil/xwindow
pkg.deepin.io/lib/appinfo
pkg.deepin.io/dde/api/drandr
# gir/gio-2.0
/usr/share/gocode/src/gir/gio-2.0/gio.go:10027: undefined: SettingsBackend
/usr/share/gocode/src/gir/gio-2.0/gio.go:10040: undefined: SettingsBackend
make: *** [Makefile:34: dde-readahead/dde-readahead] Error 2
make: *** Waiting for unfinished jobs....
# gir/gio-2.0
/usr/share/gocode/src/gir/gio-2.0/gio.go:10027: undefined: SettingsBackend
/usr/share/gocode/src/gir/gio-2.0/gio.go:10040: undefined: SettingsBackend
make: *** [Makefile:31: startdde] Error 2
* ERROR: dde-base/startdde-3.1.15::deepin failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dde-base/startdde-3.1.15::deepin'`,
* the complete build log and the output of `emerge -pqv '=dde-base/startdde-3.1.15::deepin'`.
* The complete build log is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/environment'.
* Working directory: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
* S: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
>>> Failed to emerge dde-base/startdde-3.1.15, Log file:
>>> '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'
* Messages for package dde-base/startdde-3.1.15:
* ERROR: dde-base/startdde-3.1.15::deepin failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dde-base/startdde-3.1.15::deepin'`,
* the complete build log and the output of `emerge -pqv '=dde-base/startdde-3.1.15::deepin'`.
* The complete build log is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/environment'.
* Working directory: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
* S: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
This is after upgrading go to 1.9 and still no change.
Strange. Can not reproduce. What if you remove the SettingsBackend patch?
If I remove the patch, everything seems to work fine.
I'll add my emerge --info..
emerge --info
Portage 2.3.10 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-6.3.0, glibc-2.23-r4, 4.13.2-gentoo x86_64)
=================================================================
System uname: Linux-4.13.2-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_740_@_1.73GHz-with-gentoo-2.3
KiB Mem: 8153924 total, 5012272 free
KiB Swap: 2097148 total, 2097148 free
Timestamp of repository gentoo: Tue, 26 Sep 2017 08:00:01 +0000
Head commit of repository gentoo: 703f4a3c5edb390e00666276fbef035574963da8
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash: 4.3_p48-r1::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.1-r2::gentoo
dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake: 3.7.2::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.3::gentoo
sys-apps/openrc: 0.28::gentoo
sys-apps/sandbox: 2.10-r3::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils: 2.28.1::gentoo
sys-devel/gcc: 6.3.0::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6-r3::gentoo
sys-devel/make: 4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.23-r4::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts: --omit-dir-times
alunduil
location: /var/overlays/alunduil-overlay
masters: gentoo
priority: 0
deepin
location: /var/overlays/deepin-overlay
masters: gentoo
steev
location: /var/overlays/steev-overlay
masters: gentoo
priority: 1
crossdev
location: /var/overlays/crossdev
masters: gentoo
priority: 10
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/storage/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--omit-dir-times"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dconf dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fortran fuse gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ios ipv6 jpeg lcms libnotify libsecret mad mmx mng modules mp3 mp4 mpeg mtp multilib nautilus ncurses nls nptl ogg openexr opengl openmp opus pam pango pcre pdf png policykit ppds pulseaudio qt3support readline seccomp session speex spell sse sse2 ssl startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb vala vim-syntax vorbis x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 AMDGPU ARM BPF Hexagon NVPTX X86 MSP430 Mips PowerPC Sparc SystemZ XCore" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="aarch64 arm" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Sorry, I don't have enough skill to debug. I add my emerge --info for reference:
Portage 2.3.10 (python 3.4.6-final-0, default/linux/amd64/13.0/systemd, gcc-6.4.0, glibc-2.25-r5, 4.13.2-gentoo x86_64)
=================================================================
System uname: Linux-4.13.2-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem: 1011592 total, 122076 free
KiB Swap: 2097148 total, 1745580 free
Timestamp of repository gentoo: Tue, 26 Sep 2017 07:00:01 +0000
Head commit of repository gentoo: 1c7e00e837dc387e7e3c54132e7ec0d9b52233ad
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p1.0) 2.29.1
app-shells/bash: 4.4_p12::gentoo
dev-java/java-config: 2.2.0-r3::gentoo
dev-lang/perl: 5.24.3::gentoo
dev-lang/python: 2.7.14::gentoo, 3.4.6::gentoo, 3.6.1-r1::gentoo
dev-util/cmake: 3.9.3::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.4.1-r2::gentoo
sys-apps/openrc: 0.31.2::gentoo
sys-apps/sandbox: 2.10-r4::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.15.1-r1::gentoo
sys-devel/binutils: 2.29.1::gentoo
sys-devel/gcc: 6.4.0::gentoo
sys-devel/gcc-config: 1.8-r1::gentoo
sys-devel/libtool: 2.4.6-r4::gentoo
sys-devel/make: 4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r5::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
aten
location: /var/lib/layman/aten
masters: gentoo
priority: 50
deepin
location: /var/lib/layman/deepin
masters: gentoo
priority: 50
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.163.com/gentoo/"
LANG="zh_CN.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules multilib ncurses nls nptl openmp pam pcre readline seccomp session ssl systemd tcpd udev unicode xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="vmware fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
If I remove the patch, what I face is:
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] dev-go/go-gir-generator-1.0.1-r2::deepin 0 KiB
[ebuild R ] dde-base/startdde-3.1.15::deepin 0 KiB
Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
>>> Emerging (1 of 2) dev-go/go-gir-generator-1.0.1-r2::deepin
* go-gir-generator-1.0.1.tar.gz SHA256 SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking go-gir-generator-1.0.1.tar.gz to /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work
>>> Source unpacked in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work
>>> Preparing source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1 ...
make -j2
mkdir -p out/src/gir
cd src/gir-generator && go build -o /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/work/go-gir-generator-1.0.1/out/gir-generator
out/gir-generator -o out/src/gir/glib-2.0 lib.in/glib-2.0/glib.go.in
out/gir-generator -o out/src/gir/gobject-2.0 lib.in/gobject-2.0/gobject.go.in
out/gir-generator -o out/src/gir/gio-2.0 lib.in/gio-2.0/gio.go.in
out/gir-generator -o out/src/gir/gudev-1.0 lib.in/gudev-1.0/gudev.go.in
>>> Source compiled.
>>> Test phase [not enabled]: dev-go/go-gir-generator-1.0.1-r2
>>> Install go-gir-generator-1.0.1-r2 into /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/ category dev-go
make -j2 DESTDIR=/var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/ install
cp -r lib.in/gobject-2.0/* out/src/gir/gobject-2.0
cp -r lib.in/gio-2.0/* out/src/gir/gio-2.0
cp -r lib.in/glib-2.0/* out/src/gir/glib-2.0
cp -r lib.in/gudev-1.0/* out/src/gir/gudev-1.0
install -d /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/share/gocode/src/gir /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/bin
cp -r out/src/gir/* /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/share/gocode/src/gir
cp out/gir-generator /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image//usr/bin/
>>> Completed installing go-gir-generator-1.0.1-r2 into /var/tmp/portage/dev-go/go-gir-generator-1.0.1-r2/image/
* Final size of build directory: 6108 KiB (5.9 MiB)
* Final size of installed tree: 4892 KiB (4.7 MiB)
......
>>> Original instance of package unmerged safely.
>>> dev-go/go-gir-generator-1.0.1-r2 merged.
>>> Emerging (2 of 2) dde-base/startdde-3.1.15::deepin
* startdde-3.1.15.tar.gz SHA256 SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking startdde-3.1.15.tar.gz to /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Source unpacked in /var/tmp/portage/dde-base/startdde-3.1.15/work
>>> Preparing source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15 ...
make -j2
env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o startdde
cd dde-readahead; env GOPATH="/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15/gopath:/usr/share/gocode" go build -ldflags '-s -w' -v -o dde-readahead
gir/glib-2.0
gir/gobject-2.0
pkg.deepin.io/lib/dbus/interfaces
pkg.deepin.io/lib/dbus/introspect
gir/glib-2.0
pkg.deepin.io/lib/dbus
gir/gio-2.0
gir/gobject-2.0
github.com/BurntSushi/xgb
github.com/BurntSushi/xgb/xproto
gir/gio-2.0
github.com/BurntSushi/xgb/xinerama
github.com/BurntSushi/xgbutil
github.com/BurntSushi/xgbutil/xprop
# gir/gio-2.0
/usr/share/gocode/src/gir/gio-2.0/gio.go:10029: undefined: SettingsBackendLike
/usr/share/gocode/src/gir/gio-2.0/gio.go:10044: undefined: SettingsBackendLike
make: *** [Makefile:34: dde-readahead/dde-readahead] Error 2
make: *** Waiting for unfinished jobs....
pkg.deepin.io/lib/fsnotify
pkg.deepin.io/lib/strv
github.com/BurntSushi/xgb/render
github.com/BurntSushi/xgb/randr
pkg.deepin.io/dde/api/drandr
pkg.deepin.io/dde/api/dxinput/utils
# gir/gio-2.0
/usr/share/gocode/src/gir/gio-2.0/gio.go:10029: undefined: SettingsBackendLike
/usr/share/gocode/src/gir/gio-2.0/gio.go:10044: undefined: SettingsBackendLike
pkg.deepin.io/lib/backlight/common
pkg.deepin.io/lib/backlight/display
github.com/BurntSushi/xgb/shape
github.com/BurntSushi/xgbutil/xevent
github.com/BurntSushi/xgbutil/ewmh
pkg.deepin.io/dde/api/dxinput
github.com/BurntSushi/xgbutil/icccm
github.com/BurntSushi/xgbutil/keybind
github.com/BurntSushi/xgbutil/mousebind
github.com/BurntSushi/xgbutil/xrect
pkg.deepin.io/lib/locale
pkg.deepin.io/lib/keyfile
github.com/BurntSushi/xgbutil/xwindow
pkg.deepin.io/lib/xdg/basedir
pkg.deepin.io/lib/appinfo
make: *** [Makefile:31: startdde] Error 2
* ERROR: dde-base/startdde-3.1.15::deepin failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dde-base/startdde-3.1.15::deepin'`,
* the complete build log and the output of `emerge -pqv '=dde-base/startdde-3.1.15::deepin'`.
* The complete build log is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/environment'.
* Working directory: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
* S: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
>>> Failed to emerge dde-base/startdde-3.1.15, Log file:
>>> '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'
* Messages for package dde-base/startdde-3.1.15:
* ERROR: dde-base/startdde-3.1.15::deepin failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=dde-base/startdde-3.1.15::deepin'`,
* the complete build log and the output of `emerge -pqv '=dde-base/startdde-3.1.15::deepin'`.
* The complete build log is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dde-base/startdde-3.1.15/temp/environment'.
* Working directory: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
* S: '/var/tmp/portage/dde-base/startdde-3.1.15/work/startdde-3.1.15'
* GNU info directory index is up-to-date.
* IMPORTANT: 2 news items need reading for repository 'deepin'.
* IMPORTANT: 14 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
I found the differences. In my system, "undefined: SettingsBackendLike" error occurs without the patch. But in your system, there is another error "undefined: SettingsBackend" occurring with this patch.
Hi, @steev . I open an issue on linuxdeepin/developer-center. Please subscribe that thread for further discussion. They may need you to supply more information.
Thanks for the pointer - Felix mentioned that it depends on gobject-introspection version.
I'm going to guess since you're running ~amd64 (unstable) and I'm running amd64 (aka stable) that you're using gobject-introspection-1.52.1 and I'm running 1.50.0.
If true, perhaps we should just bump the version requirement to 1.52.1, that way we don't have to worry about it. I believe 1.52.1 is slated to go stable soon as part of the gnome 3.24 stable process.
I tested and reproduced the issue with gobject-introspection-1.50.0. It is clear that it depends on gobject-introspection version. I submitted a commit that “-r1” depends on gobject-introspection-1.50.0 and do not apply the patch, and “-r2” depends on gobject-introspection-1.52.1 with patch.
I attempted to rebuild everything deepin recently, and as of the change in commit 415a49d0c0607f0b71b1ab79704696d3b51fd2ce it seems that go can't find SettingsBackend anymore.
To reproduce:
emerge -1 =go-gir-generator-1.0.1-r2 && emerge -1 dde-api dde-daemon startdde
The patch that is applied seems to move SettingsBackend out of structs and into objects, and I don't think that's correct.