Description of problem: Running calendar shows the following cpp error: cpp: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found Version-Release number of selected component (if applicable): calendar-1.26-3.20110531cvs.fc16.x86_64 cpp-4.6.2-1.fc16.x86_64 How reproducible: happens every time (even with an empty calendar file); running cpp -E on a hello_world.c file is fine though Steps to Reproduce: 1. echo "03/04 Testentry" > ~/testcal 2. calendar -f ~/testcal Actual results: cpp: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found compilation terminated. Mar 04 Testentry Expected results: Mar 04 Testentry Additional info:
I am unable to reproduce the issue on my local F-16 system: $ echo "#include <calendar.usholidy>" > testcal $ echo -e "03/22\tTestentry" >> testcal $ calendar -f testcal Mar 22 Testentry $ rpm -q calendar calendar-1.26-3.20110531cvs.fc16.x86_64 $ rpm -q cpp cpp-4.6.2-1.fc16.x86_64
Just one question, do you have gcc installed? $ rpm -qf /usr/libexec/gcc/x86_64-redhat-linux/4.6.2/liblto_plugin.so gcc-4.6.2-1.fc16.x86_64
Yep: [dcantrel@f16 ~]$ rpm -qf /usr/libexec/gcc/x86_64-redhat-linux/4.6.2/liblto_plugin.so gcc-4.6.2-1.fc16.x86_64
Please try to reproduce the bug without having gcc installed (as there is no dependency on gcc when you install calendar).
OK, that did it. Reassigning to gcc. Either cpp shouldn't need liblto_plugin.so or it should depend on the gcc package.
This is a dupe of bug 787345
So dupe it. *** This bug has been marked as a duplicate of bug 787345 ***