fatal: unable to find filename in patch at line 1

Asked by martin Fleurent

Hi,

I'm trying to build clutter, but hsbuild stop on zlib with this error :

...
zlib-1.2.3/zconf.in.h
zlib-1.2.3/zlib.3
zlib-1.2.3/zlib.h
zlib-1.2.3/zutil.c
zlib-1.2.3/zutil.h
Download: http://dl.dropbox.com/u/2119862/hsbuild/stable/patches/zlib-1.2.3.patc
h
Size: 2675 bytes
Downloaded: 1024 bytes (38 %)
Downloaded: 2048 bytes (77 %)
Downloaded: 2675 bytes (100 %)
Running: C:\Program Files\Git\bin\git.exe apply --whitespace=nowarn -p1 "F:\TEMP
\zlib-1.2.3.patch"
fatal: unable to find filename in patch at line 1
Task 'HSBuild.Tasks.ConsoleTask' executed with error code 128.

seem's like something is wrong in the patch file, but i don't know what.

Question information

Language:
English Edit question
Status:
Answered
For:
hsbuild Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Haakon Sporsheim (ieei) said :
#1

Hmm.. are you sure git apply works properly on your system? Check that first, by trying to run the same command yourself, or with another patch you have for something else. You can use either diff -u to create your own patch to test with, or git format-patch which I generally use, when creating patches for HSBuild.

If thats not the problem you could try to change the first line in the patch
from:
--- empty Thu Jan 07 02:21:18 2010
to:
--- /dev/null

Please let me know if that solves it! Could be because of a different distribution of patch?

Revision history for this message
William Castrillon (william-castrillon) said :
#2

I'm Having the same problem, I tried the solution that you proposed but it still showing the same error,
...
Download: http://dl.dropbox.com/u/2119862/hsbuild/stable/patches/zlib-1.2.3.patch
Size: 2675 bytes
Downloaded: 1024 bytes (38 %)
Downloaded: 2048 bytes (77 %)
Downloaded: 2675 bytes (100 %)
Running: C:\Program Files (x86)\Git\bin\git.exe apply --whitespace=nowarn -p1 "C:\Users\willy\AppData\Local\Temp\zlib-1.2.3.patch"
fatal: unable to find filename in patch at line 1
Task 'HSBuild.Tasks.ConsoleTask' executed with error code 128.

Could you help Us please thanks!

Can you help with this problem?

Provide an answer of your own, or ask martin Fleurent for more information if necessary.

To post a message you must log in.