Hide Forgot
Description of problem: now when I use use mock -r fedora-24-x86_64 for Fedora25 , if I enable ccache VirtualBox ends with: cc1plus: error: to generate dependencies you must specify either -M or -MM cc1: error: to generate dependencies you must specify either -M or -MM googling for: error to generate dependencies you must specify either M or MM How reproducible: mock -r fedora-24-x86_64 --no-clean --rebuild VirtualBox-5.0.26-1.fc25.src.rpm Actual results: cc1plus: error: to generate dependencies you must specify either -M or -MM kmk: *** [/builddir/build/BUILD/VirtualBox-5.0.26/obj/obj/filesplitter/filesplitter.o] Error 1 kmk: *** Waiting for unfinished jobs.... cc1plus: error: to generate dependencies you must specify either -M or -MM kmk: *** [/builddir/build/BUILD/VirtualBox-5.0.26/obj/obj/VBoxCmp/VBoxCmp.o] Error 1 cc1: error: to generate dependencies you must specify either -M or -MM kmk: *** [/builddir/build/BUILD/VirtualBox-5.0.26/obj/obj/biossums/biossums.o] Error 1 cc1: error: to generate dependencies you must specify either -M or -MM kmk: *** [/builddir/build/BUILD/VirtualBox-5.0.26/obj/obj/bin2c/bin2c.o] Error 1 Expected results: like fedora-23-x86_64 ccache is set and compiles without problem Additional info: I will try find what package breaks this compilation , because is strange that is happen just now, but I may never test compile it in F24 before ?!?
(*) googling for: error to generate dependencies you must specify either M or MM found this https://bugs.eclipse.org/bugs/show_bug.cgi?id=330249#c11 but is a bug from 2010 ...
after downgrade to ccache-3.2.7-1.fc24.x86_64.rpm, it works . With ccache-3.2.7-2.fc24.x86_64.rpm doesn't work.
@Sergio, please attach or upload the full build log somewhere for examination. Also, could you test with ccache 3.3 available from F-25 or F-26? I think it should install cleanly on F-24. @Joel, FYI the only difference between 3.2.7-1 and 3.2.7-2 is that the latter has CCACHE_CPP2 turned on by default per bug 1350086.
Created attachment 1198424 [details] /var/lib/mock/fedora-25-x86_64/result/build.log sadly ccache-3.3-1.fc25.x86_64.rpm also have this problem ... mock -r fedora-25-x86_64 --init mock -r fedora-25-x86_64 --install ./ccache-3.3-1.fc25.x86_64.rpm rfpkg srpm && mock -r fedora-25-x86_64 --no-clean --rebuild VirtualBox-5.1.4-2.fc26.src.rpm --without docs --without vnc --without webservice disable ccache mock build and uninstall ccache , builds fine
This works: mock -r fedora-25-x86_64 --install https://kojipkgs.fedoraproject.org//packages/ccache/3.2.7/1.fc25/x86_64/ccache-3.2.7-1.fc25.x86_64.rpm rfpkg srpm && mock -r fedora-25-x86_64 --no-clean --rebuild VirtualBox-5.1.4-2.fc26.src.rpm --without docs --without vnc --without webservice This not worked: mock -r fedora-25-x86_64 --install https://kojipkgs.fedoraproject.org//packages/ccache/3.2.7/2.fc25/x86_64/ccache-3.2.7-2.fc25.x86_64.rpm rfpkg srpm && mock -r fedora-25-x86_64 --no-clean --rebuild VirtualBox-5.1.4-2.fc26.src.rpm --without docs --without vnc --without webservice with ccache-3.2.7-1.fc25 works and ccache-3.2.7-2.fc25 not works
Forwarded upstream with a more generic reproducer: https://github.com/ccache/ccache/issues/129
Should be fixed in ccache 3.2.8 and 3.3.1.
Seems so, thanks!
ccache-3.3.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c522df558
ccache-3.3.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4c522df558
Hello , I hadn't time to test it , but thanks for yours quick response and just add one new information, this happened also with kBuild which is the source of this problem, so we may test it easily with kbuild package . Thanks
ccache-3.3.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.