Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138116 - splashutils (both versions) fail to configure looking for /lib/cpp
Summary: splashutils (both versions) fail to configure looking for /lib/cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-26 14:43 UTC by Andrew Gaffney (RETIRED)
Modified: 2006-07-12 03:18 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 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-26 14:43:38 UTC
In my livecd-stage2 catalyst build for the x86 install CD, splashutils (both versions) fail to configure because it cannot find /lib/cpp. It cannot find /lib/cpp because it doesn't exist, because the toolchain in the chroot was built with USE=nocxx. The check is in the freetype folder, iirc. AFAIK, splashutils does not need a C++ compiler, so it doesn't make much sense for it to check for one.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-26 15:21:40 UTC
Ok, it's not that /lib/cpp doesn't exists. It's that it's trying to use it to preprocess C++, which it apparently cannot do (because of USE=nocxx).
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2006-06-26 16:09:44 UTC
It looks like adding 'epunt_cxx' to the end of src_unpack() "fixes" this. Although, why is it still building freetype2 internally when freetype-2.1.9 is pulled in as a dep?
Comment 3 Michal Januszewski (RETIRED) gentoo-dev 2006-06-27 02:18:54 UTC
The "external" freetype (ie. the one that is pulled as a dep) is what splash_util/splash_util.static is linked to, whereas the "internal" freetype is built against klibc and is what splash_helper (the kernel helper) is linked to. It has to be done this way since we want to be able to put splash_helper into an initramfs image, where glibc is not available and using klibc is the only realistic option.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2006-07-12 03:18:08 UTC
Fixed in CVS, thanks for the suggestion about 'epunt_cxx'.