Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188769 - Binary packages break if ebuild uses inherit linux-mod and kernel source not installed
Summary: Binary packages break if ebuild uses inherit linux-mod and kernel source not ...
Status: RESOLVED DUPLICATE of bug 154495
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-13 23:43 UTC by Heath Caldwell (RETIRED)
Modified: 2007-08-14 06:36 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 Heath Caldwell (RETIRED) gentoo-dev 2007-08-13 23:43:22 UTC
When trying to install binary packages of ebuilds that inherit linux-mod when the kernel source is not present, the install fails with something like this:

         * Determining the location of the kernel source code
         * Found kernel source directory:
         *     /usr/src/linux
         * Could not find a Makefile in the kernel source directory.
         * Please ensure that /usr/src/linux points to a complete set of Linux sources

        !!! ERROR: net-fs/openafs-1.4.4 failed.
        Call stack:
          ebuild.sh, line 1648:   Called dyn_setup
          ebuild.sh, line 714:   Called qa_call 'pkg_setup'
          ebuild.sh, line 44:   Called pkg_setup
          ebuild.sh, line 1322:   Called linux-mod_pkg_setup
          linux-mod.eclass, line 464:   Called linux-info_pkg_setup
          linux-info.eclass, line 554:   Called die

        !!! Unable to calculate Linux Kernel version
        !!! If you need support, post the topmost build error, and the call stack if relevant.
        !!! A complete build log is located at '/var/log/portage/net-fs:openafs-1.4.4:20070813-231318.log'.

        !!! Setup failed: 1

This seems wrong and unnecessary.  It is desirable to be able to compile these packages elsewhere and install them without needing the kernel source.

Reproducible: Always

Steps to Reproduce:
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-14 06:36:11 UTC

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