Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198937 - dev-libs/klibc-1.5.7-r1 breaks v86d
Summary: dev-libs/klibc-1.5.7-r1 breaks v86d
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Miscellaneous
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-12 15:02 UTC by Dmitry Karasik
Modified: 2008-01-15 09:46 UTC (History)
2 users (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 Dmitry Karasik 2007-11-12 15:02:12 UTC
klibc-1.5.7-r1 tries to build against its own private vanilla copy of the kernel instead of the one in /usr/src which means it does not include the V86D patched headers, which causes v86d build to fail with:

 * You need to compile klibc against a kernel tree patched with uvesafb
 * prior to merging this package.
 *
 * ERROR: sys-apps/v86d-0.1.2 failed.
 * Call stack:
 *           ebuild.sh, line 1717:  Called dyn_setup
 *           ebuild.sh, line  768:  Called qa_call 'pkg_setup'
 *           ebuild.sh, line   44:  Called pkg_setup
 *   v86d-0.1.2.ebuild, line   25:  Called die
 * The specific snippet of code:
 *              die "Kernel not patched with uvesafb."
 *  The die message:
 *   Kernel not patched with uvesafb.
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/v86d-0.1.2/temp/build.log'.
 *
Comment 1 Daniel Drake (RETIRED) gentoo-dev 2007-11-12 18:49:41 UTC
Robin, thanks for all your work on klibc, however I think this bug may have been introduced as a result? (please correct me if I'm wrong, I'm not really up to speed here)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-12 22:55:40 UTC
dsd: Yeah, my changes are responsible for this new bug.
And it's a tough one as well. We need the private copy of the kernel during the build because it won't build against the system one on biarch boxes.

I guess we'll need to patch the private copy - could somebody point me to the relevant uvesafb patches?

I am part of kernel-misc, so you don't need to CC me directly (that's why I fixed klibc in the first place).
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-12 23:16:11 UTC
spock: could you please point me to the patches per comment 2?
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2007-11-12 23:17:04 UTC
uvesafb is in the kernel as of 2.6.24-rc1
here's a patch for 2.6.23: http://dev.gentoo.org/~dsd/genpatches/trunk/2.6.23/4205_uvesafb-0.1-rc3-2.6.23-rc3.patch
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-12 23:45:42 UTC
If it's in 24-rc1, I could just bump straight to there for now? I wanted to use kernel-2 for the private sources originally, but it interfered too much.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2007-11-14 15:48:01 UTC
1.5.7-r2 is in the tree now, please upgrade to it, and you can compile v86d again.
Comment 7 Marcel Partap 2008-01-11 03:32:26 UTC
Hi,
have issues using git-sources-2.6.24-rc7 and a splash initrd...
> And it's a tough one as well. We need the private copy of the kernel during the
> build because it won't build against the system one on biarch boxes.
? but it seems easy to solve, make it compile in /usr/src by default and give it a biarch use flag for building its own copy ?
Comment 8 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-01-15 09:46:54 UTC
mpartap: please open a new bug for your issue. I have no problem with rc7 myself.