Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482038 - app-emulation/emul-linux-x86-baselibs - update dev-libs/libxml2
Summary: app-emulation/emul-linux-x86-baselibs - update dev-libs/libxml2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 3 votes (vote)
Assignee: Multilib team
URL:
Whiteboard:
Keywords:
: 483420 (view as bug list)
Depends on: 416723 480404 483632
Blocks: 483276
  Show dependency tree
 
Reported: 2013-08-22 00:11 UTC by Austin English (RETIRED)
Modified: 2013-10-09 01:17 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
multilib ebuild for libxml2 (libxml2-2.9.1-r1.ebuild,6.29 KB, text/plain)
2013-10-01 20:41 UTC, Hristo Venev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English (RETIRED) gentoo-dev 2013-08-22 00:11:38 UTC
libxml2-2.9.0 is stable and installed on my system, but the 32-bit library is still 2.8.0

Causes problems compiling wine after this commit:
http://source.winehq.org/git/wine.git/commitdiff/db79c6bd89345a8e8016b56c3f04995a3d0bb410

since LIBXML2_NEW_BUFFER is defined in the header, but xmlOutputBufferGetContent is not available in the 32-bit library when linking:

../../tools/winegcc/winegcc -m32 -B../../tools/winebuild --sysroot=../.. -fasynchronous-unwind-tables -shared ./msxml3.spec attribute.o bsc.o cdata.o comment.o dispex.o docfrag.o doctype.o domdoc.o domimpl.o element.o entityref.o factory.o httprequest.o main.o mxnamespace.o mxwriter.o node.o nodelist.o nodemap.o parseerror.o pi.o saxreader.o schema.o selection.o stylesheet.o text.o uuid.o xdr.o xmldoc.o xmlelem.o xmlparser.o xmlview.o xslpattern.tab.o xslpattern.yy.o   xmlparser_r.res msxml3_v1_t.res schemas.res version.res    -o msxml3.dll.so  -luuid -lurlmon -lshlwapi -loleaut32 -lole32 -luser32 -ladvapi32  ../../libs/port/libwine_port.a -lxml2   
node.o: In function `get_output_buffer_content':
/home/austin/wine-git/dlls/msxml3/node.c:994: undefined reference to `xmlOutputBufferGetContent'
collect2: error: ld returned 1 exit status
winegcc: gcc failed
make: *** [msxml3.dll.so] Error 2


Reproducible: Always
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-09-01 15:17:04 UTC
We need this for wine-1.7.1
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-09-03 14:37:32 UTC
*** Bug 483420 has been marked as a duplicate of this bug. ***
Comment 3 Dmitri Seletski 2013-09-16 14:32:34 UTC
I can relate to that, I also get this "make install" problem with wine.
Comment 4 Hristo Venev 2013-10-01 20:41:35 UTC
Created attachment 359936 [details]
multilib ebuild for libxml2

Had to disable icu for non-native abis because there is no icu in lib32.
Not done: python support. There is no way to know which versions of python are installed in lib32.
Tested and wine compiles.
--- a/app-emulation/emul-linux-x86-baselibs/files/remove-native
+++ b/app-emulation/emul-linux-x86-baselibs/files/remove-native
@@ -191,3 +191,7 @@
 lib32/libgpm.so.1
 lib32/libgpm.so.1.20.0
 usr/lib32/libgpm.so
+usr/lib32/pkgconfig/libxml-2.0.pc
+usr/lib32/libxml2.so
+usr/lib32/libxml2.so.2
+usr/lib32/python2.7/site-packages/libxml2mod.so
Comment 5 Pacho Ramos gentoo-dev 2013-10-08 20:54:15 UTC
done in last set
Comment 6 Austin English (RETIRED) gentoo-dev 2013-10-08 23:12:52 UTC
(In reply to Pacho Ramos from comment #5)
> done in last set

Would that be emul-linux-x86-baselibs-20130224-r13.ebuild ? Because it still has the issue:

aw25 emul-linux-x86-baselibs # eix app-emulation/emul-linux-x86-baselibs
[I] app-emulation/emul-linux-x86-baselibs
     Available versions:  20121202^s 20130224^s{tbz2} (~)20130224-r13^s{tbz2} {{abi_x86_32 +development}}
     Installed versions:  20130224-r13^s{tbz2}(15:07:08 10/08/13)(development -abi_x86_32)
     Homepage:            http://dev.gentoo.org/~pacho/emul.html
     Description:         Provides precompiled 32bit libraries

aw25 emul-linux-x86-baselibs # equery files app-emulation/emul-linux-x86-baselibs | grep xml
/usr/lib32/libxml2.so
/usr/lib32/libxml2.so.2
/usr/lib32/libxml2.so.2.8.0
/usr/lib32/pkgconfig/libxml-2.0.pc
/usr/lib32/python2.7/site-packages/libxml2mod.so
Comment 7 Danilo Riffo 2013-10-09 00:22:37 UTC
(In reply to austinenglish@gmail.com from comment #6)
> (In reply to Pacho Ramos from comment #5)
> > done in last set
> 
> Would that be emul-linux-x86-baselibs-20130224-r13.ebuild ? Because it still
> has the issue:
> 
> aw25 emul-linux-x86-baselibs # eix app-emulation/emul-linux-x86-baselibs
> [I] app-emulation/emul-linux-x86-baselibs
>      Available versions:  20121202^s 20130224^s{tbz2}
> (~)20130224-r13^s{tbz2} {{abi_x86_32 +development}}
>      Installed versions:  20130224-r13^s{tbz2}(15:07:08
> 10/08/13)(development -abi_x86_32)
>      Homepage:            http://dev.gentoo.org/~pacho/emul.html
>      Description:         Provides precompiled 32bit libraries
> 
> aw25 emul-linux-x86-baselibs # equery files
> app-emulation/emul-linux-x86-baselibs | grep xml
> /usr/lib32/libxml2.so
> /usr/lib32/libxml2.so.2
> /usr/lib32/libxml2.so.2.8.0
> /usr/lib32/pkgconfig/libxml-2.0.pc
> /usr/lib32/python2.7/site-packages/libxml2mod.so

I think it's the 20131008 relesse instead which fixes this.
Comment 8 Austin English (RETIRED) gentoo-dev 2013-10-09 01:17:52 UTC
(In reply to Danilo Riffo from comment #7)
> (In reply to austinenglish@gmail.com from comment #6)
> > (In reply to Pacho Ramos from comment #5)
> > > done in last set
> > 
> > Would that be emul-linux-x86-baselibs-20130224-r13.ebuild ? Because it still
> > has the issue:
> > 
> > aw25 emul-linux-x86-baselibs # eix app-emulation/emul-linux-x86-baselibs
> > [I] app-emulation/emul-linux-x86-baselibs
> >      Available versions:  20121202^s 20130224^s{tbz2}
> > (~)20130224-r13^s{tbz2} {{abi_x86_32 +development}}
> >      Installed versions:  20130224-r13^s{tbz2}(15:07:08
> > 10/08/13)(development -abi_x86_32)
> >      Homepage:            http://dev.gentoo.org/~pacho/emul.html
> >      Description:         Provides precompiled 32bit libraries
> > 
> > aw25 emul-linux-x86-baselibs # equery files
> > app-emulation/emul-linux-x86-baselibs | grep xml
> > /usr/lib32/libxml2.so
> > /usr/lib32/libxml2.so.2
> > /usr/lib32/libxml2.so.2.8.0
> > /usr/lib32/pkgconfig/libxml-2.0.pc
> > /usr/lib32/python2.7/site-packages/libxml2mod.so
> 
> I think it's the 20131008 relesse instead which fixes this.

Yeah, the mirror hadn't synced yet.

Works for me, thanks.