From owner-freebsd-emulation@FreeBSD.ORG Thu Feb 24 17:32:48 2005 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86C3316A4CE for ; Thu, 24 Feb 2005 17:32:48 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9437C43D49 for ; Thu, 24 Feb 2005 17:32:47 +0000 (GMT) (envelope-from ph.schulz@gmx.de) Received: (qmail invoked by alias); 24 Feb 2005 17:32:46 -0000 Received: from dsl-084-056-228-227.arcor-ip.net (EHLO [192.168.1.4]) (84.56.228.227) by mail.gmx.net (mp020) with SMTP; 24 Feb 2005 18:32:46 +0100 X-Authenticated: #1954550 Message-ID: <421E1005.5020406@gmx.de> Date: Thu, 24 Feb 2005 18:33:57 +0100 From: Phil Schulz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041217 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: freebsd-emulation@freebsd.org X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: ports@freebsd.org Subject: [patch] upgrading x11-toolkits/linux-gtk2 fails X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Feb 2005 17:32:48 -0000 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.