mini-xml 2.5 has a broken pkg-config file (mxml.pc, in /usr/lib/pkgconfig). When asked for the correct libs to link ('pkg-config mxml --libs'), it returns '@PHTREAD@ -lmxml', which should be '-lpthread -lmxml'. Reproducible: Always Steps to Reproduce: 1. emerge =dev-libs/mini-xml-2.5 2. pkg-config mxml --libs 3. Actual Results: @PHTREAD@ -lmxml Expected Results: -lpthread -lmxml After digging into the problem, it turns out that the mxml.pc.in shipped in the mxml-2.5.tar.gz contains a typo. The "@PHTREAD_LIBS@" in the "Libs: ..." line should be "@PTHREAD_LIBS@". This bug has been fixed in the 2.6 version. So It can be easily fixed by bumping the new version.
(In reply to comment #0) > mini-xml 2.5 has a broken pkg-config file (mxml.pc, in /usr/lib/pkgconfig). > When asked for the correct libs to link ('pkg-config mxml --libs'), it returns > '@PHTREAD@ -lmxml', which should be '-lpthread -lmxml'. > > Reproducible: Always > > Steps to Reproduce: > 1. emerge =dev-libs/mini-xml-2.5 > 2. pkg-config mxml --libs > 3. > > Actual Results: > @PHTREAD@ -lmxml > > Expected Results: > -lpthread -lmxml > > After digging into the problem, it turns out that the mxml.pc.in shipped in the > mxml-2.5.tar.gz contains a typo. The "@PHTREAD_LIBS@" in the "Libs: ..." line > should be "@PTHREAD_LIBS@". This bug has been fixed in the 2.6 version. So It > can be easily fixed by bumping the new version. > I have tried(In reply to comment #0) > mini-xml 2.5 has a broken pkg-config file (mxml.pc, in /usr/lib/pkgconfig). > When asked for the correct libs to link ('pkg-config mxml --libs'), it returns > '@PHTREAD@ -lmxml', which should be '-lpthread -lmxml'. > > Reproducible: Always > > Steps to Reproduce: > 1. emerge =dev-libs/mini-xml-2.5 > 2. pkg-config mxml --libs > 3. > > Actual Results: > @PHTREAD@ -lmxml > > Expected Results: > -lpthread -lmxml > > After digging into the problem, it turns out that the mxml.pc.in shipped in the > mxml-2.5.tar.gz contains a typo. The "@PHTREAD_LIBS@" in the "Libs: ..." line > should be "@PTHREAD_LIBS@". This bug has been fixed in the 2.6 version. So It > can be easily fixed by bumping the new version. > I have tried mini-xml-2.6 using the same ebuild as mini-xml-2.5 and it works well for my own code.
(In reply to comment #1) > I have tried mini-xml-2.6 using the same ebuild as mini-xml-2.5 and it works > well for my own code. Please file a version bump request bug for this.
Fixed in dev-libs/mini-xml-2.6 Thanks for the report!