Custom Query (204 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (34 - 36 of 204)

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Ticket Owner Reporter Resolution Summary
#31 dbanet invalid patch doesn't work properly
Description

I recently wanted to apply a diff file to openssl sources, and found that the patch build from the netlabs RPM repo fails, while a build from Paul Smedley (same version) manages to apply the diff without any problem.

I've zipped both patch binaries, the diff file and openssl sources, attached (patch_test.zip).

[C:\tmp]md test

[C:\tmp]cd test

[C:\tmp\test]unzip -qq ..\patch_test.zip

[C:\tmp\test]

Here goes the patch from netlabs RPM:

[C:\tmp\test].\patch_rpm.exe -p0 <openssl-1.0.0n-os2-20140807.diff
patching file openssl-1.0.0n/Configure
Hunk #1 FAILED at 567.
Hunk #2 FAILED at 588.
Hunk #3 FAILED at 1303.
3 out of 3 hunks FAILED -- saving rejects to file openssl-1.0.0n/Configure.rej
patching file openssl-1.0.0n/apps/openssl.c
Hunk #1 FAILED at 110.
Hunk #2 FAILED at 284.
2 out of 2 hunks FAILED -- saving rejects to file openssl-1.0.0n/apps/openssl.c.rej
patching file openssl-1.0.0n/crypto/LPdir_unix.c
Hunk #1 FAILED at 102.
1 out of 1 hunk FAILED -- saving rejects to file openssl-1.0.0n/crypto/LPdir_unix.c.rej
patching file openssl-1.0.0n/crypto/o_dir.c
Hunk #1 FAILED at 70.
1 out of 1 hunk FAILED -- saving rejects to file openssl-1.0.0n/crypto/o_dir.c.rej
patching file openssl-1.0.0n/crypto/perlasm/x86asm.pl
Hunk #1 FAILED at 167.
Hunk #2 FAILED at 189.
2 out of 2 hunks FAILED -- saving rejects to file openssl-1.0.0n/crypto/perlasm/x86asm.pl.rej
patching file openssl-1.0.0n/crypto/perlasm/x86gas.pl
Hunk #1 FAILED at 152.
1 out of 1 hunk FAILED -- saving rejects to file openssl-1.0.0n/crypto/perlasm/x86gas.pl.rej
patching file openssl-1.0.0n/crypto/rand/rand_os2.c
Hunk #1 FAILED at 65.
Hunk #2 FAILED at 78.
Hunk #3 FAILED at 119.
3 out of 3 hunks FAILED -- saving rejects to file openssl-1.0.0n/crypto/rand/rand_os2.c.rej
patching file openssl-1.0.0n/e_os.h
Hunk #1 FAILED at 635.
Hunk #2 FAILED at 693.
Hunk #3 FAILED at 704.
3 out of 3 hunks FAILED -- saving rejects to file openssl-1.0.0n/e_os.h.rej
patching file openssl-1.0.0n/os2/OS2-EMX.cmd
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file openssl-1.0.0n/os2/OS2-EMX.cmd.rej
patching file openssl-1.0.0n/os2/OS2-KNIX.cmd
patching file openssl-1.0.0n/util/mk1mf.pl
Hunk #1 FAILED at 74.
Hunk #2 FAILED at 208.
Hunk #3 FAILED at 518.
Hunk #4 FAILED at 1053.
4 out of 4 hunks FAILED -- saving rejects to file openssl-1.0.0n/util/mk1mf.pl.rej
patching file openssl-1.0.0n/util/mkdef.pl
Hunk #1 FAILED at 75.
Hunk #2 FAILED at 150.
Hunk #3 FAILED at 218.
Hunk #4 FAILED at 1261.
Hunk #5 FAILED at 1279.
Hunk #6 FAILED at 1293.
Hunk #7 FAILED at 1322.
7 out of 7 hunks FAILED -- saving rejects to file openssl-1.0.0n/util/mkdef.pl.rej
patching file openssl-1.0.0n/util/mklink.pl
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to file openssl-1.0.0n/util/mklink.pl.rej
patching file openssl-1.0.0n/util/pl/OS2-EMX.pl
Hunk #1 FAILED at 4.
Hunk #2 FAILED at 12.
Hunk #3 FAILED at 25.
Hunk #4 FAILED at 50.
Hunk #5 FAILED at 88.
5 out of 5 hunks FAILED -- saving rejects to file openssl-1.0.0n/util/pl/OS2-EMX.pl.rej

Didn't work out...

[C:\tmp\test]rm -rf *

[C:\tmp\test]unzip -qq ..\patch_test.zip

[C:\tmp\test]

Here goes Paul's build:

[C:\tmp\test].\patch_paul.exe -p0 <openssl-1.0.0n-os2-20140807.diff
patching file openssl-1.0.0n/Configure
patching file openssl-1.0.0n/apps/openssl.c
patching file openssl-1.0.0n/crypto/LPdir_unix.c
patching file openssl-1.0.0n/crypto/o_dir.c
patching file openssl-1.0.0n/crypto/perlasm/x86asm.pl
patching file openssl-1.0.0n/crypto/perlasm/x86gas.pl
patching file openssl-1.0.0n/crypto/rand/rand_os2.c
patching file openssl-1.0.0n/e_os.h
patching file openssl-1.0.0n/os2/OS2-EMX.cmd
patching file openssl-1.0.0n/os2/OS2-KNIX.cmd
patching file openssl-1.0.0n/util/mk1mf.pl
patching file openssl-1.0.0n/util/mkdef.pl
patching file openssl-1.0.0n/util/mklink.pl
patching file openssl-1.0.0n/util/pl/OS2-EMX.pl

Perfect.

I suggest simply replacing the binary from the RPM package with Paul's build.

The exact RPM package I've tried to use is...

[C:\]yum list installed | grep patch
patch.i386                           2.6.1-4.oc00                   installed
#34 dmik fixed git: Support USE_CURL_MULTI
Description

After fixing #19 I found out that our git is very slow when cloning over HTTPS with USE_CURL_MULTI defined. This define is automatically enabled for all recent versions of CURL and causes git to use several HTTP streams for talking to the server (which in theory should improve the overall performance).

While working on #19 I disabled USE_CURL_MULTI to simplify debugging HTTP transfers. However, now, when I enabled it back, I noticed that the clone speed significantly decreased. For instance, cloning https://github.com/psmedley/gcc with *no* USE_CURL_MULTI gives us around 200 KiB/s second. When USE_CURL_MULTI is enabled, the speed drops to 25 KiB/s (i.e. almost 10 times slower). This is not acceptable.

I'm not 100% sure if it's a git or curl problem. At least, when I try to use CURL.EXE to directly download a ZIP from github it is as fast as it should be (around 200 KiB/s) but I'm not sure if CURL.EXE uses multiple streams internally or not (and there are no command line options to control this).

Note that this applies to git 2.0.0 (built from the dmik branch ATM).

#35 dmik invalid git: commands implemented as shell scripts fail
Description

An attempt to use any command implemented as a shell script (e.g. git submodule or even git pull fails with the following message):

trace: exec: 'git-pull'
trace: run_command: 'git-pull'
fatal: cannot exec 'git-pull': Invalid executable file format

There are actually two things for git-pull in git-core: : git-pull.sh (which is a shell script) and git-pull.exe (which is a symlink to git-pull). I recall that these .exe symlinks are created so that LIBC exec could recognize the file as an executable and then find the right file by following the symlink and then start it with the right shell after finding out it's a shell script. But this logic seems to break at some stage. I need to check why. The git-pull command is pretty much critical and must work.

Note that this applies to git 2.0.0 (built from the dmik branch ATM).

2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
Note: See TracQuery for help on using queries.