Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1424462

Summary: source-to-image: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: source-to-imageAssignee: Tomas Hrcka <thrcka>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: jcajka, jchaloup, mfojtik, thrcka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-15 12:02:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1423041    
Attachments:
Description Flags
build.log
none
root.log
none
state.log
none
patch for the declarations none

Description Fedora Release Engineering 2017-02-17 17:12:56 UTC
Your package source-to-image failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17791924

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 17:13:02 UTC
Created attachment 1254661 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 17:13:06 UTC
Created attachment 1254662 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 17:13:09 UTC
Created attachment 1254663 [details]
state.log

Comment 4 Fedora End Of Life 2017-02-28 12:16:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Jakub Čajka 2017-05-15 11:42:04 UTC
Created attachment 1278931 [details]
patch for the declarations

This fixes the issue with declarations, but build fails further in tests. Seems as some problem with URL parsing.

+ go test -compiler gc -ldflags '' github.com/openshift/source-to-image/pkg/scm/git
--- FAIL: TestMungeNoProtocolURL (0.00s)
	git_test.go:211: Could not parse url "git@[2001:db8::1]:/repository.git"
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x65b25b]

goroutine 12 [running]:
testing.tRunner.func1(0xc4201b5110)
	/usr/lib/golang/src/testing/testing.go:622 +0x29d
panic(0x6a67a0, 0x8542f0)
	/usr/lib/golang/src/runtime/panic.go:489 +0x2cf
github.com/openshift/source-to-image/pkg/scm/git.TestMungeNoProtocolURL(0xc4201b5110)
	/builddir/build/BUILDROOT/source-to-image-1.0.9-3.fc26.x86_64/usr/share/gocode/src/github.com/openshift/source-to-image/pkg/scm/git/git_test.go:221 +0x131b
testing.tRunner(0xc4201b5110, 0x70bf28)
	/usr/lib/golang/src/testing/testing.go:657 +0x96
created by testing.(*T).Run
	/usr/lib/golang/src/testing/testing.go:697 +0x2ca
FAIL	github.com/openshift/source-to-image/pkg/scm/git	0.006s
error: Bad exit status from /var/tmp/rpm-tmp.CpJ7lo (%check)
    Bad exit status from /var/tmp/rpm-tmp.CpJ7lo (%check)

Comment 6 Upstream Release Monitoring 2017-05-15 11:46:59 UTC
jchaloup's source-to-image-1.0.9-4.fc27 completed http://koji.fedoraproject.org/koji/buildinfo?buildID=891808