CFLAGS="-O2 -march=i686 -pipe" CXXFLAGS="-O2 -march=i686 -pipe" this happens when you try to install dev-libs/libconfig. See attached file for full output. Reproducible: Always Steps to Reproduce: 1.At terminal type: emerge dev-libs/libconfig Actual Results: the install failed as shown in the output above. Expected Results: completed the install successfully. this bug prevent the user from installing other packages such as gparted.
Created attachment 229901 [details] output trace from the failed libconfig install.
Created attachment 229903 [details, diff] makefile patch This patch should fix the bug. The problem seems to be that the header file libconfig.h is specified twice for installation. I cannot test it since I cannot reproduce it.
Created attachment 229905 [details] updated ebuild
I have successfully tested the above proposed batch for dev-libs/libconfig-1.3.2. The proposed patch fixes the install error and allows libconfig to install successfully.
Hi Mathew, I am having this same issue but I am having a problem applying the supplied patches and was curious if you could lend some insight into how you got them to run. Currently I have a portage overlay setup but it's having trouble processing the patch file itself. (In reply to comment #4) > I have successfully tested the above proposed batch for > dev-libs/libconfig-1.3.2. The proposed patch fixes the install error and allows > libconfig to install successfully. >
Please disregard this, copy and pasting from the web browser was causing some issues, a straight download of the patch file made the overlay work fine. Cheers, and thank you for fixing this. (In reply to comment #5) > Hi Mathew, > I am having this same issue but I am having a problem applying the supplied > patches and was curious if you could lend some insight into how you got them to > run. Currently I have a portage overlay setup but it's having trouble > processing the patch file itself. > > (In reply to comment #4) > > I have successfully tested the above proposed batch for > > dev-libs/libconfig-1.3.2. The proposed patch fixes the install error and allows > > libconfig to install successfully. > > >
Hi, Sorry I did not get back to you sooner but, it looks like you figured it out anyway. Glad to here it worked for you. This is actually the first bug I have ever helped fix so it's very exciting to see that it actually helped someone other then myself. Cheers and the thanks should really go to Ambroz, he did the hard part. (In reply to comment #6) > Please disregard this, copy and pasting from the web browser was causing some > issues, a straight download of the patch file made the overlay work fine. > Cheers, and thank you for fixing this. > > (In reply to comment #5) > > Hi Mathew, > > I am having this same issue but I am having a problem applying the supplied > > patches and was curious if you could lend some insight into how you got them to > > run. Currently I have a portage overlay setup but it's having trouble > > processing the patch file itself. > > > > (In reply to comment #4) > > > I have successfully tested the above proposed batch for > > > dev-libs/libconfig-1.3.2. The proposed patch fixes the install error and allows > > > libconfig to install successfully. > > > > > >
I can confirm the patched ebuild to emerge properly.
libconfig-1.4.2 seems to work, too. Maybe we can just stabilize that version?
(In reply to comment #9) > libconfig-1.4.2 seems to work, too. Maybe we can just stabilize that version? The 1.4.2 sources have already been fixed upstream, but wouldn't hit the problem as it is, because we don't run automake in those ebuilds. I just updated both 1.2 and 1.3.2 ebuilds to behave properly as well (by removing duplicate filenames from Makefile.am). So fixed.