equo environment.bz2 and KV_OUT_DIR [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
candybar
Baby Hen
Posts: 3
Joined: Wed Jan 07, 2015 0:42

equo environment.bz2 and KV_OUT_DIR [Solved]

Post by candybar » Wed Feb 11, 2015 3:48

Tried installing docker and I think the ebuild tries to compile a kernel module? At any rate that portion fails:

Code: Select all

*   Kernel not configured; no .config found in /lib/modules/3.17.0-sabayon/build
The package goes on to 'complete' the install. Seeing that I am on kernel 3.18 the error makes sense:

Code: Select all

$ eselect kernel show
Current kernel symlink:
  /usr/src/linux-3.18.0-sabayon
The '/lib/modules/3.17.0-sabayon/build' appears to be defined in the environment.bz2 file at /var/db/pkg/app-emulation/docker-1.4.0/ as KV_OUT_DIR.

I'm completely clueless as to how these environment files are generated. Is there something I can do to update them or are they downloaded by equo? Is this a bug?
Last edited by candybar on Fri Feb 13, 2015 21:48, edited 1 time in total.

User avatar
sabayonino
Sagely Hen
Posts: 3373
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: equo environment.bz2 and KV_OUT_DIR

Post by sabayonino » Wed Feb 11, 2015 12:38

**/build is a symlink pointed to /usr/src/linux

copy your current config to .config in kernel source directory

Code: Select all

# zcat /proc/config.gz > /usr/src/linux/.config

candybar
Baby Hen
Posts: 3
Joined: Wed Jan 07, 2015 0:42

Re: equo environment.bz2 and KV_OUT_DIR

Post by candybar » Fri Feb 13, 2015 0:06

But /usr/src/linux/.config already exists. The problem is that /lib/3.17.0-sabayon/ does not exist since I never had a 3.17 kernel on this machine. Sure I can symlink it on my own but isn't something in the packaging process broken if the environment stuff in /var/db/pkg/ ALL points to a kernel that never existed on my box?

Code: Select all

$ find /var/db/pkg/*/*/ -type d -exec bzgrep -i 3.17.0-sabayon {}/environment.bz2 \;
declare -x KV="3.17.0-sabayon"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"
declare -x KV="3.17.0-sabayon"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"
declare -x KV="3.17.0-sabayon"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"
declare -- KV_FULL="3.17.0-sabayon"
declare -- KV_OUT_DIR="/lib/modules/3.17.0-sabayon/build"

candybar
Baby Hen
Posts: 3
Joined: Wed Jan 07, 2015 0:42

Re: equo environment.bz2 and KV_OUT_DIR

Post by candybar » Fri Feb 13, 2015 17:28

Code: Select all

ln -s /lib/modules/3.18.0-sabayon /lib/modules/3.17.0-sabayon
Allows the package to install normally.

User avatar
sabayonino
Sagely Hen
Posts: 3373
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: equo environment.bz2 and KV_OUT_DIR

Post by sabayonino » Fri Feb 13, 2015 21:24

:oops: aarghh 3.17 vs 3.18 sorry :oops:

you can solve installing 3.17 sources

Code: Select all

# equo i sabayon-sources:3.17

(or as you wrote , linking 3.17 --> 3.18 )

Post Reply