apt-build-wrapper mis-wraps gcc/gpp search dirs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-build (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ran into this problem when trying to build wingpanel-slim (a package that uses cmake) with apt-build.
CMake runs a compiler check (that is exceedingly difficult to bypass) and kept hitting this wall:
gcc: error trying to exec 'cc1': execvp: No such file or directory
This statement is not true; cc1 is definitely installed in the correct place on my system (for gcc 4.8, 4.7, 4.6, and 4.4).
Take a look at this:
/usr/lib/apt-build$ ./c++ --print-search-dirs
install: /usr/lib/
programs: =/usr/lib/
libraries: =/usr/lib/
apt-build-wrapper is one directory off and looking in all the wrong places.
This directory: /usr/lib/
For the time being, I've gotten around this by creating /usr/lib/lib/ and symlinking /usr/lib/gcc/ to /usr/lib/lib/gcc
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apt-build 0.12.42
Uname: Linux 3.9.7-qq-5-paranoia x86_64
NonfreeKernelMo
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Tue Dec 17 02:43:42 2013
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120407)
MarkForUpload: True
SourcePackage: apt-build
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.