<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>27359</bug_id>
          
          <creation_ts>2012-05-23 13:17:09 +0400</creation_ts>
          <short_desc>patch(1) fails to apply patches</short_desc>
          <delta_ts>2012-08-03 09:37:16 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>patch</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin Pavlov">thresh</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>mike</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>131395</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin Pavlov">thresh</who>
    <bug_when>2012-05-23 13:17:09 +0400</bug_when>
    <thetext>patch-2.5.1-alt5 и выше перестали прикладывать патчи

steps to reproduce:

git clone git://git.xiph.org/speex.git
приложить http://git.videolan.org/?p=vlc.git;a=blob;f=contrib/src/speex/neon.patch

с patch-2.5.1-alt5 и -alt6:

thresh ~/speex $ patch -p1 &lt; ~/vlc/contrib/src/speex/neon.patch
patching file configure.ac
patching file libspeex/resample.c
patching file configure.ac
patching file libspeex/arch.h
patching file libspeex/fixed_generic.h
patching file libspeex/resample.c
patching file libspeex/resample_neon.h
can&apos;t find file to patch at input line 346
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|-- 
|1.7.8.3
|
|From e2127a3db9e43b4336e79e5746f3053c0c799562 Mon Sep 17 00:00:00 2001
|From: Jyri Sarha &lt;jsarha@ti.com&gt;
|Date: Thu, 1 Sep 2011 15:30:31 +0300
|Subject: [PATCH 4/4] resample: Add NEON optimized inner_product_single for
| floating point
|
|Also adds inline asm implementations of WORD2INT(x) macro for fixed
|and floating point.
|---
| libspeex/resample_neon.h |  101 ++++++++++++++++++++++++++++++++++++++++++++++
| 1 files changed, 101 insertions(+), 0 deletions(-)
|
|diff --git a/libspeex/resample_neon.h b/libspeex/resample_neon.h
|index ba93e41..e7e981e 100644
|--- a/libspeex/resample_neon.h
|+++ b/libspeex/resample_neon.h
--------------------------
File to patch: ^C


При откате на patch-2.5.1-alt4 проблема исчезает.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131396</commentid>
    <comment_count>1</comment_count>
    <who name="Konstantin Pavlov">thresh</who>
    <bug_when>2012-05-23 13:46:12 +0400</bug_when>
    <thetext>git bisect показал, что виновен http://git.savannah.gnu.org/cgit/patch.git/commit/?id=c43eeb22a45171fc5bab28d460f73497fde24602</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>131553</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2012-05-31 03:45:19 +0400</bug_when>
    <thetext>Переправил в bug-patch@gnu.org неделю назад с более простым примером, реакции пока что нет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132324</commentid>
    <comment_count>3</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-07-17 11:35:37 +0400</bug_when>
    <thetext>Если что, в точности воспроизводится на patch-2.6.1-alt6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132518</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2012-08-02 00:25:40 +0400</bug_when>
    <thetext>Апстрим все-таки начал реагировать:
http://lists.gnu.org/archive/html/bug-patch/2012-08/msg00007.html
http://git.savannah.gnu.org/cgit/patch.git/commit/?id=v2.6.1-179-g1209278
Наверное, скоро будет фикс.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132562</commentid>
    <comment_count>5</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-08-03 04:50:10 +0400</bug_when>
    <thetext>patch-2.6.1-alt7 -&gt; sisyphus:

* Fri Aug 03 2012 Dmitry V. Levin &lt;ldv@altlinux&gt; 2.6.1-alt7
- Updated patch to v2.6.1-181-g1e6c0d0 (closes: #27359).
- Built with gnulib v0.0-7557-gee60576.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132564</commentid>
    <comment_count>6</comment_count>
    <who name="Konstantin Pavlov">thresh</who>
    <bug_when>2012-08-03 09:37:16 +0400</bug_when>
    <thetext>Спасибо.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>