Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216094

Summary: linux-mod.eclass: syntax error at line 409
Product: Gentoo Linux Reporter: JING Cheng <jingcheng01>
Component: EclassesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description JING Cheng 2008-04-03 21:34:54 UTC
When I was upgrading ati-drivers from 8.40.4 to 8.471.3.3, installing failed with error message that /usr/portage/eclass/linux-mod.eclass has syntax error at line 409.

Then I open that file and change it from
 # then we install it
407         if kernel_is ge 2 6                                                              
408             insinto /etc/modprobe.d
409         else
410             insinto /etc/modules.d
411         fi

to

406 # then we install it
407         if kernel_is ge 2 6
408         then                                                                
409             insinto /etc/modprobe.d
410         else
411             insinto /etc/modules.d
412         fi

and then everything goes on well.

Reproducible: Always

Steps to Reproduce:
1. echo "x11-drivers/ati-drivers ~x86" >> /etc/portage/package.keywords;
2. emerge -av ati-drivers


Actual Results:  
The package should be installed successfully.

Expected Results:  
It fails with the error message I mentioned above.
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2008-04-03 21:51:27 UTC
WHY is this assigned to base-system with a component of baselayout? It's an eclass first off and secondly.. at the very top of linux-mod.eclass

# Author(s): John Mylchreest <johnm@gentoo.org>,
#            Stefan Schweizer <genstef@gentoo.org>
# Maintainer: kernel-misc@gentoo.org

We are not a catch all address.

Lastly this issue has been fixed for several hours. Update your tree.
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-03 22:54:21 UTC
dupe 
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2008-04-03 22:54:37 UTC
it is

*** This bug has been marked as a duplicate of bug 216048 ***