[MacPorts] #16082: kdebase3-3.5.8_0 build fails on Leopard without XQuartz

MacPorts noreply at macports.org
Thu Dec 11 08:42:26 PST 2008


#16082: kdebase3-3.5.8_0 build fails on Leopard without XQuartz
-----------------------------------+----------------------------------------
  Reporter:  scottt4@…             |       Owner:  macports-tickets@…                     
      Type:  defect                |      Status:  closed                                 
  Priority:  Normal                |   Milestone:  Port Bugs                              
 Component:  ports                 |     Version:  1.6.0                                  
Resolution:  wontfix               |    Keywords:  kdebase3-3.5.8-0 libXdamage.1.1.0.dylib
      Port:  kdebase3              |  
-----------------------------------+----------------------------------------
Changes (by jmr@…):

 * cc: jmr@… (added)
  * status:  new => closed
  * resolution:  => wontfix
  * port:  => kdebase3


Old description:

> OS X 10.5.4
>
> X11.app 2.1.1 - (xorg-server 1.3.0-apple5)
>

> My stock installed versions of libXdamage are
>

> {{{
> scott-thompsons-macbook-pro-4:lib scott$ ls -l libXda*
> lrwxr-xr-x  1 root  wheel     18 Feb 21 10:37 libXdamage.1.0.0.dylib ->
> libXdamage.1.dylib
> -rwxr-xr-x  1 root  wheel  88448 Jan 13  2008 libXdamage.1.dylib
> lrwxr-xr-x  1 root  wheel     18 Feb 21 10:37 libXdamage.dylib ->
> libXdamage.1.dylib
> -rwxr-xr-x  1 root  wheel    936 May 10 04:41 libXdamage.la
>
> }}}
>

> I believe that this is looking for the version of libXdamage in XQuartx
> 2.2.0
> (http://xquartz.macosforge.org/trac/wiki/X112.2.0.1)
>

> {{{
>
> 55% linking ./kwin/kompmgr/kompmgr
> /bin/sh ./libtool --mode=link --tag=CC gcc -Os -Os -fPIC -D_GNU_SOURCE
> -DQT_THREAD_SUPPORT -I/opt/local/include/freetype2 -I/opt/local/include
> -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include
> -I/usr/X11R6/include -D_LARGE_FILES=1 -L/opt/local/lib
> -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> -o ./kwin/kompmgr/kompmgr -L/usr/X11/lib -R /usr/X11/lib -lXcomposite
> -lXdamage -lXfixes -lXrender -lX11 -lXext -lm ./kwin/kompmgr/kompmgr.o
> -L/opt/local/lib -L/usr/X11R6/lib
> gcc -Os -Os -fPIC -D_GNU_SOURCE -DQT_THREAD_SUPPORT
> -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-
> precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include
> -I/usr/X11R6/include -D_LARGE_FILES=1 -Wl,-dylib_file
> -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> -o ./kwin/kompmgr/kompmgr ./kwin/kompmgr/kompmgr.o  -L/opt/local/lib
> -L/usr/X11/lib /usr/X11/lib/libXcomposite.1.0.0.dylib
> /usr/X11/lib/libXdamage.1.1.0.dylib /usr/X11/lib/libXfixes.3.1.0.dylib
> /opt/local/lib/libXrender.dylib /usr/X11/lib/libXext.6.4.0.dylib
> /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib
> /usr/X11/lib/libXau.6.0.0.dylib -lm -L/usr/X11R6/lib
> i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.1.0.dylib: No
> such file or directory
> Error creating ./kwin/kompmgr/kompmgr. Exit status 1.
> kdebase3-3.5.8-0 make failed!
>
> }}}

New description:

 OS X 10.5.4

 X11.app 2.1.1 - (xorg-server 1.3.0-apple5)


 My stock installed versions of libXdamage are


 {{{
 scott-thompsons-macbook-pro-4:lib scott$ ls -l libXda*
 lrwxr-xr-x  1 root  wheel     18 Feb 21 10:37 libXdamage.1.0.0.dylib ->
 libXdamage.1.dylib
 -rwxr-xr-x  1 root  wheel  88448 Jan 13  2008 libXdamage.1.dylib
 lrwxr-xr-x  1 root  wheel     18 Feb 21 10:37 libXdamage.dylib ->
 libXdamage.1.dylib
 -rwxr-xr-x  1 root  wheel    936 May 10 04:41 libXdamage.la

 }}}


 I believe that this is looking for the version of libXdamage in XQuartx
 2.2.0
 (http://xquartz.macosforge.org/trac/wiki/X112.2.0.1)


 {{{

 55% linking ./kwin/kompmgr/kompmgr
 /bin/sh ./libtool --mode=link --tag=CC gcc -Os -Os -fPIC -D_GNU_SOURCE
 -DQT_THREAD_SUPPORT -I/opt/local/include/freetype2 -I/opt/local/include
 -fno-common -no-cpp-precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include
 -I/usr/X11R6/include -D_LARGE_FILES=1 -L/opt/local/lib
 -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
 -o ./kwin/kompmgr/kompmgr -L/usr/X11/lib -R /usr/X11/lib -lXcomposite
 -lXdamage -lXfixes -lXrender -lX11 -lXext -lm ./kwin/kompmgr/kompmgr.o
 -L/opt/local/lib -L/usr/X11R6/lib
 gcc -Os -Os -fPIC -D_GNU_SOURCE -DQT_THREAD_SUPPORT
 -I/opt/local/include/freetype2 -I/opt/local/include -fno-common -no-cpp-
 precomp -DMACOSX -DARTS_NO_ALARM -I/opt/local/include -I/usr/X11R6/include
 -D_LARGE_FILES=1 -Wl,-dylib_file
 -Wl,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
 -o ./kwin/kompmgr/kompmgr ./kwin/kompmgr/kompmgr.o  -L/opt/local/lib
 -L/usr/X11/lib /usr/X11/lib/libXcomposite.1.0.0.dylib
 /usr/X11/lib/libXdamage.1.1.0.dylib /usr/X11/lib/libXfixes.3.1.0.dylib
 /opt/local/lib/libXrender.dylib /usr/X11/lib/libXext.6.4.0.dylib
 /usr/X11/lib/libX11.6.2.0.dylib /usr/X11/lib/libXdmcp.6.0.0.dylib
 /usr/X11/lib/libXau.6.0.0.dylib -lm -L/usr/X11R6/lib
 i686-apple-darwin9-gcc-4.0.1: /usr/X11/lib/libXdamage.1.1.0.dylib: No such
 file or directory
 Error creating ./kwin/kompmgr/kompmgr. Exit status 1.
 kdebase3-3.5.8-0 make failed!

 }}}

--

Comment:

 This looks like the same problem as #14592, i.e. some of the .la files in
 a new Leopard install point to the wrong libs, The fix is to either
 install a newer XQuartz, as you discovered, or to delete the .la files in
 /usr/X11/lib.

 Closing since there doesn't seem to be anything we can do about it in the
 port.

-- 
Ticket URL: <http://trac.macports.org/ticket/16082#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list