Overview

Request 1084693 accepted

- Add _multibuild to define 2nd spec file as additional flavor.
Eliminates the need for source package links in OBS. (forwarded request 1084618 from dimstar)



Dominique Leuenberger's avatar

This already fails in openSUSE:Factory - so without this change included:

[   21s] + GOPATH=/home/abuild/rpmbuild/BUILD/go:/home/abuild/rpmbuild/BUILD/contrib
[   21s] ++ get_gobin_path
[   21s] ++ echo /home/abuild/rpmbuild/BUILD/go/bin
[   21s] + GOBIN=/home/abuild/rpmbuild/BUILD/go/bin
[   21s] + go install -v -p 4 -x -buildmode=pie github.com/linuxdeepin/deepin-desktop-schemas...
[   21s] ../go/src/github.com/linuxdeepin/deepin-desktop-schemas/tools/override/main.go:11:2: cannot find package "github.com/linuxdeepin/go-lib/keyfile" in any of:
[   21s]    /usr/lib64/go/1.20/src/github.com/linuxdeepin/go-lib/keyfile (from $GOROOT)
[   21s]    /home/abuild/rpmbuild/BUILD/go/src/github.com/linuxdeepin/go-lib/keyfile (from $GOPATH)
[   21s]    /home/abuild/rpmbuild/BUILD/contrib/src/github.com/linuxdeepin/go-lib/keyfile
[   21s] error: Bad exit status from /var/tmp/rpm-tmp.UEj5sd (%build)

Hillwood Yang's avatar
author source maintainer

It is so surprise! The build is ok in X11:Deepin. I can understand why it is failure in Factory.


Hillwood Yang's avatar
author source maintainer

I know why. Because the version of the go is difference from these to package. The build system istalls go 1.20 for deepin-override-tool. But build system installs go 1.19 for golang-github-linuxdeepin-go-lib. The build system should install the same version of go for these two packages, but not. This is not a issue in deepin-override-tool or golang-github-linuxdeepin-go-lib. It looks like a bug of OBS.

Request History
Hillwood Yang's avatar

hillwood created request

- Add _multibuild to define 2nd spec file as additional flavor.
Eliminates the need for source package links in OBS. (forwarded request 1084618 from dimstar)


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:58 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:58"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:58"


Saul Goodman's avatar

licensedigger accepted review

ok


Jan Engelhardt's avatar

jengelh accepted review


Dominique Leuenberger's avatar

dimstar_suse added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Unstaged from project "openSUSE:Factory:Staging:adi:58"


Dominique Leuenberger's avatar

dimstar_suse added openSUSE:Factory:Staging:adi:8 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:8"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:adi:8"


Dominique Leuenberger's avatar

dimstar declined review

tool flavor fails to build:

[ 21s] + GOPATH=/home/abuild/rpmbuild/BUILD/go:/home/abuild/rpmbuild/BUILD/contrib
[ 21s] ++ get_gobin_path
[ 21s] ++ echo /home/abuild/rpmbuild/BUILD/go/bin
[ 21s] + GOBIN=/home/abuild/rpmbuild/BUILD/go/bin
[ 21s] + go install -v -p 4 -x -buildmode=pie github.com/linuxdeepin/deepin-desktop-schemas...
[ 21s] ../go/src/github.com/linuxdeepin/deepin-desktop-schemas/tools/override/main.go:11:2: cannot find package "github.com/linuxdeepin/go-lib/keyfile" in any of:
[ 21s] /usr/lib64/go/1.20/src/github.com/linuxdeepin/go-lib/keyfile (from $GOROOT)
[ 21s] /home/abuild/rpmbuild/BUILD/go/src/github.com/linuxdeepin/go-lib/keyfile (from $GOPATH)
[ 21s] /home/abuild/rpmbuild/BUILD/contrib/src/github.com/linuxdeepin/go-lib/keyfile
[ 21s] error: Bad exit status from /var/tmp/rpm-tmp.UEj5sd (%build)

The error exists without the multibuild flavor: the linked version in openSUSE:Factory already shows the same build failure


Dominique Leuenberger's avatar

dimstar declined request

tool flavor fails to build:

[ 21s] + GOPATH=/home/abuild/rpmbuild/BUILD/go:/home/abuild/rpmbuild/BUILD/contrib
[ 21s] ++ get_gobin_path
[ 21s] ++ echo /home/abuild/rpmbuild/BUILD/go/bin
[ 21s] + GOBIN=/home/abuild/rpmbuild/BUILD/go/bin
[ 21s] + go install -v -p 4 -x -buildmode=pie github.com/linuxdeepin/deepin-desktop-schemas...
[ 21s] ../go/src/github.com/linuxdeepin/deepin-desktop-schemas/tools/override/main.go:11:2: cannot find package "github.com/linuxdeepin/go-lib/keyfile" in any of:
[ 21s] /usr/lib64/go/1.20/src/github.com/linuxdeepin/go-lib/keyfile (from $GOROOT)
[ 21s] /home/abuild/rpmbuild/BUILD/go/src/github.com/linuxdeepin/go-lib/keyfile (from $GOPATH)
[ 21s] /home/abuild/rpmbuild/BUILD/contrib/src/github.com/linuxdeepin/go-lib/keyfile
[ 21s] error: Bad exit status from /var/tmp/rpm-tmp.UEj5sd (%build)

The error exists without the multibuild flavor: the linked version in openSUSE:Factory already shows the same build failure


Dominique Leuenberger's avatar

dimstar_suse reopened request

That makes sense - triggered rebuilds in Factory; let's retry


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:8 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:8 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:8 got accepted.

openSUSE Build Service is sponsored by