[opensuse-factory] On OBS, %goinstall does something weired with find
I followed https://en.opensuse.org/openSUSE:Packaging_Go#The_easy_and_the_stupid_way to create a spec file build a go package with OBS. However, %goinstall calls "find" wrongly and "find" aborts. The short log: + cd /home/abuild/rpmbuild/BUILD/go/src [ 67s] + find . -name rclone.go rclone_test.go redirect_stderr.go redirect_stderr_unix.go redirect_stderr_windows.go -exec install -Dm644 '{}' '/home/abuild/rpmbuild/BUILDROOT/go-rclone-1.17-3.1.x86_64/usr/share/go/contrib/src/pkg/{}' ';' [ 67s] find: paths must precede expression: rclone_test.go [ 67s] Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] The long log: https://build.opensuse.org/package/live_build_log/home:Aikhjarto/rclone/open... -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wed, Jul 22, 2015 at 11:56:27AM +0200, Thomas Wagner wrote:
I followed https://en.opensuse.org/openSUSE:Packaging_Go#The_easy_and_the_stupid_way to create a spec file build a go package with OBS. However, %goinstall calls "find" wrongly and "find" aborts. The short log: + cd /home/abuild/rpmbuild/BUILD/go/src [ 67s] + find . -name rclone.go rclone_test.go redirect_stderr.go redirect_stderr_unix.go redirect_stderr_windows.go -exec install -Dm644 '{}' '/home/abuild/rpmbuild/BUILDROOT/go-rclone-1.17-3.1.x86_64/usr/share/go/contrib/src/pkg/{}' ';' [ 67s] find: paths must precede expression: rclone_test.go [ 67s] Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
The long log: https://build.opensuse.org/package/live_build_log/home:Aikhjarto/rclone/open...
the "-name" option to find just takes 1 argument. Can you open a bug or SR against whicheverf package has %goinstall? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 2015-07-22 12:00, schrieb Marcus Meissner:
On Wed, Jul 22, 2015 at 11:56:27AM +0200, Thomas Wagner wrote:
I followed https://en.opensuse.org/openSUSE:Packaging_Go#The_easy_and_the_stupid_way to create a spec file build a go package with OBS. However, %goinstall calls "find" wrongly and "find" aborts. The short log: + cd /home/abuild/rpmbuild/BUILD/go/src [ 67s] + find . -name rclone.go rclone_test.go redirect_stderr.go redirect_stderr_unix.go redirect_stderr_windows.go -exec install -Dm644 '{}' '/home/abuild/rpmbuild/BUILDROOT/go-rclone-1.17-3.1.x86_64/usr/share/go/contrib/src/pkg/{}' ';' [ 67s] find: paths must precede expression: rclone_test.go [ 67s] Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]
The long log: https://build.opensuse.org/package/live_build_log/home:Aikhjarto/rclone/open...
the "-name" option to find just takes 1 argument.
Can you open a bug or SR against whicheverf package has %goinstall?
Created Bugreport https://bugzilla.suse.com/show_bug.cgi?id=939067 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thomas Wagner <wagner-thomas@gmx.at> writes:
Created Bugreport https://apibugzilla.novell.com/show_bug.cgi?id=939067
SR#317879 Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 2015-07-22 12:24, schrieb Andreas Schwab:
Thomas Wagner <wagner-thomas@gmx.at> writes:
Created Bugreport https://apibugzilla.novell.com/show_bug.cgi?id=939067
SR#317879
Andreas. The submit request did fix the problem with find.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Thu, Jul 23, 2015 at 9:52 PM, Thomas Wagner <wagner-thomas@gmx.at> wrote:
The submit request did fix the problem with find.
I just wonder: 1. why did you assign the bug to Adrian instead of go maintainers listed here: https://build.opensuse.org/project/users/devel:languages:go In this case, he will not close the bug report for you... 2. why I didn't get noticed of SR#317879, this is werid. Marguerite -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 2015-07-23 18:20, schrieb Marguerite Su:
On Thu, Jul 23, 2015 at 9:52 PM, Thomas Wagner <wagner-thomas@gmx.at> wrote:
The submit request did fix the problem with find.
I just wonder:
1. why did you assign the bug to Adrian instead of go maintainers listed here:
https://build.opensuse.org/project/users/devel:languages:go
In this case, he will not close the bug report for you... I did not assign anybody. I just created the bugreport. Then Chenzi Cao assigned adrian.
2. why I didn't get noticed of SR#317879, this is werid. Thats out of my scope.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andreas Schwab
-
Marcus Meissner
-
Marguerite Su
-
Thomas Wagner