<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>167839</bug_id>
          
          <creation_ts>2007-02-21 07:27 0000</creation_ts>
          <short_desc>app-laptop/acerhk-0.5.35 failed patch</short_desc>
          <delta_ts>2007-02-21 19:44:58 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>vierlingxavier@gmail.com</reporter>
          <assigned_to>jurek@gentoo.org</assigned_to>
          <cc>mobile@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>vierlingxavier@gmail.com</who>
            <bug_when>2007-02-21 07:27:50 0000</bug_when>
            <thetext>mmhhh... Please look at the emerge error..

* Found sources for kernel version:
 *     2.6.20-gentoo
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking acerhk-0.5.35.tar.bz2 to /var/tmp/portage/app-laptop/acerhk-0.5.35                                
/work
 * Applying kernel-2.6.19-config.h.patch ...

 * Failed Patch: kernel-2.6.19-config.h.patch !
 *  ( /usr/portage/app-laptop/acerhk/files/kernel-2.6.19-config.h.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-laptop/acerhk-0.5.35/temp/kernel-2.6.19-config.h.patch                                
-12776.out


!!! ERROR: app-laptop/acerhk-0.5.35 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call &apos;src_unpack&apos;
  environment, line 3991:   Called src_unpack
  acerhk-0.5.35.ebuild, line 23:   Called epatch &apos;/usr/portage/app-laptop/acerhk                                
/files/kernel-2.6.19-config.h.patch&apos;
  eutils.eclass, line 341:   Called die

!!! Failed Patch: kernel-2.6.19-config.h.patch!
!!! If you need support, post the topmost build error, and the call stack if rel                                
evant.
!!! A complete build log is located at &apos;/var/tmp/portage/app-laptop/acerhk-0.5.3                                
5/temp/build.log&apos;.

I think the ebuild is looking for a 2.6.19 kernel... :/

Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. add acerhk to /etc/portage/package.keywords
3. emerge acerhk

Actual Results:  
The emerge stops with the error described below.

Expected Results:  
Emerge successfully acerhk</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mail.pandor@gmail.com</who>
            <bug_when>2007-02-21 16:06:43 0000</bug_when>
            <thetext>acerhk.c has been changed since 0.5.34 so the patch does not apply to acerhk-0.5.35.
In fact, the patch is no longer needed.
It compiled fine against my 2.6.20 Gentoo kernel.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jurek@gentoo.org</who>
            <bug_when>2007-02-21 19:44:58 0000</bug_when>
            <thetext>Sorry, forgot to remove epatch. Fixed in CVS, thanks.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>