Bug 1162848

Summary: libxslt/libXrender is missing dependency on libXxert
Product: Red Hat Enterprise Linux 6 Reporter: Todd <ToddAndMargo>
Component: libXrenderAssignee: Benjamin Tissoires <btissoir>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5   
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-13 17:05:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Todd 2014-11-11 20:44:07 UTC
Dear Red Hat,

I am coming from the community: Scientific Linux 6.5, 64 bit.  Would one of our intrepid heroes please fix this for me?

It about killed my trying to compile Wine-1.7.30 (I conquered).  In the "./configure" phase, Wine threw the following error:

wine-1.7.30]# ./configure --disable-win64
"configure: WARNING: libxslt 3/usr/lib/libXrender.so.12-bit development files not found, xslt won't be supported."

Problem was that libxslt was actually installed:

# rpm -qa \*libxslt\*  | grep -i i686
libxslt-1.1.26-2.el6_3.1.i686
libxslt-devel-1.1.26-2.el6_3.1.i686

The error from Wine is a bogus error.  Wine's "./configure" was missing "libXext", which libXrender has a dependency.  Installing libXext corrected the bogus error.

The bogus error was reported to Wine over on:
https://bugs.winehq.org/show_bug.cgi?id=37534#c8

Their response was:

     Every X11 extension (which libXrender is) depends on libXext, that's
     an X11 dependency, not a Wine one.  

Would you please add libXext as a dependency in libxslt/libXrender's RPM?

If you do the following google search:
https://www.google.com/?gws_rd=ssl#q=configure:+WARNING:+libxslt+3%2Fusr%2Flib%2FlibXrender.so.12-bit+development+files+not+found%2C+xslt+won%27t+be+supported

this haunts a lot of other people, some who never do figure it out.

Many thanks,
-T

Comment 2 Adam Jackson 2014-11-13 17:05:31 UTC
(In reply to Todd from comment #0)

> The error from Wine is a bogus error.  Wine's "./configure" was missing
> "libXext", which libXrender has a dependency.  Installing libXext corrected
> the bogus error.
> 
> The bogus error was reported to Wine over on:
> https://bugs.winehq.org/show_bug.cgi?id=37534#c8
> 
> Their response was:
> 
>      Every X11 extension (which libXrender is) depends on libXext, that's
>      an X11 dependency, not a Wine one.  

But that's not true:

hyoscyamine:~% ldd /usr/lib64/libXrender.so.1   
	linux-vdso.so.1 =>  (0x00007fff813fc000)
	libX11.so.6 => /lib64/libX11.so.6 (0x0000003f22e00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003f20200000)
	libxcb.so.1 => /lib64/libxcb.so.1 (0x0000003f22a00000)
	libdl.so.2 => /lib64/libdl.so.2 (0x0000003f20600000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003f1fe00000)
	libXau.so.6 => /lib64/libXau.so.6 (0x0000003f22600000)

libXrender doesn't link against libXext at all, nor do any of libXrender's header files refer to any of libXext's.

The check for libXext appears to come from wine itself, either in the expansion of AC_PATH_XTRA or from WINE_CHECK_SONAME(Xext, ...) in configure.ac.  The Fedora (and presumably EPEL if it's there) wine spec file explicitly says BuildRequires: libXext-devel to pull it into the buildroot.  It's a shame wine's configure script isn't better about telling you this error, I agree.

> Would you please add libXext as a dependency in libxslt/libXrender's RPM?

Neither libxslt nor libXrender actually depend on libXext, so it would be wrong to add it.

$ sudo yum install libXext-devel

should fix your problem.

Comment 3 Todd 2014-11-13 19:57:00 UTC
Hi Adam,
   
   Thank you!   I will reopen the Wine bug.

-T