Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Feb 2005 18:33:57 +0100
From:      Phil Schulz <ph.schulz@gmx.de>
To:        freebsd-emulation@freebsd.org
Cc:        ports@freebsd.org
Subject:   [patch] upgrading x11-toolkits/linux-gtk2 fails
Message-ID:  <421E1005.5020406@gmx.de>

next in thread | raw e-mail | index | archive | help
Hi!

  I am trying to update www/linuxpluginwrapper on my 5-Stable system.

  I cvsup'ed base and ports sometime btw 15:00 and 17:00 UTC today, Feb 
24th, 2005. To update the port I ran

% sudo portupgrade -r www/linuxpluginwrapper

and it fails with

> ===>   Generating temporary packing list
> pango-1.2.1-3.i386.rpm
> /compat/linux/usr/bin/pango-querymodules: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory
> *** Error code 127
> 
> Stop in /usr/ports/x11-toolkits/linux-pango.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/linux-pango.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/linux-gtk2.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/linux-gtk2.
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/linux-realplayer.
> *** Error code 1
> 
> Stop in /usr/ports/multimedia/linux-realplayer.
> *** Error code 1
> 
> Stop in /usr/ports/www/linuxpluginwrapper.
> *** Error code 1
> 
> Stop in /usr/ports/www/linuxpluginwrapper.
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade782.0 make reinstall

When applying the following patch to x11-toolkits/linux-gtk2/Makefile 
everything works (for me).

> --- Makefile.orig       Thu Feb 24 18:22:59 2005
> +++ Makefile    Thu Feb 24 18:23:17 2005
> @@ -33,7 +33,7 @@
>  .for ii in gdk-pixbuf-query-loaders gtk-demo gtk-query-immodules-2.0 testgtk testtext
>         @${BRANDELF} -t Linux ${PREFIX}/usr/bin/${ii}
>  .endfor
> -       @chroot ${PREFIX} /usr/bin/gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
> -       @chroot ${PREFIX} /usr/bin/gdk-pixbuf-query-loaders > ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders
> +       /usr/X11R6/bin/gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
> +       /usr/X11R6/bin/gdk-pixbuf-query-loaders > ${PREFIX}/etc/gtk-2.0/gdk-pixbuf.loaders
> 
>  .include "../linux-gtk/Makefile"

I must admit I haven't searched the archives too long whether the 
problem has been reported before or if it is just me who is having 
issues here.

If this is the correct fix, please let me know if you want me to file a PR.

Regards,

Phil.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421E1005.5020406>