Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380189 - net-misc/dhcp-3.1.3_p1 build failed on Kernel 3.0
Summary: net-misc/dhcp-3.1.3_p1 build failed on Kernel 3.0
Status: RESOLVED DUPLICATE of bug 379903
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 07:58 UTC by FrankFang
Modified: 2011-08-28 19:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FrankFang 2011-08-22 07:58:44 UTC
dhcp-3.1.3_p1's configure file not support kernel 3.0, the system detect code is listed as below:

    Linux)
      release=`uname -r`
      minor=`echo $release |sed -e 's/[0-9]*\.\([0-9][0-9]*\)\(\..*\)*$/\1/'`
      major=`echo $release |sed -e 's/\([0-9][0-9]*\)\..*$/\1/'`
    
      case $major in
        1) sysname=linux-1 ;;
        2) case $minor in
             0) sysname=linux-2.0 ;;
             1) sysname=linux-2.1 ;;
             2) sysname=linux-2.2 ;;
             *) sysname=linux-2.2 ;;
           esac;;
      esac;;


The variable major get "3", no case is listed, so sysname is empty
Comment 1 SpanKY gentoo-dev 2011-08-27 04:55:48 UTC
seems to be fixed in dhcp-4.2.2
Comment 2 Stuart Shelton 2011-08-28 12:23:01 UTC
dhcp-4.2.2 doesn't work with chroot environments (Bug 362535) so this should be fixed for anyone needing to downgrade.
Comment 3 SpanKY gentoo-dev 2011-08-28 19:06:08 UTC
do not spam unrelated bugs

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