Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318013 - ERROR: dev-libs/libconfig-1.3.2 failed: emake install failed
Summary: ERROR: dev-libs/libconfig-1.3.2 failed: emake install failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: install-8.4
  Show dependency tree
 
Reported: 2010-05-01 15:50 UTC by Mathew Stahl
Modified: 2010-07-09 00:37 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---
dabbott: Bugday+


Attachments
output trace from the failed libconfig install. (libconfigError.txt,23.94 KB, text/plain)
2010-05-01 15:52 UTC, Mathew Stahl
Details
makefile patch (libconfig-1.3.2-headerconflict.patch,681 bytes, patch)
2010-05-01 15:57 UTC, Ambroz Bizjak
Details | Diff
updated ebuild (libconfig-1.3.2.ebuild,830 bytes, text/plain)
2010-05-01 15:58 UTC, Ambroz Bizjak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathew Stahl 2010-05-01 15:50:50 UTC
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.
Comment 1 Mathew Stahl 2010-05-01 15:52:31 UTC
Created attachment 229901 [details]
output trace from the failed libconfig install.
Comment 2 Ambroz Bizjak 2010-05-01 15:57:21 UTC
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.
Comment 3 Ambroz Bizjak 2010-05-01 15:58:13 UTC
Created attachment 229905 [details]
updated ebuild
Comment 4 Mathew Stahl 2010-05-01 16:19:02 UTC
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.
Comment 5 Nathan 2010-05-17 22:59:21 UTC
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.
> 

Comment 6 Nathan 2010-05-18 15:08:28 UTC
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.
> > 
> 

Comment 7 Mathew Stahl 2010-06-12 01:10:51 UTC
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.
> > > 
> > 
> 
Comment 8 Jaak Ristioja 2010-07-07 17:45:27 UTC
I can confirm the patched ebuild to emerge properly.
Comment 9 Victor Mataré 2010-07-08 23:55:15 UTC
libconfig-1.4.2 seems to work, too. Maybe we can just stabilize that version?
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2010-07-09 00:37:47 UTC
(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.