| Summary: | Build issue: glibc 2.16 - tdelibs FTBFS kioslave rpcgen - cannot find any C preprocessor (cpp) | ||
|---|---|---|---|
| Product: | TDE | Reporter: | David C. Rankin <trin> |
| Component: | tdebase | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED NOTOURPROBLEM | ||
| Severity: | blocker | CC: | bugwatch, darrella |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
|
Description
David C. Rankin
2012-07-09 22:49:58 CDT
For the moment I believe this is an Arch packaging problem, although eventually we'll see what other distros might be affected too. :-) When building glibc, the expected locations for the cpp executable are defined in glibc sunrpc/rpc_main: #define SVR4_CPP "/usr/ccs/lib/cpp" #define SUNOS_CPP "/lib/cpp" I looked at the glibc 2.16, 2.15 and 2.11.1 sources and those expected locations have not changed. The cpp executable is installed with the gcc package. With Slackware, cpp is built to install to /usr/bin. In the Slackware package post-install script, a sym link is created from /lib/cpp -> /usr/bin/cpp. Does Arch create such a sym link in /lib/cpp? My guess is something changed in the Arch build script with gcc that no longer creates that sym link or no longer installs cpp to /lib/cpp. I suppose this could be better. That is, the glibc people could add a third define statement. The gcc people could update their make files to install cpp to /lib/cpp rather than /usr/bin/cpp. I don't know why packagers have to adjust for either but that seems to be the case at the moment. In the end, I think the bug might not be our problem. Check with the Arch people who build gcc and find out why cpp is not built to install to /lib/cpp or why a sym link from /lib/cpp -> /usr/bin/cpp is not created in the package. I added "Build issue" to the summary description. It was either Arch or glibc 2.16 upstream, and it was the missing link in the search locations Nix provided. To solve the issue, I simply created a symlink /lib/cpp->/usr/bin/cpp and tdebase built fine. <rant> Just for the next two months, I wish upstream would QUIT DORKING WITH THE DAMN PACKAGES!!! </rant> |