FS#32813 - [go] missing src file /usr/lib/go/src/pkg/database/sql/sql.go

Attached to Project: Community Packages
Opened by Willow Walthall (ghthor) - Friday, 23 November 2012, 10:05 GMT
Last edited by Alexander F. Rødseth (xyproto) - Tuesday, 27 November 2012, 13:39 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The package is missing the go source file /usr/lib/go/src/pkg/database/sql/sql.go. The reason the the file is missing in the package is because of this line in the PKGFILE.
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/go#n103

The version 1.0.3 source tarball has the executable bit set on src/pkg/database/sql/sql.go. I checked the 1.0.2 tarball and the executable bit is NOT set. I checked the tip of the go repository and the executable bit is NOT set, so upstream fixed this already.

I'd suggest adding a hack to unset the executable bit on this source file before that line is executed.

Additional info:
* package version(s)
go-2:1.0.3-3


Steps to reproduce:
1) Install go-2:1.0.3
2) stat /usr/lib/go/src/pkg/database/sql/sql.go
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Tuesday, 27 November 2012, 13:39 GMT
Reason for closing:  Fixed
Comment by Willow Walthall (ghthor) - Friday, 23 November 2012, 10:08 GMT
I meant PKGBUILD, not PKGFILE.
Comment by Alex (vizor) - Sunday, 25 November 2012, 18:40 GMT
I confirm this issue
Comment by Alexander F. Rødseth (xyproto) - Monday, 26 November 2012, 20:33 GMT
Thanks for reporting, I will fix this.
Comment by Alexander F. Rødseth (xyproto) - Tuesday, 27 November 2012, 09:46 GMT
Fixed in svn, the package will be released to [community] shortly. Thanks for finding out about the executable bit on sql.go and for checking if upstream was aware of it.

Loading...