Seems there are files which have spaces - can we rename the ones with 
spaces - will it create any issues in terms on functionality usage

/opt/git-1.7.10.2/t/t4135
[root@vm-85e8-c4a8 t4135]# ls -ltr
total 76
-rwxrwxr-x 1 root root 965 May 11 16:25 make-patches
-rw-rw-r-- 1 root root 158 May 11 16:25 git-with tab.diff
-rw-rw-r-- 1 root root 150 May 11 16:25 git-with spaces.diff
-rw-rw-r-- 1 root root 164 May 11 16:25 git-with quote.diff
-rw-rw-r-- 1 root root 158 May 11 16:25 git-with backslash.diff
-rw-rw-r-- 1 root root 146 May 11 16:25 git-plain.diff
-rw-rw-r-- 1 root root 290 May 11 16:25 funny-tz.diff
-rw-rw-r-- 1 root root 148 May 11 16:25 diff-with tab.diff
-rw-rw-r-- 1 root root 148 May 11 16:25 diff-with spaces.diff
-rw-rw-r-- 1 root root 150 May 11 16:25 diff-with quote.diff
-rw-rw-r-- 1 root root 148 May 11 16:25 diff-with backslash.diff
-rw-rw-r-- 1 root root 146 May 11 16:25 diff-plain.diff
-rw-rw-r-- 1 root root 290 May 11 16:25 damaged-tz.diff
-rw-rw-r-- 1 root root 188 May 11 16:25 damaged.diff
-rw-rw-r-- 1 root root 184 May 11 16:25 add-with tab.diff
-rw-rw-r-- 1 root root 184 May 11 16:25 add-with spaces.diff
-rw-rw-r-- 1 root root 188 May 11 16:25 add-with quote.diff
-rw-rw-r-- 1 root root 184 May 11 16:25 add-with backslash.diff
-rw-rw-r-- 1 root root 180 May 11 16:25 add-plain.diff


On Monday, May 14, 2012 3:11:11 PM UTC-4, gerin abraham wrote:
>
> Hello GIT Users,
>
> Hope anyone would be able to assist with my query - I understand GIT 
> package comes as a tar/tar.gz distributable.However as aprt of our 
> standards, we would like to distribute it internally as a Linux rpm 
> package.Keeping that in mind, when I try to make a package out of this, I 
> seem to hit with the below error. Has anyone encountered this and the best 
> approach to fix this.
>
> + umask 022
> + cd /opt/pkgdir/BUILD
> + /xenv/OS/ia64/RH5.3AS_64/x86_64/usr/lib/rpm/brp-compress
> + /xenv/OS/ia64/RH5.3AS_64/x86_64/usr/lib/rpm/brp-strip
> + /xenv/OS/ia64/RH5.3AS_64/x86_64/usr/lib/rpm/brp-strip-static-archive
> + /xenv/OS/ia64/RH5.3AS_64/x86_64/usr/lib/rpm/brp-strip-comment-note
> Processing files: git-1.7-1.0_A0-APPID
> error: Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
> error: File must begin with "/": tab.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/add-with
> error: File must begin with "/": backslash.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/add-with
> error: File must begin with "/": quote.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
> error: File must begin with "/": backslash.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/git-with
> error: File must begin with "/": quote.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
> error: File must begin with "/": quote.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/git-with
> error: File must begin with "/": spaces.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
> error: File must begin with "/": spaces.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/git-with
> error: File must begin with "/": tab.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/git-with
> error: File must begin with "/": backslash.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/add-with
> error: File must begin with "/": spaces.diff
> error: Two files on one line: /export/opt/git-1.7/t/t4135/add-with
> error: File must begin with "/": tab.diff
> Checking for unpackaged file(s): 
> /xenv/OS/ia64/RH5.3AS_64/x86_64/usr/lib/rpm/check-files /opt/tmp_install
> D:      execv(/xenv/OS/ia64/RH5.3AS_64/x86_64/usr/lib/rpm/check-files) pid 
> 5098
> D:      waitpid(5098) rc 5098 status 0
>
>
> RPM build errors:
>     Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
>     File must begin with "/": tab.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/add-with
>     File must begin with "/": backslash.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/add-with
>     File must begin with "/": quote.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
>     File must begin with "/": backslash.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/git-with
>     File must begin with "/": quote.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
>     File must begin with "/": quote.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/git-with
>     File must begin with "/": spaces.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/diff-with
>     File must begin with "/": spaces.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/git-with
>     File must begin with "/": tab.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/git-with
>     File must begin with "/": backslash.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/add-with
>     File must begin with "/": spaces.diff
>     Two files on one line: /export/opt/git-1.7/t/t4135/add-with
>     File must begin with "/": tab.diff
> D: May free Score board((nil))
> make: *** [pkgdir] Error 1
>
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/8zruBjFe0-EJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to